升级一个jar文件后,我遇到了以下传递依赖项问题。有人可以解决吗?
Downloaded from dws-all-fallback-zambezi-mirror: https://artifactory.server.rbsgrp.net/artifactory/dws-all-repos/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar (35 kB at 7.1 kB/s)
[ERROR]
Dependency convergence error for org.bitbucket.b_c:jose4j:0.6.4 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-org.bitbucket.b_c:jose4j:0.6.4
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-security:0.0.9
+-com.rbs.agilemarkets.amservices:amservices-security:1.1.5
+-org.bitbucket.b_c:jose4j:0.5.2
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.agilemarkets.amservices:amservices-tomcat-security:0.9.2
+-org.bitbucket.b_c:jose4j:0.5.2
[ERROR]
Dependency convergence error for com.netflix.hystrix:hystrix-servo-metrics-publisher:1.5.18 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-servo-metrics-publisher:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.agilemarkets.amservices:amservices-transport-web:0.3.11
+-com.netflix.hystrix:hystrix-servo-metrics-publisher:1.1.2
[ERROR]
Dependency convergence error for com.googlecode.java-ipv6:java-ipv6:0.17 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-com.googlecode.java-ipv6:java-ipv6:0.17
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-security:0.0.9
+-com.rbs.agilemarkets.amservices:amservices-security:1.1.5
+-com.googlecode.java-ipv6:java-ipv6:0.15
[ERROR]
Dependency convergence error for org.bouncycastle:bcprov-jdk15on:1.55 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-tomcat-valves:4.1.3
+-com.rbs.dws:dws-crypto:1.2.5
+-org.bouncycastle:bcprov-jdk15on:1.55
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-org.bouncycastle:bcprov-jdk15on:1.60
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-starter-lib:1.5.0
+-org.bouncycastle:bcprov-jdk15on:1.55
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-org.bouncycastle:bcprov-jdk15on:1.60
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-org.bouncycastle:bcpkix-jdk15on:1.60
+-org.bouncycastle:bcprov-jdk15on:1.60
[ERROR]
Dependency convergence error for io.reactivex:rxjava:1.3.8 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-io.reactivex:rxjava:1.3.8
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.agilemarkets.amservices:amservices-transport-web:0.3.11
+-io.reactivex:rxjava:1.1.1
[ERROR]
Dependency convergence error for com.netflix.hystrix:hystrix-core:1.4.12 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.fsap:fsap-ddic-ui:0.0.15-20201103.112520-1
+-com.netflix.hystrix:hystrix-core:1.4.12
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-core:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-metrics-event-stream:1.5.18
+-com.netflix.hystrix:hystrix-serialization:1.5.18
+-com.netflix.hystrix:hystrix-core:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-metrics-event-stream:1.5.18
+-com.netflix.hystrix:hystrix-core:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.netflix.hystrix:hystrix-core:1.4.12
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for org.bitbucket.b_c:jose4j:0.6.4 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-org.bitbucket.b_c:jose4j:0.6.4
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-security:0.0.9
+-com.rbs.agilemarkets.amservices:amservices-security:1.1.5
+-org.bitbucket.b_c:jose4j:0.5.2
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.agilemarkets.amservices:amservices-tomcat-security:0.9.2
+-org.bitbucket.b_c:jose4j:0.5.2
,
Dependency convergence error for com.netflix.hystrix:hystrix-servo-metrics-publisher:1.5.18 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-servo-metrics-publisher:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.agilemarkets.amservices:amservices-transport-web:0.3.11
+-com.netflix.hystrix:hystrix-servo-metrics-publisher:1.1.2
,
Dependency convergence error for com.googlecode.java-ipv6:java-ipv6:0.17 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-com.googlecode.java-ipv6:java-ipv6:0.17
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-security:0.0.9
+-com.rbs.agilemarkets.amservices:amservices-security:1.1.5
+-com.googlecode.java-ipv6:java-ipv6:0.15
,
Dependency convergence error for org.bouncycastle:bcprov-jdk15on:1.55 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-tomcat-valves:4.1.3
+-com.rbs.dws:dws-crypto:1.2.5
+-org.bouncycastle:bcprov-jdk15on:1.55
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-org.bouncycastle:bcprov-jdk15on:1.60
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-starter-lib:1.5.0
+-org.bouncycastle:bcprov-jdk15on:1.55
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-org.bouncycastle:bcprov-jdk15on:1.60
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-security:2.4.3
+-org.bouncycastle:bcpkix-jdk15on:1.60
+-org.bouncycastle:bcprov-jdk15on:1.60
,
Dependency convergence error for io.reactivex:rxjava:1.3.8 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-io.reactivex:rxjava:1.3.8
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.agilemarkets.amservices:amservices-transport-web:0.3.11
+-io.reactivex:rxjava:1.1.1
,
Dependency convergence error for com.netflix.hystrix:hystrix-core:1.4.12 paths to dependency are:
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.fsap:fsap-ddic-ui:0.0.15-20201103.112520-1
+-com.netflix.hystrix:hystrix-core:1.4.12
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-core:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-metrics-event-stream:1.5.18
+-com.netflix.hystrix:hystrix-serialization:1.5.18
+-com.netflix.hystrix:hystrix-core:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.rbs.ebpm:camunda-domain-landing-page:2.0.6
+-com.rbs.dws:dws-tomcat-starter:6.1.1
+-com.rbs.dws:dws-transport-web:7.0.1
+-com.netflix.hystrix:hystrix-metrics-event-stream:1.5.18
+-com.netflix.hystrix:hystrix-core:1.5.18
and
+-com.rbs.fsap:fsap-ddic-service:0.0.15-SNAPSHOT
+-com.netflix.hystrix:hystrix-core:1.4.12
]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:49 min
[INFO] Finished at: 2020-11-03T11:57:00Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (enforce) on project fsap-ddic-service: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:49 min
我的pom看起来像这样:
...
<!-- Domain Landing Page Starter -->
<dependency>
<groupId>com.rbs.ebpm</groupId>
<artifactId>camunda-domain-landing-page</artifactId>
<version>${camunda.domain.landing.page.version}</version>
<!-- TODO: Check why conflict with Spence and Tim (same parent POM version!?) -->
<exclusions>
<exclusion>
<groupId>com.rbs.agilemarkets.amservices</groupId>
<artifactId>amservices-tomcat-security</artifactId>
</exclusion>
<exclusion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
</exclusion>
<exclusion>
<groupId>io.reactivex</groupId>
<artifactId>rxjava</artifactId>
</exclusion>
<exclusion>
<groupId>com.netflix.hystrix</groupId>
<artifactId>hystrix-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.netflix.hystrix</groupId>
<artifactId>hystrix-servo-metrics-publisher</artifactId>
</exclusion>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
<exclusion>
<groupId>com.googlecode.java-ipv6</groupId>
<artifactId>java-ipv6</artifactId>
</exclusion>
<exclusion>
<groupId>org.bitbucket.b_c</groupId>
<artifactId>jose4j</artifactId>
</exclusion>
<exclusion>
<groupId>com.rbs.dws</groupId>
<artifactId>dws-tomcat-starter</artifactId>
</exclusion>
<exclusion>
<groupId>com.rbs.dws</groupId>
<artifactId>dws-security</artifactId>
</exclusion>
</exclusions>
</dependency>
依赖树输出附在这里: https://stackoverflow.com/a/64692283/3520404