Correctly inject MavenProject / MavenSession into nar-maven-plugin

Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
Karl-Heinz Marbaise 2014-12-13 23:47:57 +01:00 committed by joewitt
parent bc94625142
commit 21c24b6b68
1 changed files with 2 additions and 2 deletions

View File

@ -86,10 +86,10 @@ public class NarMojo extends AbstractMojo {
* POM
*
*/
@Parameter(property = "project", readonly = true, required = true)
@Parameter(defaultValue = "${project}", readonly = true, required = true)
protected MavenProject project;
@Parameter(property = "session", readonly = true, required = true)
@Parameter(defaultValue = "${session}", readonly = true, required = true)
protected MavenSession session;
/**