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] (MEJB-68) MavenProject/MavenSession Injection as a paremeter instead as a component.
Date Fri, 08 Aug 2014 20:25:10 GMT

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

Karl-Heinz Marbaise reassigned MEJB-68:
---------------------------------------

    Assignee: Karl-Heinz Marbaise

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

Mime
View raw message