From 21c24b6b68ffa4991bd9a15205adb2eb1a71e862 Mon Sep 17 00:00:00 2001 From: Karl-Heinz Marbaise Date: Sat, 13 Dec 2014 23:47:57 +0100 Subject: [PATCH] Correctly inject MavenProject / MavenSession into nar-maven-plugin Signed-off-by: joewitt --- misc/nar-maven-plugin/src/main/java/nifi/NarMojo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/nar-maven-plugin/src/main/java/nifi/NarMojo.java b/misc/nar-maven-plugin/src/main/java/nifi/NarMojo.java index 263fe8820e..5196f73555 100644 --- a/misc/nar-maven-plugin/src/main/java/nifi/NarMojo.java +++ b/misc/nar-maven-plugin/src/main/java/nifi/NarMojo.java @@ -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; /**