You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mt...@apache.org on 2024/02/24 18:13:59 UTC

(nifi) branch support/nifi-1.x updated: NIFI-12839: Explicitly set nifiVersion for processor bundle archetype dependencies

This is an automated email from the ASF dual-hosted git repository.

mthomsen pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new ee00fc2d04 NIFI-12839: Explicitly set nifiVersion for processor bundle archetype dependencies
ee00fc2d04 is described below

commit ee00fc2d04eef148b37fecf901b20814429d06da
Author: Matt Burgess <ma...@apache.org>
AuthorDate: Fri Feb 23 14:31:24 2024 -0500

    NIFI-12839: Explicitly set nifiVersion for processor bundle archetype dependencies
    
    This closes #8447
    
    Signed-off-by: Mike Thomsen <mt...@apache.org>
---
 .../archetype-resources/nifi-__artifactBaseName__-nar/pom.xml       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-nar/pom.xml b/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-nar/pom.xml
index c5c63998fe..517778e2b2 100644
--- a/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-nar/pom.xml
+++ b/nifi-maven-archetypes/nifi-processor-bundle-archetype/src/main/resources/archetype-resources/nifi-__artifactBaseName__-nar/pom.xml
@@ -32,6 +32,12 @@
             <artifactId>nifi-${artifactBaseName}-processors</artifactId>
             <version>${version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.nifi</groupId>
+            <artifactId>nifi-standard-services-api-nar</artifactId>
+            <version>${nifiVersion}</version>
+            <type>nar</type>
+        </dependency>
     </dependencies>
 
 </project>