Karl-Heinz Marbaise created MASSEMBLY-706:
---------------------------------------------
Summary: MavenProject/MavenSession Injection as a paremeter
instead as a component.
Key: MASSEMBLY-706
URL: https://jira.codehaus.org/browse/MASSEMBLY-706
Project: Maven Assembly Plugin
Issue Type: Improvement
Affects Versions: 2.4.1
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}
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)