From bc636f2e081e64f1df988d1a5bbc546188018344 Mon Sep 17 00:00:00 2001 From: Tony Kurc Date: Fri, 6 Nov 2015 20:57:51 -0500 Subject: [PATCH] NIFI-976 antrun that copies in the project version to the archetype metadata Signed-off-by: Bryan Bende --- .../nifi-processor-bundle-archetype/pom.xml | 27 ++++++++++++++++++- .../META-INF/maven/archetype-metadata.xml | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/nifi-maven-archetypes/nifi-processor-bundle-archetype/pom.xml b/nifi-maven-archetypes/nifi-processor-bundle-archetype/pom.xml index 05a925719d..a3b3cf7893 100644 --- a/nifi-maven-archetypes/nifi-processor-bundle-archetype/pom.xml +++ b/nifi-maven-archetypes/nifi-processor-bundle-archetype/pom.xml @@ -32,9 +32,34 @@ 2.2 - + + + org.apache.maven.plugins + maven-antrun-plugin + + + prepare-package + + + + + + + + + run + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.7 + org.apache.maven.plugins maven-archetype-plugin diff --git a/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 3dc2ba8a0b..9dc9a0cb89 100644 --- a/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -17,7 +17,7 @@ - 0.2.1-SNAPSHOT + NIFIVERSION ${groupId}.processors.${artifactBaseName}