2014-12-15 05:14:32 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- 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
|
2017-03-22 13:08:30 -04:00
|
|
|
language governing permissions and limitations under the License. -->
|
2019-05-28 20:14:09 -04:00
|
|
|
<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">
|
2014-12-15 05:14:32 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2015-08-15 13:12:22 -04:00
|
|
|
<groupId>org.apache</groupId>
|
|
|
|
<artifactId>apache</artifactId>
|
2018-03-09 15:00:29 -05:00
|
|
|
<version>19</version>
|
2015-01-16 11:59:49 -05:00
|
|
|
<relativePath />
|
2014-12-15 05:14:32 -05:00
|
|
|
</parent>
|
2015-08-15 13:12:22 -04:00
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi</artifactId>
|
2019-02-16 21:50:35 -05:00
|
|
|
<version>1.10.0-SNAPSHOT</version>
|
2014-12-15 05:14:32 -05:00
|
|
|
<packaging>pom</packaging>
|
2015-07-16 12:35:37 -04:00
|
|
|
<description>Apache NiFi is an easy to use, powerful, and reliable system to process and distribute data.</description>
|
2014-12-15 05:14:32 -05:00
|
|
|
<modules>
|
2015-01-21 01:47:48 -05:00
|
|
|
<module>nifi-commons</module>
|
2014-12-15 05:14:32 -05:00
|
|
|
<module>nifi-api</module>
|
2016-07-13 09:28:19 -04:00
|
|
|
<module>nifi-framework-api</module>
|
2014-12-15 05:14:32 -05:00
|
|
|
<module>nifi-bootstrap</module>
|
|
|
|
<module>nifi-mock</module>
|
2015-01-21 01:47:48 -05:00
|
|
|
<module>nifi-nar-bundles</module>
|
|
|
|
<module>nifi-assembly</module>
|
2014-12-20 00:40:14 -05:00
|
|
|
<module>nifi-docs</module>
|
2015-01-22 08:53:23 -05:00
|
|
|
<module>nifi-maven-archetypes</module>
|
2015-03-16 22:48:14 -04:00
|
|
|
<module>nifi-external</module>
|
2016-07-06 16:56:08 -04:00
|
|
|
<module>nifi-toolkit</module>
|
2019-04-08 18:16:52 -04:00
|
|
|
<module>nifi-stateless</module>
|
2016-12-29 15:36:04 -05:00
|
|
|
<module>nifi-docker</module>
|
2014-12-20 00:40:14 -05:00
|
|
|
</modules>
|
2019-05-28 20:14:09 -04:00
|
|
|
<url>https://nifi.apache.org</url>
|
2015-08-15 13:12:22 -04:00
|
|
|
<organization>
|
|
|
|
<name>Apache NiFi Project</name>
|
2019-05-28 20:14:09 -04:00
|
|
|
<url>https://nifi.apache.org/</url>
|
2015-08-15 13:12:22 -04:00
|
|
|
</organization>
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
2019-05-28 20:14:09 -04:00
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
2015-08-15 13:12:22 -04:00
|
|
|
</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>
|
2019-05-28 20:14:09 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/nifi-dev</archive>
|
2015-08-15 13:12:22 -04:00
|
|
|
</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>
|
2019-05-28 20:14:09 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/nifi-users</archive>
|
2015-08-15 13:12:22 -04:00
|
|
|
</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>
|
2019-05-28 20:14:09 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/nifi-commits</archive>
|
2015-08-15 13:12:22 -04:00
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
|
|
|
<prerequisites>
|
|
|
|
<maven>${maven.min-version}</maven>
|
|
|
|
</prerequisites>
|
|
|
|
<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>
|
2019-02-16 21:50:35 -05:00
|
|
|
<tag>HEAD</tag>
|
2015-08-15 13:12:22 -04:00
|
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
|
|
<system>JIRA</system>
|
|
|
|
<url>https://issues.apache.org/jira/browse/NIFI</url>
|
2015-08-19 16:53:59 -04:00
|
|
|
</issueManagement>
|
2014-12-15 05:14:32 -05:00
|
|
|
<properties>
|
2016-04-14 09:28:25 -04:00
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2019-05-06 09:59:36 -04:00
|
|
|
<maven.min-version>3.1.1</maven.min-version>
|
2017-03-22 13:08:30 -04:00
|
|
|
<maven.surefire.arguments />
|
2015-08-15 13:12:22 -04:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<inceptionYear>2014</inceptionYear>
|
2019-03-13 17:50:57 -04:00
|
|
|
<org.slf4j.version>1.7.26</org.slf4j.version>
|
2018-06-29 10:33:10 -04:00
|
|
|
<ranger.version>1.0.0</ranger.version>
|
2019-04-08 20:09:28 -04:00
|
|
|
<jetty.version>9.4.15.v20190215</jetty.version>
|
2019-03-03 12:25:48 -05:00
|
|
|
<jackson.version>2.9.8</jackson.version>
|
2019-05-22 10:49:00 -04:00
|
|
|
<nifi.registry.version>0.4.0</nifi.registry.version>
|
2014-12-15 05:14:32 -05:00
|
|
|
</properties>
|
2015-11-02 15:45:20 -05:00
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>central</id>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- This should be at top, it makes maven try the central repo
|
2016-11-25 23:34:47 -05:00
|
|
|
first and then others and hence faster dep resolution -->
|
2015-11-02 15:45:20 -05:00
|
|
|
<name>Maven Repository</name>
|
|
|
|
<url>https://repo1.maven.org/maven2</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>apache-repo</id>
|
|
|
|
<name>Apache Repository</name>
|
|
|
|
<url>https://repository.apache.org/content/repositories/releases</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>jcenter</id>
|
2019-05-28 20:14:09 -04:00
|
|
|
<url>https://jcenter.bintray.com</url>
|
2015-11-02 15:45:20 -05:00
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
2016-07-17 09:33:53 -04:00
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
2015-11-02 15:45:20 -05:00
|
|
|
</repositories>
|
|
|
|
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- The following dependency management entries exist because these are jars
|
2018-03-09 15:00:29 -05:00
|
|
|
that live in the top-level lib directory and will be present in the parent-first
|
|
|
|
classloading of all child nars. Therefore we dont want child nars using different
|
|
|
|
versions anyway.-->
|
2018-03-03 17:32:42 -05:00
|
|
|
|
2018-03-09 15:00:29 -05:00
|
|
|
<!-- javax.servlet-api handling this explicitly Must be in root lib -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- jetty-schemas-3.1.jar handling this explicitly Must be in root lib -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-schemas</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- logback-classic, logback-core, log4j-over-slf4j, jul-to-slf4j,jcl-over-slf4j,slf4j-api handling this explicitly Must be in root lib -->
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2017-04-17 15:29:44 -04:00
|
|
|
<version>1.2.3</version>
|
2014-12-15 05:14:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
2017-04-17 15:29:44 -04:00
|
|
|
<version>1.2.3</version>
|
2014-12-15 05:14:32 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2018-03-09 15:00:29 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- These junit/mockito/groovy/spock/hamcrest dependencies are here to encourage consistent unit test library usage -->
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
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
|
|
|
<version>2.28.2</version>
|
2014-12-15 05:14:32 -05:00
|
|
|
</dependency>
|
2017-03-21 22:50:06 -04:00
|
|
|
<dependency>
|
2018-03-09 15:00:29 -05:00
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<version>2.4.13</version>
|
2017-03-21 22:50:06 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependency>
|
2018-03-09 15:00:29 -05:00
|
|
|
<groupId>org.spockframework</groupId>
|
|
|
|
<artifactId>spock-core</artifactId>
|
|
|
|
<version>1.0-groovy-2.4</version>
|
|
|
|
<scope>test</scope>
|
2014-12-15 05:14:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-03-09 15:00:29 -05:00
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
2014-12-15 05:14:32 -05:00
|
|
|
<version>1.3</version>
|
2016-02-01 19:13:30 -05:00
|
|
|
<scope>test</scope>
|
2014-12-15 05:14:32 -05:00
|
|
|
</dependency>
|
2018-03-03 17:32:42 -05:00
|
|
|
|
2018-03-09 15:00:29 -05:00
|
|
|
<!-- These Jetty dependencies are required for the Jetty Web Server all nars extend from it so we dont want this getting overriden -->
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2018-10-12 11:15:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-deploy</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2016-05-27 14:53:12 -04:00
|
|
|
<artifactId>jetty-annotations</artifactId>
|
2014-12-15 05:14:32 -05:00
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-05-27 14:53:12 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>apache-jsp</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
2014-12-15 05:14:32 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-05-27 14:53:12 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>apache-jstl</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
2014-12-15 05:14:32 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2016-08-24 11:30:14 -04:00
|
|
|
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-02-13 19:00:05 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
</dependency>
|
2015-03-22 18:59:22 -04:00
|
|
|
</dependencies>
|
2016-08-24 11:30:14 -04:00
|
|
|
|
2014-12-15 05:14:32 -05:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2015-08-15 13:12:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<fork>true</fork>
|
|
|
|
<optimize>true</optimize>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-02-13 19:00:05 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
|
|
|
<version>2.9.2-01</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
</plugin>
|
2015-08-15 13:12:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2016-08-26 03:04:17 -04:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<java.awt.headless>true</java.awt.headless>
|
|
|
|
</systemPropertyVariables>
|
2016-05-10 16:07:11 -04:00
|
|
|
<includes>
|
|
|
|
<include>**/*Test.class</include>
|
|
|
|
<include>**/Test*.class</include>
|
|
|
|
<include>**/*Spec.class</include>
|
|
|
|
</includes>
|
2018-09-25 15:17:19 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>**/*ITSpec.class</exclude>
|
|
|
|
</excludes>
|
2015-08-15 13:12:22 -04:00
|
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
2017-03-22 13:08:30 -04:00
|
|
|
<argLine combine.children="append">-Xmx1G
|
|
|
|
-Djava.net.preferIPv4Stack=true
|
2018-07-23 00:53:51 -04:00
|
|
|
${maven.surefire.arguments}
|
|
|
|
-Dfile.encoding=UTF-8</argLine>
|
2015-08-15 13:12:22 -04:00
|
|
|
</configuration>
|
2016-05-10 16:07:11 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<!-- Force surefire to use JUnit -->
|
|
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
|
|
<artifactId>surefire-junit4</artifactId>
|
2017-12-03 17:45:03 -05:00
|
|
|
<version>${surefire.version}</version>
|
2016-05-10 16:07:11 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2015-08-15 13:12:22 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<tarLongFileMode>gnu</tarLongFileMode>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>jaxb2-maven-plugin</artifactId>
|
2017-05-26 15:02:44 -04:00
|
|
|
<version>2.3.1</version>
|
2015-08-15 13:12:22 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
2017-12-03 17:45:03 -05:00
|
|
|
<version>1.6.0</version>
|
2015-08-15 13:12:22 -04:00
|
|
|
</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>
|
2016-04-14 09:28:25 -04:00
|
|
|
<javadocVersion>1.8</javadocVersion>
|
2015-08-15 13:12:22 -04:00
|
|
|
<additionalJOption>-J-Xmx512m</additionalJOption>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-01-09 15:46:14 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2015-08-15 13:12:22 -04:00
|
|
|
<configuration>
|
|
|
|
<useReleaseProfile>true</useReleaseProfile>
|
|
|
|
<releaseProfiles>apache-release</releaseProfiles>
|
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
|
<goals>deploy</goals>
|
|
|
|
<tagNameFormat>@{project.artifactId}-@{project.version}</tagNameFormat>
|
|
|
|
<pushChanges>false</pushChanges>
|
|
|
|
<localCheckout>true</localCheckout>
|
|
|
|
</configuration>
|
2015-01-16 11:59:49 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default</id>
|
|
|
|
<goals>
|
|
|
|
<goal>perform</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-08-15 13:12:22 -04:00
|
|
|
<pomFileName>pom.xml</pomFileName>
|
2015-01-16 11:59:49 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-12-15 05:14:32 -05:00
|
|
|
</plugin>
|
2015-08-15 13:12:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>rpm-maven-plugin</artifactId>
|
2017-12-03 17:45:03 -05:00
|
|
|
<version>2.1.5</version>
|
2015-08-15 13:12:22 -04:00
|
|
|
</plugin>
|
2016-09-29 14:00:00 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</plugin>
|
2015-08-15 13:12:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>antlr3-maven-plugin</artifactId>
|
|
|
|
<version>3.5.2</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2019-06-06 18:15:49 -04:00
|
|
|
<version>3.0.0</version>
|
2015-08-15 13:12:22 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
2019-06-06 18:15:49 -04:00
|
|
|
<version>8.21</version>
|
2015-08-15 13:12:22 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2015-08-19 16:53:59 -04:00
|
|
|
</plugins>
|
2014-12-15 05:14:32 -05:00
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
2016-02-13 19:00:05 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<!-- Only run for tests -->
|
|
|
|
<execution>
|
|
|
|
<id>groovy-tests</id>
|
2016-03-11 11:13:34 -05:00
|
|
|
<goals>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<compilerId>groovy-eclipse-compiler</compilerId>
|
|
|
|
</configuration>
|
2016-02-13 19:00:05 -05:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2016-04-14 09:28:25 -04:00
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2016-02-13 19:00:05 -05:00
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-eclipse-compiler</artifactId>
|
|
|
|
<version>2.9.2-01</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-eclipse-batch</artifactId>
|
|
|
|
<version>2.4.3-01</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2014-12-15 05:14:32 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-nar-maven-plugin</artifactId>
|
2019-05-06 09:59:36 -04:00
|
|
|
<version>1.3.1</version>
|
2015-08-15 13:12:22 -04:00
|
|
|
<extensions>true</extensions>
|
2019-05-06 09:59:36 -04:00
|
|
|
<configuration>
|
|
|
|
<enforceDocGeneration>true</enforceDocGeneration>
|
|
|
|
</configuration>
|
2015-08-15 13:12:22 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
2017-12-03 17:45:03 -05:00
|
|
|
<version>1.6.8</version>
|
2014-12-15 05:14:32 -05:00
|
|
|
<extensions>true</extensions>
|
2015-08-15 13:12:22 -04:00
|
|
|
<configuration>
|
2016-02-06 16:51:34 -05:00
|
|
|
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
|
2015-08-15 13:12:22 -04:00
|
|
|
<serverId>repository.apache.org</serverId>
|
|
|
|
<nexusUrl>https://repository.apache.org/</nexusUrl>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-maven</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<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>${maven.min-version}</version>
|
|
|
|
</requireMavenVersion>
|
2015-08-19 16:53:59 -04:00
|
|
|
</rules>
|
2015-08-15 13:12:22 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2014-12-15 05:14:32 -05:00
|
|
|
</plugin>
|
2015-08-15 13:12:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<checkstyleRules>
|
|
|
|
<module name="Checker">
|
|
|
|
<property name="charset" value="UTF-8" />
|
|
|
|
<property name="severity" value="warning" />
|
2019-06-06 18:15:49 -04:00
|
|
|
<property name="cacheFile" value="target/checkstyleCache"/>
|
2015-08-19 16:53:59 -04:00
|
|
|
<!-- Checks for whitespace -->
|
2015-08-15 13:12:22 -04:00
|
|
|
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
|
|
|
|
<module name="FileTabCharacter">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="eachLine" value="true" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="TreeWalker">
|
|
|
|
<module name="RegexpSinglelineJava">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="format" value="\s+$" />
|
|
|
|
<property name="message" value="Line has trailing whitespace." />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="RegexpSinglelineJava">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="format" value="[@]see\s+[{][@]link" />
|
|
|
|
<property name="message" value="Javadoc @see does not need @link: pick one or the other." />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="OuterTypeFilename" />
|
|
|
|
<module name="LineLength">
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- needs extra, because Eclipse formatter
|
2017-03-22 13:08:30 -04:00
|
|
|
ignores the ending left brace -->
|
2015-08-15 13:12:22 -04:00
|
|
|
<property name="max" value="200" />
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="AvoidStarImport" />
|
|
|
|
<module name="UnusedImports">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="processJavadoc" value="true" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="NoLineWrap" />
|
2017-12-03 17:45:03 -05:00
|
|
|
<module name="LeftCurly" />
|
2015-08-15 13:12:22 -04:00
|
|
|
<module name="RightCurly" />
|
|
|
|
<module name="RightCurly">
|
2019-06-06 18:15:49 -04:00
|
|
|
<property name="option" value="alone_or_singleline" />
|
2017-12-03 17:45:03 -05:00
|
|
|
<property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="SeparatorWrap">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="tokens" value="DOT" />
|
|
|
|
<property name="option" value="nl" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="SeparatorWrap">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="tokens" value="COMMA" />
|
|
|
|
<property name="option" value="EOL" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="PackageName">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="format" value="^[a-z]+(\.[a-z][a-zA-Z0-9]*)*$" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="MethodTypeParameterName">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="MethodParamPad" />
|
|
|
|
<module name="OperatorWrap">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="option" value="NL" />
|
|
|
|
<property name="tokens" value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, QUESTION, SL, SR, STAR " />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="AnnotationLocation">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="AnnotationLocation">
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="tokens" value="VARIABLE_DEF" />
|
|
|
|
<property name="allowSamelineMultipleAnnotations" value="true" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="NonEmptyAtclauseDescription" />
|
|
|
|
<module name="JavadocMethod">
|
2019-06-06 18:15:49 -04:00
|
|
|
<property name="allowUndeclaredRTE" value="true" />
|
2017-05-05 20:50:14 -04:00
|
|
|
<property name="allowMissingJavadoc" value="true" />
|
|
|
|
<property name="allowMissingParamTags" value="true" />
|
|
|
|
<property name="allowMissingThrowsTags" value="true" />
|
|
|
|
<property name="allowMissingReturnTag" value="true" />
|
|
|
|
<property name="allowedAnnotations" value="Override,Test,BeforeClass,AfterClass,Before,After" />
|
|
|
|
<property name="allowThrowsTagsForSubclasses" value="true" />
|
2015-08-15 13:12:22 -04:00
|
|
|
</module>
|
|
|
|
<module name="SingleLineJavadoc" />
|
|
|
|
</module>
|
|
|
|
</module>
|
|
|
|
</checkstyleRules>
|
|
|
|
<violationSeverity>warning</violationSeverity>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
</configuration>
|
2015-08-19 16:53:59 -04:00
|
|
|
</plugin>
|
2015-08-15 13:12:22 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
2018-04-19 13:54:23 -04:00
|
|
|
<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>
|
2015-08-15 13:12:22 -04:00
|
|
|
<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 -->
|
2016-10-05 11:00:29 -04:00
|
|
|
<exclude>.github/PULL_REQUEST_TEMPLATE.md</exclude> <!-- PR Template for GitHub that does not have a mechanism of including comments -->
|
2018-04-19 13:54:23 -04:00
|
|
|
<exclude>.travis-output-filters</exclude> <!-- grep patterns to exclude from travis output -->
|
2015-08-15 13:12:22 -04:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2015-08-19 16:53:59 -04:00
|
|
|
</plugin>
|
2014-12-15 05:14:32 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-08-15 13:12:22 -04:00
|
|
|
<profiles>
|
2016-01-13 14:13:30 -05:00
|
|
|
<profile>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- 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
|
2017-12-05 14:44:07 -05:00
|
|
|
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.-->
|
2016-01-13 14:13:30 -05:00
|
|
|
<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>
|
2015-08-15 13:12:22 -04:00
|
|
|
<profile>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- Checks style and licensing requirements. This is a good
|
|
|
|
idea to run for contributions and for the release process. While it would
|
|
|
|
be nice to run always these plugins can considerably slow the build and have
|
|
|
|
proven to create unstable builds in our multi-module project and when building
|
|
|
|
using multiple threads. The stability issues seen with Checkstyle in multi-module
|
2017-03-22 13:08:30 -04:00
|
|
|
builds include false-positives and false negatives. -->
|
2015-08-15 13:12:22 -04:00
|
|
|
<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>verify</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2018-03-03 17:32:42 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-style</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
2017-05-31 00:08:19 -04:00
|
|
|
<excludes>**/generated-sources/**/*</excludes>
|
|
|
|
<sourceDirectories>
|
|
|
|
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
|
|
|
|
<sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
|
|
|
|
</sourceDirectories>
|
2018-03-03 17:32:42 -05:00
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-08-15 13:12:22 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2015-09-11 10:17:33 -04:00
|
|
|
<profile>
|
2019-06-17 08:22:19 -04:00
|
|
|
<!-- This profile will disable DocLint which performs strict
|
|
|
|
JavaDoc processing which was introduced in JDK 8. These are technically errors
|
|
|
|
in the JavaDoc which we need to eventually address. However, if a release
|
2018-07-07 15:24:42 -04:00
|
|
|
is performed using JDK 8 or newer, the JavaDoc generation would fail. By activating
|
|
|
|
this profile when running on JDK 8 or newer we can ensure the JavaDocs continue to
|
2016-11-25 23:34:47 -05:00
|
|
|
generate successfully -->
|
2015-09-11 10:17:33 -04:00
|
|
|
<id>disable-doclint</id>
|
|
|
|
<activation>
|
2018-07-07 15:24:42 -04:00
|
|
|
<jdk>[1.8,)</jdk>
|
2015-09-11 10:17:33 -04:00
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- The following profiles are here as a convenience for folks that
|
|
|
|
want to build against vendor-specific distributions of the various Hadoop
|
|
|
|
ecosystem libraries. These will alter which dependencies are sourced in a
|
|
|
|
manner that can adjust the correct LICENSE and NOTICE requirements for any
|
|
|
|
affected jar and the resulting assembly overall. These L&N impacts are not
|
|
|
|
automatically handled by the build process and are the responsibility of
|
2017-03-22 13:08:30 -04:00
|
|
|
those creating and using the resulting binary artifacts. -->
|
2016-08-08 15:57:06 -04:00
|
|
|
<profile>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- This profile adds the Hortonworks repository for resolving
|
2017-03-22 13:08:30 -04:00
|
|
|
Hortonworks Data Platform (HDP) artifacts for the Hadoop bundles -->
|
2016-08-08 15:57:06 -04:00
|
|
|
<id>hortonworks</id>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>hortonworks-releases</id>
|
|
|
|
<name>Hortonworks Repository</name>
|
2019-05-28 20:14:09 -04:00
|
|
|
<url>https://repo.hortonworks.com/content/repositories/releases/</url>
|
2016-08-08 15:57:06 -04:00
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
<updatePolicy>never</updatePolicy>
|
|
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>hortonworks-jetty</id>
|
|
|
|
<name>Hortonworks Jetty Repository</name>
|
2019-05-28 20:14:09 -04:00
|
|
|
<url>https://repo.hortonworks.com/content/repositories/jetty-hadoop/</url>
|
2016-08-08 15:57:06 -04:00
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
<checksumPolicy>warn</checksumPolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
<updatePolicy>never</updatePolicy>
|
|
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<properties>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- Vendor-specific version number included here as default,
|
2017-03-22 13:08:30 -04:00
|
|
|
should be overridden on the command-line <hadoop.version>2.7.1.2.4.0.0-169</hadoop.version> -->
|
2016-08-08 15:57:06 -04:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- This profile will add the MapR repository for resolving
|
2017-03-22 13:08:30 -04:00
|
|
|
MapR Hadoop artifacts for the Hadoop bundles -->
|
2016-08-08 15:57:06 -04:00
|
|
|
<id>mapr</id>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>mapr-releases</id>
|
|
|
|
<name>MapR Repository</name>
|
2019-05-28 20:14:09 -04:00
|
|
|
<url>https://repository.mapr.com/maven/</url>
|
2016-08-08 15:57:06 -04:00
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<properties>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- Vendor-specific version number included here as default,
|
2017-03-22 13:08:30 -04:00
|
|
|
should be overridden on the command-line <hadoop.version>2.7.0-mapr-1602</hadoop.version> -->
|
2016-08-08 15:57:06 -04:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- This profile will add the Cloudera repository for resolving
|
2017-03-22 13:08:30 -04:00
|
|
|
Cloudera Distribution of Hadoop (CDH) artifacts for the Hadoop bundles -->
|
2016-08-08 15:57:06 -04:00
|
|
|
<id>cloudera</id>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>cloudera-repo</id>
|
|
|
|
<name>Cloudera Repository</name>
|
|
|
|
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<properties>
|
2018-11-15 12:07:08 -05:00
|
|
|
<!-- Vendor-specific version number included here as default,
|
2017-03-22 13:08:30 -04:00
|
|
|
should be overridden on the command-line <hadoop.version>2.6.0-cdh5.8.1</hadoop.version> -->
|
2016-08-08 15:57:06 -04:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2015-08-19 16:53:59 -04:00
|
|
|
</profiles>
|
2015-12-29 13:43:54 -05:00
|
|
|
</project>
|