You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ch...@apache.org on 2023/01/20 12:59:48 UTC

[nifi] branch main updated: NIFI-10992 - Option to build all include-x profiles

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

chriss 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 2b8475a6f8 NIFI-10992 - Option to build all include-x profiles
2b8475a6f8 is described below

commit 2b8475a6f8ae66c7e901cf995cb93c4ab884e39d
Author: Pierre Villard <pi...@gmail.com>
AuthorDate: Mon Dec 19 19:02:13 2022 +0100

    NIFI-10992 - Option to build all include-x profiles
    
    Signed-off-by: Chris Sampson <ch...@gmail.com>
    
    This closes #6797
---
 nifi-assembly/pom.xml                              | 51 ++++++++++++++++++++++
 .../src/main/asciidoc/administration-guide.adoc    |  6 +++
 2 files changed, 57 insertions(+)

diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml
index 38b42fe3a6..38f0d08b60 100644
--- a/nifi-assembly/pom.xml
+++ b/nifi-assembly/pom.xml
@@ -983,6 +983,9 @@ language governing permissions and limitations under the License. -->
             <id>include-graph</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1018,6 +1021,9 @@ language governing permissions and limitations under the License. -->
             or in Centos6 due to requiring a newer version of GLIBC. -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1035,6 +1041,9 @@ language governing permissions and limitations under the License. -->
             larger (60+ MB). -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1049,6 +1058,9 @@ language governing permissions and limitations under the License. -->
             <id>include-hive</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1072,6 +1084,9 @@ language governing permissions and limitations under the License. -->
             larger (150+ MB). -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1095,6 +1110,9 @@ language governing permissions and limitations under the License. -->
             larger (275+ MB). -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1117,6 +1135,9 @@ language governing permissions and limitations under the License. -->
                 through multiple processors. It is not included with the convenience binary due to its size. -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1132,6 +1153,9 @@ language governing permissions and limitations under the License. -->
             <!-- This profile handles includes of rules related artifacts. -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1153,6 +1177,9 @@ language governing permissions and limitations under the License. -->
             <!-- This profile handles the inclusion of nifi-sql-reporting artifacts. -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1202,6 +1229,9 @@ language governing permissions and limitations under the License. -->
             <!-- This profile handles the inclusion of nifi-accumulo artifacts. -->
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1422,6 +1452,9 @@ language governing permissions and limitations under the License. -->
             <id>include-ranger</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <build>
                 <plugins>
@@ -1470,6 +1503,9 @@ language governing permissions and limitations under the License. -->
             <id>include-asn1</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1484,6 +1520,9 @@ language governing permissions and limitations under the License. -->
             <id>include-snowflake</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1571,6 +1610,9 @@ language governing permissions and limitations under the License. -->
             <id>include-iceberg</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
+                <property>
+                    <name>allProfiles</name>
+                </property>
             </activation>
             <dependencies>
                 <dependency>
@@ -1593,5 +1635,14 @@ language governing permissions and limitations under the License. -->
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>include-all</id>
+            <properties>
+              <allProfiles>true</allProfiles>
+            </properties>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+        </profile>
     </profiles>
 </project>
diff --git a/nifi-docs/src/main/asciidoc/administration-guide.adoc b/nifi-docs/src/main/asciidoc/administration-guide.adoc
index 007a432d95..2fd8ad4a93 100644
--- a/nifi-docs/src/main/asciidoc/administration-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/administration-guide.adoc
@@ -88,6 +88,12 @@ The next step is to download a copy of the Apache NiFi source code from the http
 
 `mvn clean install -Pinclude-grpc,include-graph,include-media`
 
+There is also a specific profile allowing you to build NiFi with all of the additional bundles that are not included by default:
+
+`mvn clean install -Pinclude-all`
+
+This will include bundles such as gRPC, Atlas, Hive, Hive 1_1, Hive 3, Media, Rules, SQL Reporting, Accumulo, Ranger, ASN1, Snowflake, Iceberg, etc.
+
 == Port Configuration
 
 === NiFi