You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2022/08/16 12:31:38 UTC

[nifi] branch main updated: NIFI-10340 Corrected Registry assembly extension builds with tar.gz

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

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 3231058488 NIFI-10340 Corrected Registry assembly extension builds with tar.gz
3231058488 is described below

commit 32310584887626b5f8ed73129e8ca0bc9f25c03e
Author: Zoltan Kornel Torok <zt...@cloudera.com>
AuthorDate: Wed Aug 10 16:06:50 2022 +0200

    NIFI-10340 Corrected Registry assembly extension builds with tar.gz
    
    This closes #6289
    
    Signed-off-by: David Handermann <ex...@apache.org>
---
 nifi-registry/nifi-registry-assembly/pom.xml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/nifi-registry/nifi-registry-assembly/pom.xml b/nifi-registry/nifi-registry-assembly/pom.xml
index 2ec7dbd928..922059671a 100644
--- a/nifi-registry/nifi-registry-assembly/pom.xml
+++ b/nifi-registry/nifi-registry-assembly/pom.xml
@@ -190,6 +190,7 @@
         <nifi.registry.registry.alias.configuration.file>./conf/registry-aliases.xml</nifi.registry.registry.alias.configuration.file>
 
         <!-- nifi-registry.properties: extension properties -->
+        <nifi.registry.extension.archive.type>zip</nifi.registry.extension.archive.type>
         <nifi.registry.extensions.working.directory>./work/extensions</nifi.registry.extensions.working.directory>
         <nifi.registry.extension.dir.aws />
 
@@ -395,7 +396,7 @@
                     <version>1.18.0-SNAPSHOT</version>
                     <classifier>bin</classifier>
                     <scope>runtime</scope>
-                    <type>zip</type>
+                    <type>${nifi.registry.extension.archive.type}</type>
                 </dependency>
             </dependencies>
             <build>
@@ -438,7 +439,7 @@
                     <version>1.18.0-SNAPSHOT</version>
                     <classifier>bin</classifier>
                     <scope>runtime</scope>
-                    <type>zip</type>
+                    <type>${nifi.registry.extension.archive.type}</type>
                 </dependency>
             </dependencies>
             <build>
@@ -469,6 +470,9 @@
             <activation>
                 <activeByDefault>false</activeByDefault>
             </activation>
+            <properties>
+                <nifi.registry.extension.archive.type>tar.gz</nifi.registry.extension.archive.type>
+            </properties>
             <build>
                 <plugins>
                     <plugin>
@@ -540,4 +544,4 @@
             </build>
         </profile>
     </profiles>
-</project>
\ No newline at end of file
+</project>