nifi/pom.xml

1129 lines
53 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyright ownership. The ASF licenses this file to
You under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<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>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>33</version>
<relativePath />
</parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi</artifactId>
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<description>Apache NiFi is an easy to use, powerful, and reliable system to process and distribute data.</description>
<modules>
<module>nifi-commons</module>
<module>nifi-bom</module>
<module>nifi-frontend</module>
<module>nifi-framework-bundle</module>
<module>nifi-framework-api</module>
<module>nifi-server-api</module>
<module>nifi-bootstrap</module>
<module>nifi-code-coverage</module>
<module>nifi-mock</module>
<module>nifi-extension-bundles</module>
<module>nifi-extension-bom</module>
<module>nifi-assembly</module>
<module>nifi-docs</module>
<module>nifi-maven-archetypes</module>
<module>nifi-docker</module>
<module>nifi-system-tests</module>
<module>minifi</module>
<module>nifi-stateless</module>
<module>nifi-registry</module>
<module>nifi-toolkit</module>
<module>nifi-manifest</module>
<module>c2</module>
</modules>
<url>https://nifi.apache.org</url>
<organization>
<name>Apache NiFi Project</name>
<url>https://nifi.apache.org/</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<mailingLists>
<mailingList>
<name>Dev</name>
<subscribe>dev-subscribe@nifi.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@nifi.apache.org</unsubscribe>
<post>dev@nifi.apache.org</post>
<archive>https://mail-archives.apache.org/mod_mbox/nifi-dev</archive>
</mailingList>
<mailingList>
<name>Users</name>
<subscribe>users-subscribe@nifi.apache.org</subscribe>
<unsubscribe>users-unsubscribe@nifi.apache.org</unsubscribe>
<post>users@nifi.apache.org</post>
<archive>https://mail-archives.apache.org/mod_mbox/nifi-users</archive>
</mailingList>
<mailingList>
<name>Commits</name>
<subscribe>commits-subscribe@nifi.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@nifi.apache.org</unsubscribe>
<post>commits@nifi.apache.org</post>
<archive>https://mail-archives.apache.org/mod_mbox/nifi-commits</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:git://git.apache.org/nifi.git</connection>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/nifi.git</developerConnection>
<url>https://git-wip-us.apache.org/repos/asf?p=nifi.git</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>JIRA</system>
<url>https://issues.apache.org/jira/browse/NIFI</url>
</issueManagement>
<properties>
<maven.compiler.release>21</maven.compiler.release>
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
<!-- Set minimum Java version for maven-enforcer-plugin from parent POM -->
<minimalJavaBuildVersion>21</minimalJavaBuildVersion>
<maven.surefire.arguments />
<!-- Disable maven-site-plugin from parent POM -->
<maven.site.skip>true</maven.site.skip>
<docker.jdk.image.name>bellsoft/liberica-openjdk-debian</docker.jdk.image.name>
<docker.jre.image.name>bellsoft/liberica-openjre-debian</docker.jre.image.name>
<docker.image.tag>21</docker.image.tag>
<node.version>v22.1.0</node.version>
<frontend.mvn.plugin.version>1.15.1</frontend.mvn.plugin.version>
<nifi.nar.maven.plugin.version>2.1.0</nifi.nar.maven.plugin.version>
<nifi-api.version>2.0.0</nifi-api.version>
<project.build.outputTimestamp>1706227889</project.build.outputTimestamp>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<inceptionYear>2014</inceptionYear>
<com.amazonaws.version>1.12.777</com.amazonaws.version>
<software.amazon.awssdk.version>2.29.1</software.amazon.awssdk.version>
<gson.version>2.11.0</gson.version>
<io.fabric8.kubernetes.client.version>6.13.4</io.fabric8.kubernetes.client.version>
<kotlin.version>2.0.21</kotlin.version>
<okhttp.version>4.12.0</okhttp.version>
<okio.version>3.9.1</okio.version>
<org.apache.commons.cli.version>1.9.0</org.apache.commons.cli.version>
<org.apache.commons.codec.version>1.17.1</org.apache.commons.codec.version>
<org.apache.commons.compress.version>1.27.1</org.apache.commons.compress.version>
<com.github.luben.zstd-jni.version>1.5.6-7</com.github.luben.zstd-jni.version>
<org.apache.commons.configuration.version>2.11.0</org.apache.commons.configuration.version>
<org.apache.commons.lang3.version>3.17.0</org.apache.commons.lang3.version>
<org.apache.commons.net.version>3.11.1</org.apache.commons.net.version>
<org.apache.commons.io.version>2.17.0</org.apache.commons.io.version>
<org.apache.commons.text.version>1.12.0</org.apache.commons.text.version>
<org.apache.httpcomponents.httpclient.version>4.5.14</org.apache.httpcomponents.httpclient.version>
<org.apache.httpcomponents.httpcore.version>4.4.16</org.apache.httpcomponents.httpcore.version>
<org.bouncycastle.version>1.78.1</org.bouncycastle.version>
<testcontainers.version>1.20.3</testcontainers.version>
<org.slf4j.version>2.0.16</org.slf4j.version>
<com.jayway.jsonpath.version>2.9.0</com.jayway.jsonpath.version>
<derby.version>10.17.1.0</derby.version>
<jetty.version>12.0.14</jetty.version>
<jackson.bom.version>2.18.0</jackson.bom.version>
<avro.version>1.11.4</avro.version>
<jaxb.runtime.version>4.0.5</jaxb.runtime.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<jakarta.xml.bind-api.version>4.0.2</jakarta.xml.bind-api.version>
NIFI-11703 Upgraded to Spring Framework 6 and Jetty 12 - Upgraded Spring Framework from 5.3.31 to 6.0.15 - Upgraded Spring Security from 5.8.7 to 6.2.0 - Upgraded Spring Vault from 2.3.4 to 3.1.0 - Upgraded Jetty from 10.0.18 to 12.0.5 with EE 10 - Upgraded Jersey from 2.41 to 3.1.4 - Upgraded JAXB from 2.3.9 to 4.0.4 - Upgraded AspectJ from 1.9.20.1 to 1.9.21 - Upgraded JMS API from 2.0.1 to 3.1.0 - Upgraded ActiveMQ Broker from 5.18.2 to 6.0.1 for JMS 3 - Upgraded JJWT from 0.9.1 to 0.12.3 - Replaced jackson-module-jaxb-annotations with jackson-module-jakarta-xmlbind-annotations - Replaced maven-jaxb2-plugin with hisrc-higherjaxb40-maven-plugin 2.1.1 - Replaced kongchen swagger-maven-plugin with swagger-codegen-maven-plugin from Swagger 3 - Replaced com.nickwongdev AspectJ Plugin with Codehaus 1.14.0 for newer Java versions - Removed unused cglib-nodep - Removed references to javax.validation - Removed custom Jetty ALPN Processor not required for Java 21 - Removed several tests depending on older Jetty and Jakarta libraries - Removed unnecessary webdefault.xml configurations - Replaced unsupported cross-context servlet forwarding with HTTP forwarding - Replaced javax.servlet references with jakarta.servlet - Replaced javax.xml.bind references with jakarta.xml.bind - Replaced javax.ws references with jakarata.ws - Updated Spring Security CSRF implementation for Spring Security 6 - Updated web.xml versions to 6.0 - Updated REST API templates using new swagger-codegen variables - Removed VALIDATE_DATA property from ParseCEF based on library compatibility issue with javax.validation - Added application URL logging to NiFi JettyServer Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8197.
2023-12-29 22:11:47 -05:00
<jakarta.ws.rs-api.version>3.1.0</jakarta.ws.rs-api.version>
<json.smart.version>2.5.1</json.smart.version>
<groovy.version>4.0.23</groovy.version>
<surefire.version>3.5.1</surefire.version>
<hadoop.version>3.4.1</hadoop.version>
<ozone.version>1.2.1</ozone.version>
<gcs.version>2.1.5</gcs.version>
<aspectj.version>1.9.22.1</aspectj.version>
<jersey.bom.version>3.1.9</jersey.bom.version>
<log4j2.version>2.24.1</log4j2.version>
<logback.version>1.5.12</logback.version>
<mockito.version>5.14.2</mockito.version>
<netty.3.version>3.10.6.Final</netty.3.version>
<snakeyaml.version>2.3</snakeyaml.version>
<netty.4.version>4.1.114.Final</netty.4.version>
<servlet-api.version>6.1.0</servlet-api.version>
<spring.version>6.1.14</spring.version>
<spring.security.version>6.3.4</spring.security.version>
<swagger.annotations.version>2.2.25</swagger.annotations.version>
<h2.version>2.3.232</h2.version>
<zookeeper.version>3.9.3</zookeeper.version>
<caffeine.version>3.1.8</caffeine.version>
<hapi.version>2.5.1</hapi.version>
<commons.dbcp2.version>2.12.0</commons.dbcp2.version>
<prometheus.version>0.16.0</prometheus.version>
<velocity-engine-core.version>2.4.1</velocity-engine-core.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-api</artifactId>
<version>${nifi-api.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-bom</artifactId>
<version>${jetty.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.ee10</groupId>
<artifactId>jetty-ee10-bom</artifactId>
<version>${jetty.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>${org.bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>${org.bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpg-jdk18on</artifactId>
<version>${org.bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcutil-jdk18on</artifactId>
<version>${org.bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcmail-jdk18on</artifactId>
<version>${org.bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>${avro.version}</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-ipc</artifactId>
<version>${avro.version}</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-mapred</artifactId>
<version>${avro.version}</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>${org.apache.commons.cli.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${org.apache.commons.codec.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${org.apache.commons.compress.version}</version>
</dependency>
<dependency>
<groupId>com.github.luben</groupId>
<artifactId>zstd-jni</artifactId>
<version>${com.github.luben.zstd-jni.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
<version>${org.apache.commons.configuration.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${org.apache.commons.io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${org.apache.commons.lang3.version}</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${org.apache.commons.net.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>${org.apache.commons.text.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${org.apache.httpcomponents.httpclient.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>${org.apache.httpcomponents.httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>fluent-hc</artifactId>
<version>${org.apache.httpcomponents.httpclient.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.11.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-bom</artifactId>
<version>${org.slf4j.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-bom</artifactId>
<version>${mockito.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.version}</version>
NIFI-5254 Upgraded Groovy to version 2.5.4 Updated pom files regarding groovy dependencies. groovy-all was changed to a pom type dependency Added Groovy Bintray as a plugin repository in root pom Upgraded spock-core to version 1.3-groovy-2.5 and added exclusion of groovy dependencies to force spock to use the version from dependencyManagement Updated groovy-eclipse-batch to use the groovy.version property to determine the version Updated groovy-eclipse-compiler to 3.4.0-01 Updated maven-compiler-plugin to use maven.compiler.source and maven.compiler.target properties for source and target configuration properties Removed configuration and dependencies sections from nifi-toolkit-admin and nifi-toolkit-encrypt-config maven-compiler-plugin configurations so that the configuration from the root pom's maven-compiler-plugin is inherited Removed dependencyManagement from nifi-jetty module, version of groovy modules will be inherited from root pom Removed maven-compiler-plugin configuration from nifi-toolkit-api so that the configuration from the root pom's maven-compiler-plugin is inherited Updated spock-core dependencyManagement to 1.3-groovy-2.5 Fixed AESSensitivePropertyProviderTest issue with Groovy creating KEY_256_HEX slice of the wrong size due to BigDecimal being used as the result of the division; using intdiv to force an integer result creates the correctly sized array Added groovy-json test dependency to nifi-web-security Removed maven-compiler-plugin configuration from nifi-lookup-services, nifi-mock-record-utils, and nifi-web-utils so that the configuration from the root pom's maven-compiler-plugin is inherited Updated root pom pluginManagement to specify version 3.8.0 of maven-compiler-plugin Added maven-compiler-plugin config to nifi-toolkit-admin and nifi-toolkit-encrypt-config to use groovy-eclipse-compiler during the compile phase so that the groovy-based tools are compiled Addressed deprecated CliBuilder and OptionAccessor usage in nifi-toolkit-encrypt-config, those classes were moved from groovy.util to groovy.cli.commons Removed getInner() usage from nifi-toolkit-encrypt-config, method no longer exists causing the tests to crash Updated CryptographicHashAttributeTest to use java.time classes instead of java.util.Date Updated nifi root POM's groovy-test dependency to be test-scoped Added properties for specifying groovy versions for several modules: nifi, nifi-groovyx-bundle, nifi-scripting-bundle, nifi-toolkit Established dependency management for groovy-all:pom:2.5.4, and added that dependency to several modules: nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-admin, nifi-toolkit-encrypt-config Added groovy version property usage to several modules that established a dependency on a groovy submodule that was not listed in its own or inherited dependency management Removed unused build-helper-maven-plugin from nifi-toolkit-api's POM Removed unnecessary groovy-eclipse-compiler build plugin config from nifi-web-utils' POM to use the inherited config for that plugin Updated several modules' NOTICEs to include appropriate Groovy NOTICE content Updated to list groovy-all:pom:2.5.4 and its transitive submodule dependencies to nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, and nifi-toolkit-assembly NOTICEs Added missing groovy-all:jar:2.1.6 NOTICE to nifi-hive-nar and nifi-hive_1_1-nar NOTICEs Added missing groovy-all:jar:2.4.11 NOTICE to nifi-hive3-nar NOTICE Updated to list groovy-all:jar:2.4.16 nifi-other-graph-services-nar NOTICE Removed Groovy NOTICE content from nifi-record-serialization-services-nar NOTICE, no Groovy modules are included in the NAR NIFI-5254 Updated several modules' NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with Groovy modules which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-hive-nar, nifi-hive3-nar, nifi-hive_1_1-nar, nifi-other-graph-services-nar, nifi-scripting-nar, nifi-toolkit-assembly NIFI-5254 Updated NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with modules used by Groovy 2.5.4 which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-assembly. The following modules' LICENSE and NOTICE content were added: Apache Ant, Apache Commons CLI, JLine, JUnit Platform/Jupiter This closes #3547 Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2019-06-24 14:35:21 -04:00
<type>pom</type>
<exclusions>
<exclusion>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-test</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-test-junit5</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junit</artifactId>
</exclusion>
</exclusions>
NIFI-5254 Upgraded Groovy to version 2.5.4 Updated pom files regarding groovy dependencies. groovy-all was changed to a pom type dependency Added Groovy Bintray as a plugin repository in root pom Upgraded spock-core to version 1.3-groovy-2.5 and added exclusion of groovy dependencies to force spock to use the version from dependencyManagement Updated groovy-eclipse-batch to use the groovy.version property to determine the version Updated groovy-eclipse-compiler to 3.4.0-01 Updated maven-compiler-plugin to use maven.compiler.source and maven.compiler.target properties for source and target configuration properties Removed configuration and dependencies sections from nifi-toolkit-admin and nifi-toolkit-encrypt-config maven-compiler-plugin configurations so that the configuration from the root pom's maven-compiler-plugin is inherited Removed dependencyManagement from nifi-jetty module, version of groovy modules will be inherited from root pom Removed maven-compiler-plugin configuration from nifi-toolkit-api so that the configuration from the root pom's maven-compiler-plugin is inherited Updated spock-core dependencyManagement to 1.3-groovy-2.5 Fixed AESSensitivePropertyProviderTest issue with Groovy creating KEY_256_HEX slice of the wrong size due to BigDecimal being used as the result of the division; using intdiv to force an integer result creates the correctly sized array Added groovy-json test dependency to nifi-web-security Removed maven-compiler-plugin configuration from nifi-lookup-services, nifi-mock-record-utils, and nifi-web-utils so that the configuration from the root pom's maven-compiler-plugin is inherited Updated root pom pluginManagement to specify version 3.8.0 of maven-compiler-plugin Added maven-compiler-plugin config to nifi-toolkit-admin and nifi-toolkit-encrypt-config to use groovy-eclipse-compiler during the compile phase so that the groovy-based tools are compiled Addressed deprecated CliBuilder and OptionAccessor usage in nifi-toolkit-encrypt-config, those classes were moved from groovy.util to groovy.cli.commons Removed getInner() usage from nifi-toolkit-encrypt-config, method no longer exists causing the tests to crash Updated CryptographicHashAttributeTest to use java.time classes instead of java.util.Date Updated nifi root POM's groovy-test dependency to be test-scoped Added properties for specifying groovy versions for several modules: nifi, nifi-groovyx-bundle, nifi-scripting-bundle, nifi-toolkit Established dependency management for groovy-all:pom:2.5.4, and added that dependency to several modules: nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-admin, nifi-toolkit-encrypt-config Added groovy version property usage to several modules that established a dependency on a groovy submodule that was not listed in its own or inherited dependency management Removed unused build-helper-maven-plugin from nifi-toolkit-api's POM Removed unnecessary groovy-eclipse-compiler build plugin config from nifi-web-utils' POM to use the inherited config for that plugin Updated several modules' NOTICEs to include appropriate Groovy NOTICE content Updated to list groovy-all:pom:2.5.4 and its transitive submodule dependencies to nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, and nifi-toolkit-assembly NOTICEs Added missing groovy-all:jar:2.1.6 NOTICE to nifi-hive-nar and nifi-hive_1_1-nar NOTICEs Added missing groovy-all:jar:2.4.11 NOTICE to nifi-hive3-nar NOTICE Updated to list groovy-all:jar:2.4.16 nifi-other-graph-services-nar NOTICE Removed Groovy NOTICE content from nifi-record-serialization-services-nar NOTICE, no Groovy modules are included in the NAR NIFI-5254 Updated several modules' NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with Groovy modules which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-hive-nar, nifi-hive3-nar, nifi-hive_1_1-nar, nifi-other-graph-services-nar, nifi-scripting-nar, nifi-toolkit-assembly NIFI-5254 Updated NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with modules used by Groovy 2.5.4 which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-assembly. The following modules' LICENSE and NOTICE content were added: Apache Ant, Apache Commons CLI, JLine, JUnit Platform/Jupiter This closes #3547 Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2019-06-24 14:35:21 -04:00
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>${testcontainers.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
NIFI-11703 Upgraded to Spring Framework 6 and Jetty 12 - Upgraded Spring Framework from 5.3.31 to 6.0.15 - Upgraded Spring Security from 5.8.7 to 6.2.0 - Upgraded Spring Vault from 2.3.4 to 3.1.0 - Upgraded Jetty from 10.0.18 to 12.0.5 with EE 10 - Upgraded Jersey from 2.41 to 3.1.4 - Upgraded JAXB from 2.3.9 to 4.0.4 - Upgraded AspectJ from 1.9.20.1 to 1.9.21 - Upgraded JMS API from 2.0.1 to 3.1.0 - Upgraded ActiveMQ Broker from 5.18.2 to 6.0.1 for JMS 3 - Upgraded JJWT from 0.9.1 to 0.12.3 - Replaced jackson-module-jaxb-annotations with jackson-module-jakarta-xmlbind-annotations - Replaced maven-jaxb2-plugin with hisrc-higherjaxb40-maven-plugin 2.1.1 - Replaced kongchen swagger-maven-plugin with swagger-codegen-maven-plugin from Swagger 3 - Replaced com.nickwongdev AspectJ Plugin with Codehaus 1.14.0 for newer Java versions - Removed unused cglib-nodep - Removed references to javax.validation - Removed custom Jetty ALPN Processor not required for Java 21 - Removed several tests depending on older Jetty and Jakarta libraries - Removed unnecessary webdefault.xml configurations - Replaced unsupported cross-context servlet forwarding with HTTP forwarding - Replaced javax.servlet references with jakarta.servlet - Replaced javax.xml.bind references with jakarta.xml.bind - Replaced javax.ws references with jakarata.ws - Updated Spring Security CSRF implementation for Spring Security 6 - Updated web.xml versions to 6.0 - Updated REST API templates using new swagger-codegen variables - Removed VALIDATE_DATA property from ParseCEF based on library compatibility issue with javax.validation - Added application URL logging to NiFi JettyServer Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8197.
2023-12-29 22:11:47 -05:00
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>${jakarta.ws.rs-api.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger.annotations.version}</version>
NIFI-10975 Add Kubernetes Leader Election and State Provider (#6779) * NIFI-10975 Added Kubernetes Leader Election and State Provider - Added Kubernetes Leader Election Manager based on Kubernetes Leases - Added Kubernetes State Provider based on Kubernetes ConfigMaps - Added nifi-kubernetes-client for generalized access to Fabric8 Kubernetes Client - Added nifi.cluster.leader.election.implementation Property defaulting to CuratorLeaderElectionManager - Refactored LeaderElectionManager to nifi-framework-api for Extension Discovering Manager - Refactored shared ZooKeeper configuration to nifi-framework-cluster-zookeeper * NIFI-10975 Updated Kubernetes Client and StateMap - Upgraded Kubernetes Client from 6.2.0 to 6.3.0 - Added getStateVersion to StateMap and deprecated getVersion - Updated Docker start.sh with additional properties * NIFI-10975 Corrected MockStateManager.assertStateSet() * NIFI-10975 Upgraded Kubernetes Client from 6.3.0 to 6.3.1 * NIFI-10975 Corrected unregister leader and disabled release on cancel * NIFI-10975 Corrected findLeader handling of Lease expiration - Changed LeaderElectionManager.getLeader() return to Optional String * NIFI-10975 Corrected StandardNiFiServiceFacade handling of Optional Leader * NIFI-10975 Changed getLeader() to call findLeader() to avoid stale cached values * NIFI-10975 Updated LeaderElectionCommand to run LeaderElector in loop * NIFI-10975 Rebased on project version 2.0.0-SNAPSHOT * NIFI-10975 Corrected Gson and AspectJ versions - Updated versions to match current main branch and avoid reverting
2023-03-07 14:14:24 -05:00
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client-bom</artifactId>
<type>pom</type>
<scope>import</scope>
NIFI-10975 Add Kubernetes Leader Election and State Provider (#6779) * NIFI-10975 Added Kubernetes Leader Election and State Provider - Added Kubernetes Leader Election Manager based on Kubernetes Leases - Added Kubernetes State Provider based on Kubernetes ConfigMaps - Added nifi-kubernetes-client for generalized access to Fabric8 Kubernetes Client - Added nifi.cluster.leader.election.implementation Property defaulting to CuratorLeaderElectionManager - Refactored LeaderElectionManager to nifi-framework-api for Extension Discovering Manager - Refactored shared ZooKeeper configuration to nifi-framework-cluster-zookeeper * NIFI-10975 Updated Kubernetes Client and StateMap - Upgraded Kubernetes Client from 6.2.0 to 6.3.0 - Added getStateVersion to StateMap and deprecated getVersion - Updated Docker start.sh with additional properties * NIFI-10975 Corrected MockStateManager.assertStateSet() * NIFI-10975 Upgraded Kubernetes Client from 6.3.0 to 6.3.1 * NIFI-10975 Corrected unregister leader and disabled release on cancel * NIFI-10975 Corrected findLeader handling of Lease expiration - Changed LeaderElectionManager.getLeader() return to Optional String * NIFI-10975 Corrected StandardNiFiServiceFacade handling of Optional Leader * NIFI-10975 Changed getLeader() to call findLeader() to avoid stale cached values * NIFI-10975 Updated LeaderElectionCommand to run LeaderElector in loop * NIFI-10975 Rebased on project version 2.0.0-SNAPSHOT * NIFI-10975 Corrected Gson and AspectJ versions - Updated versions to match current main branch and avoid reverting
2023-03-07 14:14:24 -05:00
<version>${io.fabric8.kubernetes.client.version}</version>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_bom</artifactId>
<type>pom</type>
<scope>import</scope>
<version>${prometheus.version}</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>${snakeyaml.version}</version>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>${com.jayway.jsonpath.version}</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>${com.amazonaws.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-core</artifactId>
<version>${com.amazonaws.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bundle</artifactId>
<version>${com.amazonaws.version}</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>${software.amazon.awssdk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${jackson.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Set snappy-java version for compatibility across multiple Java versions -->
<dependency>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<version>1.1.10.7</version>
</dependency>
<!-- Override Log4j 2 libraries for transitive dependencies -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-bom</artifactId>
<version>${log4j2.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-bom</artifactId>
<version>${netty.4.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>${spring.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-bom</artifactId>
<version>${spring.security.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp-bom</artifactId>
<version>${okhttp.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>${okio.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio-fakefilesystem</artifactId>
<version>${okio.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-bom</artifactId>
<version>${kotlin.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
<version>${jersey.bom.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${jakarta.xml.bind-api.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${jaxb.runtime.version}</version>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.18.1</version>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>${caffeine.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>${commons.dbcp2.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper-jute</artifactId>
<version>${zookeeper.version}</version>
</dependency>
<!-- Override velocity-engine-core 2.3 for framework and Hadoop dependencies -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>${velocity-engine-core.version}</version>
</dependency>
<!-- Managed JUnit 4 version for transitive dependencies such as OkHttp MockWebServer -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<version>1.11.3</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!--
Top level dependencies beyond test scope should be avoided
-->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
NIFI-5254 Upgraded Groovy to version 2.5.4 Updated pom files regarding groovy dependencies. groovy-all was changed to a pom type dependency Added Groovy Bintray as a plugin repository in root pom Upgraded spock-core to version 1.3-groovy-2.5 and added exclusion of groovy dependencies to force spock to use the version from dependencyManagement Updated groovy-eclipse-batch to use the groovy.version property to determine the version Updated groovy-eclipse-compiler to 3.4.0-01 Updated maven-compiler-plugin to use maven.compiler.source and maven.compiler.target properties for source and target configuration properties Removed configuration and dependencies sections from nifi-toolkit-admin and nifi-toolkit-encrypt-config maven-compiler-plugin configurations so that the configuration from the root pom's maven-compiler-plugin is inherited Removed dependencyManagement from nifi-jetty module, version of groovy modules will be inherited from root pom Removed maven-compiler-plugin configuration from nifi-toolkit-api so that the configuration from the root pom's maven-compiler-plugin is inherited Updated spock-core dependencyManagement to 1.3-groovy-2.5 Fixed AESSensitivePropertyProviderTest issue with Groovy creating KEY_256_HEX slice of the wrong size due to BigDecimal being used as the result of the division; using intdiv to force an integer result creates the correctly sized array Added groovy-json test dependency to nifi-web-security Removed maven-compiler-plugin configuration from nifi-lookup-services, nifi-mock-record-utils, and nifi-web-utils so that the configuration from the root pom's maven-compiler-plugin is inherited Updated root pom pluginManagement to specify version 3.8.0 of maven-compiler-plugin Added maven-compiler-plugin config to nifi-toolkit-admin and nifi-toolkit-encrypt-config to use groovy-eclipse-compiler during the compile phase so that the groovy-based tools are compiled Addressed deprecated CliBuilder and OptionAccessor usage in nifi-toolkit-encrypt-config, those classes were moved from groovy.util to groovy.cli.commons Removed getInner() usage from nifi-toolkit-encrypt-config, method no longer exists causing the tests to crash Updated CryptographicHashAttributeTest to use java.time classes instead of java.util.Date Updated nifi root POM's groovy-test dependency to be test-scoped Added properties for specifying groovy versions for several modules: nifi, nifi-groovyx-bundle, nifi-scripting-bundle, nifi-toolkit Established dependency management for groovy-all:pom:2.5.4, and added that dependency to several modules: nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-admin, nifi-toolkit-encrypt-config Added groovy version property usage to several modules that established a dependency on a groovy submodule that was not listed in its own or inherited dependency management Removed unused build-helper-maven-plugin from nifi-toolkit-api's POM Removed unnecessary groovy-eclipse-compiler build plugin config from nifi-web-utils' POM to use the inherited config for that plugin Updated several modules' NOTICEs to include appropriate Groovy NOTICE content Updated to list groovy-all:pom:2.5.4 and its transitive submodule dependencies to nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, and nifi-toolkit-assembly NOTICEs Added missing groovy-all:jar:2.1.6 NOTICE to nifi-hive-nar and nifi-hive_1_1-nar NOTICEs Added missing groovy-all:jar:2.4.11 NOTICE to nifi-hive3-nar NOTICE Updated to list groovy-all:jar:2.4.16 nifi-other-graph-services-nar NOTICE Removed Groovy NOTICE content from nifi-record-serialization-services-nar NOTICE, no Groovy modules are included in the NAR NIFI-5254 Updated several modules' NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with Groovy modules which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-hive-nar, nifi-hive3-nar, nifi-hive_1_1-nar, nifi-other-graph-services-nar, nifi-scripting-nar, nifi-toolkit-assembly NIFI-5254 Updated NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with modules used by Groovy 2.5.4 which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-assembly. The following modules' LICENSE and NOTICE content were added: Apache Ant, Apache Commons CLI, JLine, JUnit Platform/Jupiter This closes #3547 Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2019-06-24 14:35:21 -04:00
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<fork>true</fork>
<showDeprecation>${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings>true</showWarnings>
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
<includes>
<include>**/*Test.class</include>
<include>**/Test*.class</include>
<include>**/*Spec.class</include>
</includes>
<excludes>
<exclude>**/*ITSpec.class</exclude>
</excludes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<noGeneratedHeaderComments>true</noGeneratedHeaderComments>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
<quiet>true</quiet>
<show>private</show>
<encoding>UTF-8</encoding>
<quiet>true</quiet>
<javadocVersion>1.8</javadocVersion>
<additionalJOption>-J-Xmx512m</additionalJOption>
<doclint>none</doclint>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<useReleaseProfile>true</useReleaseProfile>
<releaseProfiles>apache-release</releaseProfiles>
<autoVersionSubmodules>true</autoVersionSubmodules>
<goals>deploy</goals>
<!--suppress UnresolvedMavenProperty -->
<tagNameFormat>@{project.artifactId}-@{project.version}</tagNameFormat>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
</configuration>
<executions>
<execution>
<id>default</id>
<goals>
<goal>perform</goal>
</goals>
<configuration>
<pomFileName>pom.xml</pomFileName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.43.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.2.1</version>
</plugin>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr3-maven-plugin</artifactId>
<version>3.5.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.5.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.18.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
NIFI-13144 improved depependency update config and various dependencies com.puppycrawl.tools:checkstyle 10.15.0 -> 10.16.0 software.amazon.awssdk:xray 2.25.40 -> 2.25.45 com.amazonaws:aws-java-sdk-keyspaces 1.12.710 -> 1.12.715 com.azure:azure-sdk-bom 1.2.21 -> 1.2.23 com.google.cloud:libraries-bom 26.37.0 -> 26.38.0 net.bytebuddy:byte-buddy 1.14.12 -> 1.14.14 org.checkerframework:checker-qual 3.37.0 -> 3.43.0 org.eclipse.jdt:ecj 3.33.0 -> 3.37.0 com.microsoft.azure:msal4j 1.14.3 -> 1.15.0 com.google.guava:guava 33.1.0-jre -> 33.2.0-jre com.ibm.icu:icu4j 74.2 -> 75.1 org.opensaml:opensaml-* 4.3.1 -> 4.3.2 org.apache.sshd:sshd-* 2.12.0 -> 2.12.1 com.nimbusds:oauth2-oidc-sdk 9.43.3 -> 9.43.4 excel-streaming-reader 4.2.1 -> 4.3.1 amqp-client 5.20.0 5.21.0 json-schema-validator 1.3.2 1.4.0 Saxon-HE 12.3 12.4 lucene 8.11.2 8.11.3 commons-compiler 3.1.10 3.1.12 dropbox.client.version 5.4.4 5.4.6 subethasmtp 7.0.1 7.0.2 docker-java-api 3.3.4 3.3.6 google-api-services-drive v3-rev20230520-2.0.0 v3-rev20240327-2.0.0 protobuf-java 3.25.1 3.25.3 hazelcast 5.3.5 5.3.7 jackson-datatype-protobuf 0.9.14 0.9.15 kusto-* 5.0.3 5.0.5 mysql-connector-j 8.3.0 8.4.0 docker-compose-junit-jupiter 2.0.0 2.3.0 bolt-socket-mode 1.37.0 1.39.0 wire-schema-jvm 4.9.3 4.9.9 mysql-binlog-connector-java 0.29.0 0.29.2 jjwt 0.12.3 0.12.5 reactor-core 3.4.34 3.4.37 reactor-test 3.5.14 3.5.16 jakarta.activation-api 2.0.1 (and 2.1.2) to 2.1.3 jakarta.mail-api 2.0.1 (and 2.1.2) to 2.1.3 datafaker 2.0.2 to 2.2.2 jna and jna-platform 5.13.0 5.14.0 activemq-* 6.1.1 6.1.2 camel-salesforce 3.14.9 3.14.10 commons-csv 1.10.0 1.11.0 hbase.version 2.5.5-hadoop3 2.5.8-hadoop3 httpasyncclient 4.1.4 4.1.5 httpcore-nio 4.4.12 4.4.16 iotdb 1.3.0 1.3.1 mina-core 2.1.6 2.1.8 gremlin-* 3.7.1 3.7.2 clojure 1.11.2 1.11.3 angus-mail 2.0.2 2.0.3 jgit* 6.8.0.202311291450-r 6.9.0.202403050737-r javaassist 3.29.2-GA 3.30.2-GA jline 3.25.1 3.26.1 mariadb-java-client 3.3.0 3.3.3 mongodb-driver-sync 4.11.1 4.11.2 neo4j-java-driver 4.4.12 4.4.16 postgresql 4.7.2 4.7.3 spring-data-redis 2.7.15 2.7.18 spring-integration-mail 6.2.1 6.2.4 spring-vault-core 3.1.0 3.1.1 xmlunit-core 2.9.1 2.10.0 xmlunit-matchers 2.9.1 2.10.0 amazon-kinesis-client 2.5.7 2.5.8 reactor-netty-http 1.0.39 1.0.44 ant 1.10.13 1.10.14 hamcrest-core and hamcrest-all 1.3 moved to just hamcrest 2.2 This closes #8746 Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>
2024-05-04 12:29:50 -04:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.17.1</version>
NIFI-13144 improved depependency update config and various dependencies com.puppycrawl.tools:checkstyle 10.15.0 -> 10.16.0 software.amazon.awssdk:xray 2.25.40 -> 2.25.45 com.amazonaws:aws-java-sdk-keyspaces 1.12.710 -> 1.12.715 com.azure:azure-sdk-bom 1.2.21 -> 1.2.23 com.google.cloud:libraries-bom 26.37.0 -> 26.38.0 net.bytebuddy:byte-buddy 1.14.12 -> 1.14.14 org.checkerframework:checker-qual 3.37.0 -> 3.43.0 org.eclipse.jdt:ecj 3.33.0 -> 3.37.0 com.microsoft.azure:msal4j 1.14.3 -> 1.15.0 com.google.guava:guava 33.1.0-jre -> 33.2.0-jre com.ibm.icu:icu4j 74.2 -> 75.1 org.opensaml:opensaml-* 4.3.1 -> 4.3.2 org.apache.sshd:sshd-* 2.12.0 -> 2.12.1 com.nimbusds:oauth2-oidc-sdk 9.43.3 -> 9.43.4 excel-streaming-reader 4.2.1 -> 4.3.1 amqp-client 5.20.0 5.21.0 json-schema-validator 1.3.2 1.4.0 Saxon-HE 12.3 12.4 lucene 8.11.2 8.11.3 commons-compiler 3.1.10 3.1.12 dropbox.client.version 5.4.4 5.4.6 subethasmtp 7.0.1 7.0.2 docker-java-api 3.3.4 3.3.6 google-api-services-drive v3-rev20230520-2.0.0 v3-rev20240327-2.0.0 protobuf-java 3.25.1 3.25.3 hazelcast 5.3.5 5.3.7 jackson-datatype-protobuf 0.9.14 0.9.15 kusto-* 5.0.3 5.0.5 mysql-connector-j 8.3.0 8.4.0 docker-compose-junit-jupiter 2.0.0 2.3.0 bolt-socket-mode 1.37.0 1.39.0 wire-schema-jvm 4.9.3 4.9.9 mysql-binlog-connector-java 0.29.0 0.29.2 jjwt 0.12.3 0.12.5 reactor-core 3.4.34 3.4.37 reactor-test 3.5.14 3.5.16 jakarta.activation-api 2.0.1 (and 2.1.2) to 2.1.3 jakarta.mail-api 2.0.1 (and 2.1.2) to 2.1.3 datafaker 2.0.2 to 2.2.2 jna and jna-platform 5.13.0 5.14.0 activemq-* 6.1.1 6.1.2 camel-salesforce 3.14.9 3.14.10 commons-csv 1.10.0 1.11.0 hbase.version 2.5.5-hadoop3 2.5.8-hadoop3 httpasyncclient 4.1.4 4.1.5 httpcore-nio 4.4.12 4.4.16 iotdb 1.3.0 1.3.1 mina-core 2.1.6 2.1.8 gremlin-* 3.7.1 3.7.2 clojure 1.11.2 1.11.3 angus-mail 2.0.2 2.0.3 jgit* 6.8.0.202311291450-r 6.9.0.202403050737-r javaassist 3.29.2-GA 3.30.2-GA jline 3.25.1 3.26.1 mariadb-java-client 3.3.0 3.3.3 mongodb-driver-sync 4.11.1 4.11.2 neo4j-java-driver 4.4.12 4.4.16 postgresql 4.7.2 4.7.3 spring-data-redis 2.7.15 2.7.18 spring-integration-mail 6.2.1 6.2.4 spring-vault-core 3.1.0 3.1.1 xmlunit-core 2.9.1 2.10.0 xmlunit-matchers 2.9.1 2.10.0 amazon-kinesis-client 2.5.7 2.5.8 reactor-netty-http 1.0.39 1.0.44 ant 1.10.13 1.10.14 hamcrest-core and hamcrest-all 1.3 moved to just hamcrest 2.2 This closes #8746 Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>
2024-05-04 12:29:50 -04:00
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-maven-plugin</artifactId>
<version>${nifi.nar.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
</plugin>
<plugin>
NIFI-11703 Upgraded to Spring Framework 6 and Jetty 12 - Upgraded Spring Framework from 5.3.31 to 6.0.15 - Upgraded Spring Security from 5.8.7 to 6.2.0 - Upgraded Spring Vault from 2.3.4 to 3.1.0 - Upgraded Jetty from 10.0.18 to 12.0.5 with EE 10 - Upgraded Jersey from 2.41 to 3.1.4 - Upgraded JAXB from 2.3.9 to 4.0.4 - Upgraded AspectJ from 1.9.20.1 to 1.9.21 - Upgraded JMS API from 2.0.1 to 3.1.0 - Upgraded ActiveMQ Broker from 5.18.2 to 6.0.1 for JMS 3 - Upgraded JJWT from 0.9.1 to 0.12.3 - Replaced jackson-module-jaxb-annotations with jackson-module-jakarta-xmlbind-annotations - Replaced maven-jaxb2-plugin with hisrc-higherjaxb40-maven-plugin 2.1.1 - Replaced kongchen swagger-maven-plugin with swagger-codegen-maven-plugin from Swagger 3 - Replaced com.nickwongdev AspectJ Plugin with Codehaus 1.14.0 for newer Java versions - Removed unused cglib-nodep - Removed references to javax.validation - Removed custom Jetty ALPN Processor not required for Java 21 - Removed several tests depending on older Jetty and Jakarta libraries - Removed unnecessary webdefault.xml configurations - Replaced unsupported cross-context servlet forwarding with HTTP forwarding - Replaced javax.servlet references with jakarta.servlet - Replaced javax.xml.bind references with jakarta.xml.bind - Replaced javax.ws references with jakarata.ws - Updated Spring Security CSRF implementation for Spring Security 6 - Updated web.xml versions to 6.0 - Updated REST API templates using new swagger-codegen variables - Removed VALIDATE_DATA property from ParseCEF based on library compatibility issue with javax.validation - Added application URL logging to NiFi JettyServer Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8197.
2023-12-29 22:11:47 -05:00
<groupId>org.patrodyne.jvnet</groupId>
<artifactId>hisrc-higherjaxb40-maven-plugin</artifactId>
<version>2.2.1</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
</plugin>
<plugin>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-maven-plugin-jakarta</artifactId>
<version>2.2.25</version>
</plugin>
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.63</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<enforceDocGeneration>true</enforceDocGeneration>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
<serverId>repository.apache.org</serverId>
<nexusUrl>https://repository.apache.org/</nexusUrl>
</configuration>
</plugin>
<plugin>
NIFI-11703 Upgraded to Spring Framework 6 and Jetty 12 - Upgraded Spring Framework from 5.3.31 to 6.0.15 - Upgraded Spring Security from 5.8.7 to 6.2.0 - Upgraded Spring Vault from 2.3.4 to 3.1.0 - Upgraded Jetty from 10.0.18 to 12.0.5 with EE 10 - Upgraded Jersey from 2.41 to 3.1.4 - Upgraded JAXB from 2.3.9 to 4.0.4 - Upgraded AspectJ from 1.9.20.1 to 1.9.21 - Upgraded JMS API from 2.0.1 to 3.1.0 - Upgraded ActiveMQ Broker from 5.18.2 to 6.0.1 for JMS 3 - Upgraded JJWT from 0.9.1 to 0.12.3 - Replaced jackson-module-jaxb-annotations with jackson-module-jakarta-xmlbind-annotations - Replaced maven-jaxb2-plugin with hisrc-higherjaxb40-maven-plugin 2.1.1 - Replaced kongchen swagger-maven-plugin with swagger-codegen-maven-plugin from Swagger 3 - Replaced com.nickwongdev AspectJ Plugin with Codehaus 1.14.0 for newer Java versions - Removed unused cglib-nodep - Removed references to javax.validation - Removed custom Jetty ALPN Processor not required for Java 21 - Removed several tests depending on older Jetty and Jakarta libraries - Removed unnecessary webdefault.xml configurations - Replaced unsupported cross-context servlet forwarding with HTTP forwarding - Replaced javax.servlet references with jakarta.servlet - Replaced javax.xml.bind references with jakarta.xml.bind - Replaced javax.ws references with jakarata.ws - Updated Spring Security CSRF implementation for Spring Security 6 - Updated web.xml versions to 6.0 - Updated REST API templates using new swagger-codegen variables - Removed VALIDATE_DATA property from ParseCEF based on library compatibility issue with javax.validation - Added application URL logging to NiFi JettyServer Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8197.
2023-12-29 22:11:47 -05:00
<groupId>org.patrodyne.jvnet</groupId>
<artifactId>hisrc-higherjaxb40-maven-plugin</artifactId>
<configuration>
<noFileHeader>true</noFileHeader>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<banDuplicatePomDependencyVersions />
<requireSameVersions>
<plugins>
<plugin>org.apache.maven.plugins:maven-surefire-plugin</plugin>
<plugin>org.apache.maven.plugins:maven-failsafe-plugin</plugin>
<plugin>org.apache.maven.plugins:maven-surefire-report-plugin</plugin>
</plugins>
</requireSameVersions>
<requireMavenVersion>
<version>3.9.6</version>
</requireMavenVersion>
<requireReleaseDeps>
<message>Dependencies outside of Apache NiFi must not use SNAPSHOT versions</message>
<failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
<excludes>
<exclude>org.apache.nifi:*</exclude>
<exclude>org.apache.nifi.minifi:*</exclude>
<exclude>org.apache.nifi.registry:*</exclude>
</excludes>
</requireReleaseDeps>
<bannedDependencies>
<excludes>
<!-- JUnit 5 is the preferred test framework -->
<exclude>org.testng:testng</exclude>
<!-- Cat-X Deps -->
<exclude>org.json:json:(,20240303):compile</exclude>
<exclude>c3p0:c3p0:*:*:compile</exclude>
<!-- FindBugs Annotations is LGPL-2 -->
<exclude>com.google.code.findbugs:annotations:*</exclude>
<!-- Hibernate Commons Annotations is LGPL-2.1 before version 7.0.0 -->
<exclude>org.hibernate.common:hibernate-commons-annotations:[,7.0.0]</exclude>
<!-- Hibernate Core is LGPL-2.1 -->
<exclude>org.hibernate.orm:hibernate-core:*</exclude>
<!-- Hibernate Entity Manager is LGPL-2.1 -->
<exclude>org.hibernate:hibernate-entitymanager:*</exclude>
<!-- Versions of JSR305 before 3.0.1 are not allowed https://github.com/findbugsproject/findbugs/issues/128 -->
<exclude>com.google.code.findbugs:jsr305:[,3.0.0]:compile</exclude>
<!-- SLF4J routing to Log4j 1.2 is a runtime implementation that conflicts with Logback -->
<exclude>org.slf4j:slf4j-log4j12</exclude>
<exclude>org.slf4j:slf4j-reload4j</exclude>
<!-- Log4J excluded in favor of log4j-over-slf4j and logback -->
<exclude>log4j:log4j:*</exclude>
<!-- Log4j 2 log4j-core excluded in favor of log4j-to-slf4j routing to logback -->
<exclude>org.apache.logging.log4j:log4j-core:*</exclude>
<!-- Commons Logging excluded in favor of jcl-over-slf4j -->
<exclude>commons-logging:commons-logging:*</exclude>
<!-- Apache Xalan is no longer maintained and is bundled in the standard JRE -->
<exclude>xalan:xalan</exclude>
<!-- As of Bouncycastle 1.71 Java 8 is the minimum required so jdk15on artifacts not allowed -->
<exclude>org.bouncycastle:bcprov-jdk15on</exclude>
<exclude>org.bouncycastle:bcpg-jdk15on</exclude>
<exclude>org.bouncycastle:bcpkix-jdk15on</exclude>
<exclude>org.bouncycastle:bcutil-jdk15on</exclude>
<exclude>org.bouncycastle:bcmail-jdk15on</exclude>
<!-- Exclude SSHD 2.9.1 and earlier due to CVE-2022-45047 -->
<exclude>org.apache.sshd:*:[,2.9.1]</exclude>
<!-- The Spock Framework should not be used for testing -->
<exclude>org.spockframework:*</exclude>
<!-- Groovy should not be used for testing -->
<exclude>org.apache.groovy:groovy-test</exclude>
<!-- Hamcrest should not be used for testing -->
<exclude>org.hamcrest:hamcrest</exclude>
</excludes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredPackagings>
<ignoredPackaging>nar</ignoredPackaging>
</ignoredPackagings>
<ignoredDependencies combine.children="append">
<dependency>org.junit.jupiter:junit-jupiter-engine</dependency>
<dependency>org.junit.jupiter:junit-jupiter-params</dependency>
<dependency>org.junit.jupiter:junit-jupiter-api</dependency>
<dependency>org.mockito:mockito-core</dependency>
<dependency>org.mockito:mockito-junit-jupiter</dependency>
<dependency>org.junit.platform:junit-platform-commons</dependency>
<dependency>org.slf4j:slf4j-simple</dependency>
</ignoredDependencies>
</configuration>
</plugin>
NIFI-13144 improved depependency update config and various dependencies com.puppycrawl.tools:checkstyle 10.15.0 -> 10.16.0 software.amazon.awssdk:xray 2.25.40 -> 2.25.45 com.amazonaws:aws-java-sdk-keyspaces 1.12.710 -> 1.12.715 com.azure:azure-sdk-bom 1.2.21 -> 1.2.23 com.google.cloud:libraries-bom 26.37.0 -> 26.38.0 net.bytebuddy:byte-buddy 1.14.12 -> 1.14.14 org.checkerframework:checker-qual 3.37.0 -> 3.43.0 org.eclipse.jdt:ecj 3.33.0 -> 3.37.0 com.microsoft.azure:msal4j 1.14.3 -> 1.15.0 com.google.guava:guava 33.1.0-jre -> 33.2.0-jre com.ibm.icu:icu4j 74.2 -> 75.1 org.opensaml:opensaml-* 4.3.1 -> 4.3.2 org.apache.sshd:sshd-* 2.12.0 -> 2.12.1 com.nimbusds:oauth2-oidc-sdk 9.43.3 -> 9.43.4 excel-streaming-reader 4.2.1 -> 4.3.1 amqp-client 5.20.0 5.21.0 json-schema-validator 1.3.2 1.4.0 Saxon-HE 12.3 12.4 lucene 8.11.2 8.11.3 commons-compiler 3.1.10 3.1.12 dropbox.client.version 5.4.4 5.4.6 subethasmtp 7.0.1 7.0.2 docker-java-api 3.3.4 3.3.6 google-api-services-drive v3-rev20230520-2.0.0 v3-rev20240327-2.0.0 protobuf-java 3.25.1 3.25.3 hazelcast 5.3.5 5.3.7 jackson-datatype-protobuf 0.9.14 0.9.15 kusto-* 5.0.3 5.0.5 mysql-connector-j 8.3.0 8.4.0 docker-compose-junit-jupiter 2.0.0 2.3.0 bolt-socket-mode 1.37.0 1.39.0 wire-schema-jvm 4.9.3 4.9.9 mysql-binlog-connector-java 0.29.0 0.29.2 jjwt 0.12.3 0.12.5 reactor-core 3.4.34 3.4.37 reactor-test 3.5.14 3.5.16 jakarta.activation-api 2.0.1 (and 2.1.2) to 2.1.3 jakarta.mail-api 2.0.1 (and 2.1.2) to 2.1.3 datafaker 2.0.2 to 2.2.2 jna and jna-platform 5.13.0 5.14.0 activemq-* 6.1.1 6.1.2 camel-salesforce 3.14.9 3.14.10 commons-csv 1.10.0 1.11.0 hbase.version 2.5.5-hadoop3 2.5.8-hadoop3 httpasyncclient 4.1.4 4.1.5 httpcore-nio 4.4.12 4.4.16 iotdb 1.3.0 1.3.1 mina-core 2.1.6 2.1.8 gremlin-* 3.7.1 3.7.2 clojure 1.11.2 1.11.3 angus-mail 2.0.2 2.0.3 jgit* 6.8.0.202311291450-r 6.9.0.202403050737-r javaassist 3.29.2-GA 3.30.2-GA jline 3.25.1 3.26.1 mariadb-java-client 3.3.0 3.3.3 mongodb-driver-sync 4.11.1 4.11.2 neo4j-java-driver 4.4.12 4.4.16 postgresql 4.7.2 4.7.3 spring-data-redis 2.7.15 2.7.18 spring-integration-mail 6.2.1 6.2.4 spring-vault-core 3.1.0 3.1.1 xmlunit-core 2.9.1 2.10.0 xmlunit-matchers 2.9.1 2.10.0 amazon-kinesis-client 2.5.7 2.5.8 reactor-netty-http 1.0.39 1.0.44 ant 1.10.13 1.10.14 hamcrest-core and hamcrest-all 1.3 moved to just hamcrest 2.2 This closes #8746 Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>
2024-05-04 12:29:50 -04:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<configuration>
<ruleSet>
<ignoreVersion>
<type>regex</type>
<version>(?i).*Alpha(?:-?\d+)?</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>.+(alpha|beta).+</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>(?i).*Beta(?:-?\d+)?</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>(?i).*-B(?:-?\d+)?</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>(?i).*RC(?:-?\d+)?</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>(?i).*CR(?:-?\d+)?</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>(?i).*M(?:-?\d+)?</version>
</ignoreVersion>
</ruleSet>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<violationSeverity>warning</violationSeverity>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<consoleOutput>true</consoleOutput>
NIFI-6360 Updated Mockito to 2.28.2, PowerMock to 2.0.2 Fixed test failures in nifi-couchbase-processors, BinaryDocument matcher replaced with ByteArrayDocument Fixed test failures in nifi-riemann-processors, anyInt() matcher replaced with anyLong() matcher, calling method passes a long, not int Removed unnecessary method mocks from nifi-toolkit-tls tests, TlsCertificateAuthorityServiceHandlerTest and TlsCertificateSigningRequestPerformerTest, since those were flagged by Mockito as unnecessary (they're unused) Removed explicit mockito dependency version in nifi-gcp-processors pom to inherit version from nifi's pom.xml Updated ArgumentMatchers in Kafka 0.10, 0.11, 1.0, and 2.0 processor tests, since in Mockito 2.x, the "any" matchers no longer allow nulls Updated ArgumentMatchers in nifi-jolt-transform-json-ui, since in Mockito 2.x, the "any" matchers no longer allow nulls Removed unnecessary method mocks from MetricsReportingTaskTest Updated TestStandardRemoteGroupPort to return Long instead of Integer for test flowfile.size() invocations Updated AbstractCassandraProcessor to include keyspaceProperty.getValue() in null check Updated SimpleProcessLogger and TestSimpleProcessLogger, vararg matching does not work the same in Java 8 and 11 Updated TestStandardProcessScheduler to allow null values during mock invocations, Mockito 2.x no longer allows nulls in those matchers Updated TestPutHiveStreaming to allow null values during mock invocations, Mockito 2.x no longer allows nulls in those matchers Updated FetchParquetTest to allow null values during mock invocations, Mockito 2.x no longer allows nulls in those matchers Updated ControllerSearchServiceTest to allow null values during mock invocations, Mockito 2.x no longer allows nulls in those matchers Removed usage of Whitebox from GetAzureEventHubTest due to Mockito 2.x, replaced with FieldUtils Removed usage of Whitebox from StandardOidcIdentityProviderTest due to Mockito 2.x, replaced with FieldUtils Updated apache-rat-plugin configuration in root POM to make use of useIdeaDefaultExcludes which makes the rat plugin exclude IntelliJ artifacts Updated several modules to use mockito-core instead of mockito-all (discontinued in Mockito 2.x) Updated nifi-site-to-site-reporting-task tests to be compatible with Mockito 2.x Ignored TestPutJMS tests; the tests need to be refactored to work with Mockito 2.x, but the processor is deprecated. Refactor may be done in a separate PR. Adjusted several mock interaction iterations to 0 for TestPublishKafkaRecord_* tests. Mockito 2.x flagged several interactions as unused and were adjusted to 0 interactions. Updated PowerMock and Mockito dependencies to exclude transitive dependency on bytebuddy, added explicit dependency on bytebuddy 1.9.10 so that PowerMock and Mockito use the same version. Bytebuddy 1.9.3 (used by PowerMock 2.0.2) did not allow for the mocking of final/private classes, bytebuddy 1.9.10 (used by Mockito 2.28.2) does. Updated TestSiteToSiteProvenanceReportingTask use of InvocationOnMock.getArgument to use objects for the resulting object rather than primitives Removed unnecessary stubs from evtx tests, Mockito 2.x defaults to strict mocks Fixed classloader issue with tests in nifi-windows-event-log-processors module that use JNAJUnitRunner when Mockito mocked JNA classes (Kernel32) Addressed Mockito-related deprecation warnings Import cleanup This closes #3533 Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
2019-06-06 16:53:04 -04:00
<useIdeaDefaultExcludes>true</useIdeaDefaultExcludes>
<excludes>
<exclude>nb-configuration.xml</exclude> <!-- courtesy excludes for netbeans users -->
<exclude>nbactions.xml</exclude> <!-- courtesy excludes for netbeans users -->
<exclude>DEPENDENCIES</exclude> <!-- auto generated file by apache's maven config while building sources.zip -->
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Configure build properties for modules with NAR packaging -->
<profile>
<id>nar-packaging</id>
<activation>
<property>
<name>packaging</name>
<value>nar</value>
</property>
</activation>
<properties>
<!-- Skip source and javadoc plugins for NAR bundles during release process -->
<maven.source.skip>true</maven.source.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
</profile>
<!-- Configure build properties for modules with WAR packaging -->
<profile>
<id>war-packaging</id>
<activation>
<property>
<name>packaging</name>
<value>war</value>
</property>
</activation>
<properties>
<!-- Skip source and javadoc plugins for WAR bundles during release process -->
<maven.source.skip>true</maven.source.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
</profile>
<profile>
<!-- Performs execution of Integration Tests using the Maven
FailSafe Plugin. The view of integration tests in this context are those
tests interfacing with external sources and services requiring additional
resources or credentials that cannot be explicitly provided. Also appropriate
for tests which depend on inter-thread and/or network or having timing
considerations which could make the tests brittle on various environments.-->
<id>integration-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
Disabled Unit Tests executed through the surefire plugin. Intended to be used
alongside the integration-tests profile to run *only* the tests configured for
execution through the failsafe plugin
-->
<id>skip-unit-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>contrib-check</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>check-style</id>
<phase>validate</phase>
<configuration>
<inputEncoding>UTF-8</inputEncoding>
<excludes>**/generated-sources/**/*</excludes>
<sourceDirectories>
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
<sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
</sourceDirectories>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Run "mvn validate -P dependency-check" to generate dependency-check-report.html in the target directory -->
<!-- Report results require detailed analysis to determine whether the vulnerability impacts the application -->
<id>dependency-check</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>10.0.4</version>
<executions>
<execution>
<inherited>false</inherited>
<phase>validate</phase>
<goals>
<goal>aggregate</goal>
</goals>
<configuration>
<suppressionFiles>nifi-dependency-check-maven/suppressions.xml</suppressionFiles>
<!-- Skip System Scope to avoid dependency resolution errors with jdk.tools on Java 8 -->
<skipSystemScope>true</skipSystemScope>
<!-- Disable .NET Assembly Analyzer to avoid non-applicable errors -->
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<skipProvidedScope>true</skipProvidedScope>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>