[ https://jira.codehaus.org/browse/MANT-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351214#comment-351214 ]
Karl-Heinz Marbaise edited comment on MANT-76 at 10/5/14 8:28 AM: ------------------------------------------------------------------ Fixed in [r1616885|http://svn.apache.org/r1616885]. Fixed in [r1629492|http://svn.apache.org/r1629492]. was (Author: khmarbaise): Fixed in [r1616885|http://svn.apache.org/r1616885]. > MavenProject/MavenSession Injection as a paremeter instead as a component. > -------------------------------------------------------------------------- > > Key: MANT-76 > URL: https://jira.codehaus.org/browse/MANT-76 > Project: Maven Ant Plugin > Issue Type: Task > Affects Versions: 2.3 > Reporter: Karl-Heinz Marbaise > Assignee: Karl-Heinz Marbaise > Priority: Minor > Fix For: 2.4 > > > 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)