You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl-Heinz Marbaise (JIRA)" <ji...@codehaus.org> on 2014/08/08 22:07:10 UTC

[jira] (MENFORCER-201) MavenProject Injection as a paremeter instead as a component.

Karl-Heinz Marbaise created MENFORCER-201:
---------------------------------------------

             Summary: MavenProject Injection as a paremeter instead as a component.
                 Key: MENFORCER-201
                 URL: https://jira.codehaus.org/browse/MENFORCER-201
             Project: Maven Enforcer Plugin
          Issue Type: Improvement
    Affects Versions: 1.4
            Reporter: Karl-Heinz Marbaise
            Priority: Minor


The following:
{code:java}
@Component
protected MavenProject project;
{code}
has to be replaced by the following:
{code:java}
@Parameter( defaultValue = "${project}", readonly = true, required = true )
protected MavenProject project;
{code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)