NIFI-10992 - Option to build all include-x profiles

Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>

This closes #6797
This commit is contained in:
Pierre Villard 2022-12-19 19:02:13 +01:00 committed by Chris Sampson
parent 7db6f17350
commit 2b8475a6f8
2 changed files with 57 additions and 0 deletions

View File

@ -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>

View File

@ -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