Skip to content

Commit

Permalink
NIFI-12266 Added Standard Shared NAR and BOM
Browse files Browse the repository at this point in the history
- Added nifi-standard-shared-nar with common dependencies
- Added nifi-standard-shared-bom with provided scope for parent module references
  • Loading branch information
exceptionfactory committed Oct 24, 2023
1 parent 4b95129 commit c7b1522
Show file tree
Hide file tree
Showing 152 changed files with 569 additions and 449 deletions.
5 changes: 5 additions & 0 deletions minifi/minifi-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ limitations under the License.
<artifactId>nifi-standard-services-api-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record-serialization-services-nar</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion minifi/minifi-nar-bundles/minifi-standard-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ limitations under the License.
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ limitations under the License.
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
</dependencies>
Expand Down
6 changes: 6 additions & 0 deletions minifi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,12 @@ limitations under the License.
<version>2.0.0-SNAPSHOT</version>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-shared-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record-serialization-services-nar</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions nifi-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ language governing permissions and limitations under the License. -->
<version>2.0.0-SNAPSHOT</version>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-shared-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ssl-context-service-nar</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions nifi-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@
<version>2.0.0-SNAPSHOT</version>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-shared-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<type>nar</type>
</dependency>

<!-- Selected shared utilities from nifi-commons -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@

<artifactId>nifi-airtable-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand All @@ -38,8 +35,7 @@
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>nifi-airtable-processors</artifactId>

<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand All @@ -33,8 +34,6 @@
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-utils</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
3 changes: 2 additions & 1 deletion nifi-nar-bundles/nifi-airtable-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>nifi-nar-bundles</artifactId>
<artifactId>nifi-standard-shared-bom</artifactId>
<groupId>org.apache.nifi</groupId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
6 changes: 1 addition & 5 deletions nifi-nar-bundles/nifi-avro-bundle/nifi-avro-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

<artifactId>nifi-avro-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
Expand All @@ -37,7 +33,7 @@
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
</dependencies>
Expand Down
3 changes: 2 additions & 1 deletion nifi-nar-bundles/nifi-avro-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>nifi-standard-shared-bom</artifactId>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
</parent>

<artifactId>nifi-avro-bundle</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.9.2</version>
</dependency>
<!-- Version 2 of the AmazonS3EncryptionClient requires bouncy castle -->
<dependency>
Expand Down
4 changes: 0 additions & 4 deletions nifi-nar-bundles/nifi-aws-bundle/nifi-aws-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

<artifactId>nifi-aws-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
Expand Down
4 changes: 4 additions & 0 deletions nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-textract</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>localstack</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,11 @@

<artifactId>nifi-aws-service-api-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion nifi-nar-bundles/nifi-aws-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>nifi-standard-shared-bom</artifactId>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
</parent>

<artifactId>nifi-aws-bundle</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions nifi-nar-bundles/nifi-azure-bundle/nifi-azure-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

<artifactId>nifi-azure-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-api</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down Expand Up @@ -59,8 +58,6 @@
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mock</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,10 @@
<artifactId>nifi-azure-services-api-nar</artifactId>
<packaging>nar</packaging>

<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion nifi-nar-bundles/nifi-azure-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>nifi-standard-shared-bom</artifactId>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
</parent>

<artifactId>nifi-azure-bundle</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions nifi-nar-bundles/nifi-box-bundle/nifi-box-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

<artifactId>nifi-box-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,11 @@

<artifactId>nifi-box-services-api-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>false</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-api</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion nifi-nar-bundles/nifi-box-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>nifi-standard-shared-bom</artifactId>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
</parent>

<artifactId>nifi-box-bundle</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

<artifactId>nifi-cassandra-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencyManagement>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion nifi-nar-bundles/nifi-cassandra-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>nifi-standard-shared-bom</artifactId>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
</parent>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion nifi-nar-bundles/nifi-cdc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>nifi-standard-shared-bom</artifactId>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
</parent>
<artifactId>nifi-cdc</artifactId>
<packaging>pom</packaging>
Expand Down
7 changes: 1 addition & 6 deletions nifi-nar-bundles/nifi-cipher-bundle/nifi-cipher-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

<artifactId>nifi-cipher-nar</artifactId>
<packaging>nar</packaging>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<source.skip>true</source.skip>
</properties>

<dependencies>
<dependency>
Expand All @@ -37,8 +33,7 @@
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-standard-services-api-nar</artifactId>
<version>2.0.0-SNAPSHOT</version>
<artifactId>nifi-standard-shared-nar</artifactId>
<type>nar</type>
</dependency>
</dependencies>
Expand Down
Loading

0 comments on commit c7b1522

Please sign in to comment.