From 52101181e8ab6083fc8201c4f97d0683229899dc Mon Sep 17 00:00:00 2001 From: Bryan Bende Date: Mon, 9 Nov 2015 13:40:24 -0500 Subject: [PATCH] NIFI-976 antrun that copies in the project version to the archetype metadata for controller service archetype --- .../nifi-service-bundle-archetype/pom.xml | 22 ++++++++++++++++++- .../META-INF/maven/archetype-metadata.xml | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/nifi-maven-archetypes/nifi-service-bundle-archetype/pom.xml b/nifi-maven-archetypes/nifi-service-bundle-archetype/pom.xml index b7540cb59f..4b03ba8876 100644 --- a/nifi-maven-archetypes/nifi-service-bundle-archetype/pom.xml +++ b/nifi-maven-archetypes/nifi-service-bundle-archetype/pom.xml @@ -32,7 +32,27 @@ 2.2 - + + + org.apache.maven.plugins + maven-antrun-plugin + + + prepare-package + + + + + + + + + run + + + + + diff --git a/nifi-maven-archetypes/nifi-service-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/nifi-maven-archetypes/nifi-service-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 5ed0b1ddfc..43f105ebcc 100644 --- a/nifi-maven-archetypes/nifi-service-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/nifi-maven-archetypes/nifi-service-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -17,7 +17,7 @@ - 0.3.0-SNAPSHOT + NIFIVERSION ${groupId}.${artifactBaseName}