You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2014/12/16 17:22:10 UTC

[15/27] incubator-nifi git commit: Correctly inject MavenProject / MavenSession into nar-maven-plugin

Correctly inject MavenProject / MavenSession into nar-maven-plugin

Signed-off-by: joewitt <jo...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/21c24b6b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/21c24b6b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/21c24b6b

Branch: refs/heads/nifi-27
Commit: 21c24b6b68ffa4991bd9a15205adb2eb1a71e862
Parents: bc94625
Author: Karl-Heinz Marbaise <in...@soebes.de>
Authored: Sat Dec 13 23:47:57 2014 +0100
Committer: joewitt <jo...@apache.org>
Committed: Sat Dec 13 20:46:44 2014 -0500

----------------------------------------------------------------------
 misc/nar-maven-plugin/src/main/java/nifi/NarMojo.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/21c24b6b/misc/nar-maven-plugin/src/main/java/nifi/NarMojo.java
----------------------------------------------------------------------
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 263fe88..5196f73 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;
 
     /**