[
https://issues.apache.org/jira/browse/NIFI-10565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-10565:
------------------------------------
Description:
When looking at the top level pom.xml in Intellij there are the following
warnings:
Warning:(624, 10) Dependency is duplicated in file(s): nifi-zendesk-processors
Warning:(629, 10) Dependency is duplicated in file(s): nifi-zendesk-processors
Warning:(644, 10) Dependency is duplicated in file(s):
minifi-c2-provider-cache, minifi-c2-provider-delegating,
minifi-c2-provider-nifi-rest, minifi-c2-provider-util,
nifi-azure-reporting-task, nifi-pgp-processors, nifi-pgp-service,
nifi-registry-framework, nifi-registry-jetty,
nifi-registry-revision-spring-jdbc, nifi-registry-aws-extensions,
nifi-registry-ranger-plugin, and nifi-registry-toolkit-persistence
Warning:(654, 10) Dependency is duplicated in file(s): nifi-system-test-suite
Warning:(659, 10) Dependency is duplicated in file(s): nifi-registry-framework,
nifi-registry-jetty, nifi-registry-properties, nifi-registry-security-utils,
and nifi-registry-web-api
The dependencies in the pom.xml which are duplicated are:
<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.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-test</artifactId>
<scope>test</scope>
</dependency>
The duplicate dependencies should be removed from the children pom.xml files as
detailed in the above warning messages and the pom.xml should enforce the build
to ban duplicate dependencies by using Maven Enforcer plugin rule
_banDuplicatePomDependencyVersions_
was:
When looking at the top level pom.xml in Intellij there are the following
warnings:
Warning:(624, 10) Dependency is duplicated in file(s): nifi-zendesk-processors
Warning:(629, 10) Dependency is duplicated in file(s): nifi-zendesk-processors
Warning:(644, 10) Dependency is duplicated in file(s):
minifi-c2-provider-cache, minifi-c2-provider-delegating,
minifi-c2-provider-nifi-rest, minifi-c2-provider-util,
nifi-azure-reporting-task, nifi-pgp-processors, nifi-pgp-service,
nifi-registry-framework, nifi-registry-jetty,
nifi-registry-revision-spring-jdbc, nifi-registry-aws-extensions,
nifi-registry-ranger-plugin, and nifi-registry-toolkit-persistence
Warning:(654, 10) Dependency is duplicated in file(s): nifi-system-test-suite
Warning:(659, 10) Dependency is duplicated in file(s): nifi-registry-framework,
nifi-registry-jetty, nifi-registry-properties, nifi-registry-security-utils,
and nifi-registry-web-api
The dependencies in the pom.xml which are duplicated are:
<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.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-test</artifactId>
<scope>test</scope>
</dependency>
The duplicate dependencies should be removed from the children pom.xml files as
detailed in the above warning messages.
> Remove duplicated dependencies from children modules which are already
> defined in top level pom.xml and enforce build to ban duplicate dependencies
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-10565
> URL: https://issues.apache.org/jira/browse/NIFI-10565
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> When looking at the top level pom.xml in Intellij there are the following
> warnings:
>
> Warning:(624, 10) Dependency is duplicated in file(s): nifi-zendesk-processors
> Warning:(629, 10) Dependency is duplicated in file(s): nifi-zendesk-processors
> Warning:(644, 10) Dependency is duplicated in file(s):
> minifi-c2-provider-cache, minifi-c2-provider-delegating,
> minifi-c2-provider-nifi-rest, minifi-c2-provider-util,
> nifi-azure-reporting-task, nifi-pgp-processors, nifi-pgp-service,
> nifi-registry-framework, nifi-registry-jetty,
> nifi-registry-revision-spring-jdbc, nifi-registry-aws-extensions,
> nifi-registry-ranger-plugin, and nifi-registry-toolkit-persistence
> Warning:(654, 10) Dependency is duplicated in file(s): nifi-system-test-suite
> Warning:(659, 10) Dependency is duplicated in file(s):
> nifi-registry-framework, nifi-registry-jetty, nifi-registry-properties,
> nifi-registry-security-utils, and nifi-registry-web-api
>
> The dependencies in the pom.xml which are duplicated are:
> <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.mockito</groupId>
> <artifactId>mockito-core</artifactId>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-simple</artifactId>
> <scope>test</scope>
> </dependency>
> <dependency>
> <groupId>org.codehaus.groovy</groupId>
> <artifactId>groovy-test</artifactId>
> <scope>test</scope>
> </dependency>
> The duplicate dependencies should be removed from the children pom.xml files
> as detailed in the above warning messages and the pom.xml should enforce the
> build to ban duplicate dependencies by using Maven Enforcer plugin rule
> _banDuplicatePomDependencyVersions_
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)