Repository: incubator-nifi Updated Branches: refs/heads/develop bc9462514 -> 9ccbf8be7
Correctly inject MavenProject / MavenSession into nar-maven-plugin Signed-off-by: joewitt <joew...@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/develop Commit: 21c24b6b68ffa4991bd9a15205adb2eb1a71e862 Parents: bc94625 Author: Karl-Heinz Marbaise <i...@soebes.de> Authored: Sat Dec 13 23:47:57 2014 +0100 Committer: joewitt <joew...@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; /**