You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2020/07/17 09:38:52 UTC

[nifi] branch main updated: NIFI-7582 Added profile builds for kafka 0.9 and 0.10 so they can be removed from the convenience binary.

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

pvillard 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 b8d5133  NIFI-7582 Added profile builds for kafka 0.9 and 0.10 so they can be removed from the convenience binary.
b8d5133 is described below

commit b8d51333d593fe2decade72079b805006dbdfb6a
Author: Mike Thomsen <mt...@apache.org>
AuthorDate: Thu Jun 25 10:22:16 2020 -0400

    NIFI-7582 Added profile builds for kafka 0.9 and 0.10 so they can be removed from the convenience binary.
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
    
    This closes #4364.
---
 nifi-assembly/pom.xml | 40 ++++++++++++++++++++++++++++------------
 1 file changed, 28 insertions(+), 12 deletions(-)

diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml
index 4912c86..c5645c4 100644
--- a/nifi-assembly/pom.xml
+++ b/nifi-assembly/pom.xml
@@ -195,18 +195,6 @@ language governing permissions and limitations under the License. -->
         </dependency>
         <dependency>
             <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-kafka-0-9-nar</artifactId>
-            <version>1.12.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-kafka-0-10-nar</artifactId>
-            <version>1.12.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
             <artifactId>nifi-kafka-0-11-nar</artifactId>
             <version>1.12.0-SNAPSHOT</version>
             <type>nar</type>
@@ -769,6 +757,34 @@ language governing permissions and limitations under the License. -->
     </dependencies>
     <profiles>
         <profile>
+            <id>include-kafka-0.9</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.nifi</groupId>
+                    <artifactId>nifi-kafka-0-9-nar</artifactId>
+                    <version>1.12.0-SNAPSHOT</version>
+                    <type>nar</type>
+                </dependency>
+            </dependencies>
+        </profile>
+        <profile>
+            <id>include-kafka-0.10</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.nifi</groupId>
+                    <artifactId>nifi-kafka-0-10-nar</artifactId>
+                    <version>1.12.0-SNAPSHOT</version>
+                    <type>nar</type>
+                </dependency>
+            </dependencies>
+        </profile>
+        <profile>
             <id>include-graph</id>
             <activation>
                 <activeByDefault>false</activeByDefault>