[ 
https://jira.codehaus.org/browse/MANTRUN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl-Heinz Marbaise closed MANTRUN-188.
---------------------------------------

    Resolution: Fixed
      Assignee: Karl-Heinz Marbaise

Fixed in [r1616893|http://svn.apache.org/r1616893].

> MavenProject/MavenSession Injection as a paremeter instead as a component.
> --------------------------------------------------------------------------
>
>                 Key: MANTRUN-188
>                 URL: https://jira.codehaus.org/browse/MANTRUN-188
>             Project: Maven Antrun Plugin
>          Issue Type: Task
>    Affects Versions: 1.7
>            Reporter: Karl-Heinz Marbaise
>            Assignee: Karl-Heinz Marbaise
>            Priority: Minor
>             Fix For: 1.8
>
>
> 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}
> The following:
> {code:java}
> @Component
> protected MavenSession session;
> {code}
> has to be replaced by the following:
> {code:java}
> @Parameter( defaultValue = "${session}", readonly = true, required = true )
> protected MavenSession session;
> {code}



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

Reply via email to