Added appropriate Maven configuration to build the nar-maven-plugin with Maven 3.X instead of Maven 3.2.X
Signed-off-by: joewitt <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/9ccbf8be Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/9ccbf8be Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/9ccbf8be Branch: refs/heads/develop Commit: 9ccbf8be7bb4385c39905911a659b59fb6b34994 Parents: 21c24b6 Author: Karl-Heinz Marbaise <[email protected]> Authored: Sat Dec 13 22:58:01 2014 +0100 Committer: joewitt <[email protected]> Committed: Sat Dec 13 20:50:53 2014 -0500 ---------------------------------------------------------------------- misc/nar-maven-plugin/pom.xml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/9ccbf8be/misc/nar-maven-plugin/pom.xml ---------------------------------------------------------------------- diff --git a/misc/nar-maven-plugin/pom.xml b/misc/nar-maven-plugin/pom.xml index 3888df3..5c7ca7f 100644 --- a/misc/nar-maven-plugin/pom.xml +++ b/misc/nar-maven-plugin/pom.xml @@ -42,7 +42,23 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.3</version> - </plugin> + <executions> + <execution> + <id>default-descriptor</id> + <goals> + <goal>descriptor</goal> + </goals> + <phase>process-classes</phase> + </execution> + <execution> + <id>help-descriptor</id> + <goals> + <goal>helpmojo</goal> + </goals> + <phase>process-classes</phase> + </execution> + </executions> + </plugin> </plugins> </build> <dependencies> @@ -68,7 +84,8 @@ <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.3</version> - </dependency> + <scope>provided</scope> + </dependency> </dependencies> <distributionManagement> <repository>
