maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl-Heinz Marbaise (JIRA)" <j...@codehaus.org>
Subject [jira] (MSHADE-177) MavenProject/MavenSession Injection as a paremeter instead as a component.
Date Thu, 14 Aug 2014 17:28:10 GMT

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

Karl-Heinz Marbaise closed MSHADE-177.
--------------------------------------

    Resolution: Fixed
      Assignee: Karl-Heinz Marbaise

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

> MavenProject/MavenSession Injection as a paremeter instead as a component.
> --------------------------------------------------------------------------
>
>                 Key: MSHADE-177
>                 URL: https://jira.codehaus.org/browse/MSHADE-177
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>            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)

Mime
View raw message