• mvnjar包冲突解决方法


    命令

    mvn dependency:tree -Dverbose
    

    结果:

    [INFO] +- com.esotericsoftware:kryo:jar:4.0.2:test
    [INFO] |  +- com.esotericsoftware:reflectasm:jar:1.11.3:test
    [INFO] |  |  - org.ow2.asm:asm:jar:5.0.4:test
    [INFO] |  +- com.esotericsoftware:minlog:jar:1.3.0:test
    [INFO] |  - org.objenesis:objenesis:jar:2.5.1:test
    [INFO] +- com.xxxxx.datasecurity:toolkit:jar:0.0.2-SNAPSHOT:compile
    [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.25:compile
    [INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.5:compile
    [INFO] |  - com.fasterxml.jackson.core:jackson-databind:jar:2.9.5:compile
    [INFO] |     +- (com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile - omitted for conflict with 2.9.5)
    [INFO] |     - com.fasterxml.jackson.core:jackson-core:jar:2.9.5:compile
    [INFO] +- ch.qos.logback:logback-core:jar:1.2.3:compile
    [INFO] +- ch.qos.logback:logback-classic:jar:1.2.3:compile
    [INFO] |  +- (ch.qos.logback:logback-core:jar:1.2.3:compile - omitted for duplicate)
    [INFO] |  - (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
    [INFO] +- org.projectlombok:lombok:jar:1.16.18:provided
    [INFO] +- com.alibaba:druid:jar:1.1.9:compile
    [INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:provided (scope not updated to compile)
    [INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.1.3.RELEASE:compile
    [INFO] |  +- org.springframework.boot:spring-boot-starter:jar:2.1.3.RELEASE:compile
    [INFO] |  |  +- org.springframework.boot:spring-boot:jar:2.1.3.RELEASE:compile
    [INFO] |  |  |  +- (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  |  - (org.springframework:spring-context:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:2.1.3.RELEASE:compile
    [INFO] |  |  |  - (org.springframework.boot:spring-boot:jar:2.1.3.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
    [INFO] |  |  +- (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for conflict with 4.3.22.RELEASE)
    [INFO] |  |  - org.yaml:snakeyaml:jar:1.23:runtime
    [INFO] |  +- org.springframework.boot:spring-boot-starter-json:jar:2.1.3.RELEASE:compile
    [INFO] |  |  +- (org.springframework.boot:spring-boot-starter:jar:2.1.3.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  +- (org.springframework:spring-web:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  +- (com.fasterxml.jackson.core:jackson-databind:jar:2.9.8:compile - omitted for conflict with 2.9.5)
    [INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.8:compile
    [INFO] |  |  |  +- (com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile - omitted for conflict with 2.9.5)
    [INFO] |  |  |  - (com.fasterxml.jackson.core:jackson-databind:jar:2.9.8:compile - omitted for conflict with 2.9.5)
    [INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.8:compile
    [INFO] |  |  |  +- (com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile - omitted for conflict with 2.9.5)
    [INFO] |  |  |  +- (com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile - omitted for conflict with 2.9.5)
    [INFO] |  |  |  - (com.fasterxml.jackson.core:jackson-databind:jar:2.9.8:compile - omitted for conflict with 2.9.5)
    [INFO] |  |  - com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.8:compile
    [INFO] |  |     +- (com.fasterxml.jackson.core:jackson-core:jar:2.9.8:compile - omitted for conflict with 2.9.5)
    [INFO] |  |     - (com.fasterxml.jackson.core:jackson-databind:jar:2.9.8:compile - omitted for conflict with 2.9.5)
    [INFO] |  +- org.hibernate.validator:hibernate-validator:jar:6.0.14.Final:compile
    [INFO] |  |  +- javax.validation:validation-api:jar:2.0.1.Final:compile
    [INFO] |  |  +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
    [INFO] |  |  - com.fasterxml:classmate:jar:1.3.4:compile
    [INFO] |  +- org.springframework:spring-web:jar:5.1.5.RELEASE:compile
    [INFO] |  |  +- org.springframework:spring-beans:jar:5.1.5.RELEASE:compile
    [INFO] |  |  |  - (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  - (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |  - org.springframework:spring-webmvc:jar:5.1.5.RELEASE:compile
    [INFO] |     +- org.springframework:spring-aop:jar:5.1.5.RELEASE:compile
    [INFO] |     |  +- (org.springframework:spring-beans:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     |  - (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- (org.springframework:spring-beans:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- org.springframework:spring-context:jar:5.1.5.RELEASE:compile
    [INFO] |     |  +- (org.springframework:spring-aop:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     |  +- (org.springframework:spring-beans:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     |  +- (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     |  - (org.springframework:spring-expression:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- org.springframework:spring-expression:jar:5.1.5.RELEASE:compile
    [INFO] |     |  - (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     - (org.springframework:spring-web:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] +- org.springframework.boot:spring-boot-starter-integration:jar:2.1.3.RELEASE:compile
    [INFO] |  +- org.springframework.boot:spring-boot-starter-aop:jar:2.1.3.RELEASE:compile
    [INFO] |  |  +- (org.springframework.boot:spring-boot-starter:jar:2.1.3.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  +- (org.springframework:spring-aop:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |  |  - (org.aspectj:aspectjweaver:jar:1.9.2:compile - omitted for conflict with 1.8.9)
    [INFO] |  - org.springframework.integration:spring-integration-core:jar:5.1.3.RELEASE:compile
    [INFO] |     +- (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- (org.springframework:spring-aop:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- (org.springframework:spring-context:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- org.springframework:spring-messaging:jar:5.1.5.RELEASE:compile
    [INFO] |     |  +- (org.springframework:spring-beans:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     |  - (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- org.springframework:spring-tx:jar:5.1.5.RELEASE:compile
    [INFO] |     |  +- (org.springframework:spring-beans:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     |  - (org.springframework:spring-core:jar:5.1.5.RELEASE:compile - omitted for duplicate)
    [INFO] |     +- (org.springframework.retry:spring-retry:jar:1.2.4.RELEASE:compile - omitted for duplicate)
    [INFO] |     - io.projectreactor:reactor-core:jar:3.2.6.RELEASE:compile
    [INFO] |        - org.reactivestreams:reactive-streams:jar:1.0.2:compile
    [INFO] +- org.springframework.retry:spring-retry:jar:1.2.4.RELEASE:compile
    [INFO] |  - org.springframework:spring-core:jar:4.3.22.RELEASE:compile
    [INFO] |     - commons-logging:commons-logging:jar:1.2:compile
    [INFO] +- org.aspectj:aspectjweaver:jar:1.8.9:compile
    [INFO] +- org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:2.0.0:compile
    [INFO] |  +- (org.springframework.boot:spring-boot-starter:jar:2.0.8.RELEASE:compile - omitted for conflict with 2.1.3.RELEASE)
    [INFO] |  +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.0.8.RELEASE:compile
    [INFO] |  |  +- (org.springframework.boot:spring-boot-starter:jar:2.0.8.RELEASE:compile - omitted for conflict with 2.1.3.RELEASE)
    [INFO] |  |  +- com.zaxxer:HikariCP:jar:2.7.9:compile
    [INFO] |  |  |  - (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
    [INFO] |  |  - org.springframework:spring-jdbc:jar:5.0.12.RELEASE:compile
    [INFO] |  |     +- (org.springframework:spring-beans:jar:5.0.12.RELEASE:compile - omitted for conflict with 5.1.5.RELEASE)
    [INFO] |  |     +- (org.springframework:spring-core:jar:5.0.12.RELEASE:compile - omitted for conflict with 4.3.22.RELEASE)
    [INFO] |  |     - (org.springframework:spring-tx:jar:5.0.12.RELEASE:compile - omitted for conflict with 5.1.5.RELEASE)
    [INFO] |  +- org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:jar:2.0.0:compile
    [INFO] |  |  - (org.springframework.boot:spring-boot-autoconfigure:jar:2.0.8.RELEASE:compile - omitted for conflict with 2.1.3.RELEASE)
    [INFO] |  +- org.mybatis:mybatis:jar:3.5.0:compile
    [INFO] |  - org.mybatis:mybatis-spring:jar:2.0.0:compile
    [INFO] +- mysql:mysql-connector-java:jar:5.1.46:runtime
    [INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.1.3.RELEASE:test
    [INFO] |  +- (org.springframework.boot:spring-boot-starter:jar:2.1.3.RELEASE:test - omitted for duplicate)
    [INFO] |  +- org.springframework.boot:spring-boot-test:jar:2.1.3.RELEASE:test
    [INFO] |  |  - (org.springframework.boot:spring-boot:jar:2.1.3.RELEASE:test - omitted for duplicate)
    [INFO] |  +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.1.3.RELEASE:test
    [INFO] |  |  +- (org.springframework.boot:spring-boot-test:jar:2.1.3.RELEASE:test - omitted for duplicate)
    [INFO] |  |  - (org.springframework.boot:spring-boot-autoconfigure:jar:2.1.3.RELEASE:test - omitted for duplicate)
    [INFO] |  +- com.jayway.jsonpath:json-path:jar:2.4.0:test
    [INFO] |  |  +- net.minidev:json-smart:jar:2.3:test
    [INFO] |  |  |  - net.minidev:accessors-smart:jar:1.2:test
    [INFO] |  |  |     - (org.ow2.asm:asm:jar:5.0.4:test - omitted for duplicate)
    [INFO] |  |  - (org.slf4j:slf4j-api:jar:1.7.25:test - omitted for duplicate)
    [INFO] |  +- junit:junit:jar:4.12:test
    [INFO] |  |  - (org.hamcrest:hamcrest-core:jar:1.3:test - omitted for duplicate)
    [INFO] |  +- org.assertj:assertj-core:jar:3.11.1:test
    [INFO] |  +- org.mockito:mockito-core:jar:2.23.4:test
    [INFO] |  |  +- net.bytebuddy:byte-buddy:jar:1.9.3:test
    [INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.9.3:test
    [INFO] |  |  - (org.objenesis:objenesis:jar:2.6:test - omitted for conflict with 2.5.1)
    [INFO] |  +- org.hamcrest:hamcrest-core:jar:1.3:test
    [INFO] |  +- org.hamcrest:hamcrest-library:jar:1.3:test
    [INFO] |  |  - (org.hamcrest:hamcrest-core:jar:1.3:test - omitted for duplicate)
    [INFO] |  +- org.skyscreamer:jsonassert:jar:1.5.0:test
    [INFO] |  |  - com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
    [INFO] |  +- (org.springframework:spring-core:jar:5.1.5.RELEASE:test - omitted for conflict with 4.3.22.RELEASE)
    [INFO] |  +- org.springframework:spring-test:jar:5.1.5.RELEASE:test
    [INFO] |  |  - (org.springframework:spring-core:jar:5.1.5.RELEASE:test - omitted for conflict with 4.3.22.RELEASE)
    [INFO] |  - org.xmlunit:xmlunit-core:jar:2.6.2:test
    [INFO] +- com.xxxxx.datasecurity:exchange-core:jar:0.0.2-SNAPSHOT:compile
    [INFO] |  +- (com.fasterxml.jackson.core:jackson-annotations:jar:2.9.5:compile - omitted for duplicate)
    [INFO] |  +- (com.fasterxml.jackson.core:jackson-databind:jar:2.9.5:compile - omitted for duplicate)
    [INFO] |  - (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
    [INFO] +- com.squareup.okhttp3:okhttp:jar:3.10.0:compile
    [INFO] |  - com.squareup.okio:okio:jar:1.14.0:compile
    [INFO] +- com.xxxxx.xxxxx:file-alluxio:jar:1.0.5-SNAPSHOT:compile
    [INFO] |  +- com.xxxxx.xxxxx:file-api:jar:1.0.5-SNAPSHOT:compile
    [INFO] |  |  - (org.slf4j:slf4j-api:jar:1.7.25:compile - omitted for duplicate)
    [INFO] |  - org.alluxio:alluxio-core-client:jar:1.4.0:compile
    [INFO] |     +- com.google.guava:guava:jar:14.0.1:compile
    [INFO] |     +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
    [INFO] |     +- io.netty:netty-all:jar:4.0.29.Final:compile
    [INFO] |     +- org.apache.hadoop:hadoop-client:jar:2.2.0:compile
    [INFO] |     |  +- org.apache.hadoop:hadoop-common:jar:2.2.0:compile
    [INFO] |     |  |  +- (org.apache.hadoop:hadoop-annotations:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- commons-cli:commons-cli:jar:1.2:compile
    [INFO] |     |  |  +- org.apache.commons:commons-math:jar:2.1:compile
    [INFO] |     |  |  +- xmlenc:xmlenc:jar:0.52:compile
    [INFO] |     |  |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
    [INFO] |     |  |  |  +- (commons-logging:commons-logging:jar:1.0.4:compile - omitted for conflict with 1.2)
    [INFO] |     |  |  |  - (commons-codec:commons-codec:jar:1.2:compile - omitted for conflict with 1.4)
    [INFO] |     |  |  +- commons-codec:commons-codec:jar:1.4:compile
    [INFO] |     |  |  +- (commons-io:commons-io:jar:2.1:compile - omitted for conflict with 2.4)
    [INFO] |     |  |  +- commons-net:commons-net:jar:3.1:compile
    [INFO] |     |  |  +- (commons-logging:commons-logging:jar:1.1.1:compile - omitted for conflict with 1.2)
    [INFO] |     |  |  +- log4j:log4j:jar:1.2.17:compile
    [INFO] |     |  |  +- (commons-lang:commons-lang:jar:2.5:compile - omitted for conflict with 2.6)
    [INFO] |     |  |  +- commons-configuration:commons-configuration:jar:1.6:compile
    [INFO] |     |  |  |  +- commons-collections:commons-collections:jar:3.2.1:compile
    [INFO] |     |  |  |  +- (commons-lang:commons-lang:jar:2.4:compile - omitted for conflict with 2.5)
    [INFO] |     |  |  |  +- (commons-logging:commons-logging:jar:1.1.1:compile - omitted for conflict with 1.2)
    [INFO] |     |  |  |  +- commons-digester:commons-digester:jar:1.8:compile
    [INFO] |     |  |  |  |  +- commons-beanutils:commons-beanutils:jar:1.7.0:compile
    [INFO] |     |  |  |  |  |  - (commons-logging:commons-logging:jar:1.0.3:compile - omitted for conflict with 1.2)
    [INFO] |     |  |  |  |  - (commons-logging:commons-logging:jar:1.1:compile - omitted for conflict with 1.2)
    [INFO] |     |  |  |  - commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
    [INFO] |     |  |  |     - (commons-logging:commons-logging:jar:1.1.1:compile - omitted for conflict with 1.2)
    [INFO] |     |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  +- (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - scope updated from runtime; omitted for duplicate)
    [INFO] |     |  |  +- org.codehaus.jackson:jackson-core-asl:jar:1.8.8:compile
    [INFO] |     |  |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:compile
    [INFO] |     |  |  |  - (org.codehaus.jackson:jackson-core-asl:jar:1.8.8:compile - omitted for duplicate)
    [INFO] |     |  |  +- org.apache.avro:avro:jar:1.7.4:compile
    [INFO] |     |  |  |  +- (org.codehaus.jackson:jackson-core-asl:jar:1.8.8:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
    [INFO] |     |  |  |  +- org.xerial.snappy:snappy-java:jar:1.0.4.1:compile
    [INFO] |     |  |  |  +- (org.apache.commons:commons-compress:jar:1.4.1:compile - omitted for duplicate)
    [INFO] |     |  |  |  - (org.slf4j:slf4j-api:jar:1.6.4:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- org.apache.hadoop:hadoop-auth:jar:2.2.0:compile
    [INFO] |     |  |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  |  +- (commons-codec:commons-codec:jar:1.4:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (log4j:log4j:jar:1.2.17:runtime - omitted for duplicate)
    [INFO] |     |  |  |  - (org.slf4j:slf4j-log4j12:jar:1.7.5:runtime - omitted for duplicate)
    [INFO] |     |  |  +- org.apache.zookeeper:zookeeper:jar:3.4.5:compile
    [INFO] |     |  |  |  +- (org.slf4j:slf4j-api:jar:1.6.1:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  |  +- (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  |  |  - (log4j:log4j:jar:1.2.15:compile - omitted for conflict with 1.2.17)
    [INFO] |     |  |  - org.apache.commons:commons-compress:jar:1.4.1:compile
    [INFO] |     |  |     - org.tukaani:xz:jar:1.0:compile
    [INFO] |     |  +- org.apache.hadoop:hadoop-hdfs:jar:2.2.0:compile
    [INFO] |     |  |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
    [INFO] |     |  |  +- (commons-cli:commons-cli:jar:1.2:compile - omitted for duplicate)
    [INFO] |     |  |  +- (commons-codec:commons-codec:jar:1.4:compile - omitted for duplicate)
    [INFO] |     |  |  +- (commons-io:commons-io:jar:2.1:compile - omitted for duplicate)
    [INFO] |     |  |  +- (commons-lang:commons-lang:jar:2.5:compile - omitted for duplicate)
    [INFO] |     |  |  +- (commons-logging:commons-logging:jar:1.1.1:compile - omitted for conflict with 1.2)
    [INFO] |     |  |  +- (log4j:log4j:jar:1.2.17:compile - omitted for duplicate)
    [INFO] |     |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- (org.codehaus.jackson:jackson-core-asl:jar:1.8.8:compile - omitted for duplicate)
    [INFO] |     |  |  +- (org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:compile - omitted for duplicate)
    [INFO] |     |  |  - (xmlenc:xmlenc:jar:0.52:compile - omitted for duplicate)
    [INFO] |     |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.2.0:compile
    [INFO] |     |  |  +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.2.0:compile
    [INFO] |     |  |  |  +- (org.apache.hadoop:hadoop-yarn-common:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- org.apache.hadoop:hadoop-yarn-client:jar:2.2.0:compile
    [INFO] |     |  |  |  |  +- (org.apache.hadoop:hadoop-yarn-api:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (org.apache.hadoop:hadoop-yarn-common:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  |  |  +- (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (commons-io:commons-io:jar:2.1:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.google.inject:guice:jar:3.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.sun.jersey.jersey-test-framework:jersey-test-framework-grizzly2:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.sun.jersey:jersey-server:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.sun.jersey:jersey-json:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  - (com.sun.jersey.contribs:jersey-guice:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- org.apache.hadoop:hadoop-yarn-server-common:jar:2.2.0:compile
    [INFO] |     |  |  |  |  +- (org.apache.hadoop:hadoop-yarn-common:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (org.apache.zookeeper:zookeeper:jar:3.4.5:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  |  |  +- (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (commons-io:commons-io:jar:2.1:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.google.inject:guice:jar:3.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.sun.jersey.jersey-test-framework:jersey-test-framework-grizzly2:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.sun.jersey:jersey-server:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  +- (com.sun.jersey:jersey-json:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  |  - (com.sun.jersey.contribs:jersey-guice:jar:1.9:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  |  - (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  |  +- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.2.0:compile
    [INFO] |     |  |  |  +- (org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  |  - (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  - org.slf4j:slf4j-log4j12:jar:1.7.5:compile
    [INFO] |     |  |     +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |     - (log4j:log4j:jar:1.2.17:compile - omitted for duplicate)
    [INFO] |     |  +- org.apache.hadoop:hadoop-yarn-api:jar:2.2.0:compile
    [INFO] |     |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  +- (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  - (commons-io:commons-io:jar:2.1:compile - omitted for duplicate)
    [INFO] |     |  +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.2.0:compile
    [INFO] |     |  |  +- org.apache.hadoop:hadoop-yarn-common:jar:2.2.0:compile
    [INFO] |     |  |  |  +- (log4j:log4j:jar:1.2.17:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (org.apache.hadoop:hadoop-yarn-api:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  |  +- (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  |  - (commons-io:commons-io:jar:2.1:compile - omitted for duplicate)
    [INFO] |     |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  - (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.2.0:compile
    [INFO] |     |  |  +- (org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- (org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.2.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |     |  |  +- (org.slf4j:slf4j-api:jar:1.7.5:compile - omitted for conflict with 1.7.25)
    [INFO] |     |  |  - (org.slf4j:slf4j-log4j12:jar:1.7.5:compile - omitted for duplicate)
    [INFO] |     |  - org.apache.hadoop:hadoop-annotations:jar:2.2.0:compile
    [INFO] |     +- (org.slf4j:slf4j-api:jar:1.7.2:compile - omitted for conflict with 1.7.25)
    [INFO] |     - org.alluxio:alluxio-core-common:jar:1.4.0:compile
    [INFO] |        +- (com.google.guava:guava:jar:14.0.1:compile - omitted for duplicate)
    [INFO] |        +- (com.google.protobuf:protobuf-java:jar:2.5.0:compile - omitted for duplicate)
    [INFO] |        +- commons-lang:commons-lang:jar:2.6:compile
    [INFO] |        +- (commons-io:commons-io:jar:2.4:compile - omitted for duplicate)
    [INFO] |        +- (io.netty:netty-all:jar:4.0.29.Final:compile - omitted for duplicate)
    [INFO] |        +- org.apache.commons:commons-lang3:jar:3.4:compile
    [INFO] |        +- org.apache.curator:curator-framework:jar:2.1.0-incubating:compile
    [INFO] |        |  +- (org.apache.curator:curator-client:jar:2.1.0-incubating:compile - omitted for duplicate)
    [INFO] |        |  +- (org.apache.zookeeper:zookeeper:jar:3.4.5:compile - omitted for duplicate)
    [INFO] |        |  - (com.google.guava:guava:jar:14.0.1:compile - omitted for duplicate)
    [INFO] |        +- org.apache.curator:curator-client:jar:2.1.0-incubating:compile
    [INFO] |        |  +- (org.slf4j:slf4j-api:jar:1.6.4:compile - omitted for conflict with 1.7.25)
    [INFO] |        |  +- (org.apache.zookeeper:zookeeper:jar:3.4.5:compile - omitted for duplicate)
    [INFO] |        |  - (com.google.guava:guava:jar:14.0.1:compile - omitted for duplicate)
    [INFO] |        +- org.apache.curator:curator-recipes:jar:2.1.0-incubating:compile
    [INFO] |        |  +- (org.apache.curator:curator-framework:jar:2.1.0-incubating:compile - omitted for duplicate)
    [INFO] |        |  +- (org.apache.zookeeper:zookeeper:jar:3.4.5:compile - omitted for duplicate)
    [INFO] |        |  - (com.google.guava:guava:jar:14.0.1:compile - omitted for duplicate)
    [INFO] |        +- org.apache.thrift:libthrift:jar:0.9.3:compile
    [INFO] |        |  +- org.apache.httpcomponents:httpclient:jar:4.4.1:compile
    [INFO] |        |  |  +- (org.apache.httpcomponents:httpcore:jar:4.4.1:compile - omitted for duplicate)
    [INFO] |        |  |  +- (commons-logging:commons-logging:jar:1.2:compile - omitted for duplicate)
    [INFO] |        |  |  - (commons-codec:commons-codec:jar:1.9:compile - omitted for conflict with 1.4)
    [INFO] |        |  - org.apache.httpcomponents:httpcore:jar:4.4.1:compile
    [INFO] |        +- (org.slf4j:slf4j-api:jar:1.7.2:compile - omitted for conflict with 1.7.25)
    [INFO] |        +- io.dropwizard.metrics:metrics-core:jar:3.1.2:compile
    [INFO] |        |  - (org.slf4j:slf4j-api:jar:1.7.7:compile - omitted for conflict with 1.7.25)
    [INFO] |        +- io.dropwizard.metrics:metrics-json:jar:3.1.2:compile
    [INFO] |        |  +- (io.dropwizard.metrics:metrics-core:jar:3.1.2:compile - omitted for duplicate)
    [INFO] |        |  +- (com.fasterxml.jackson.core:jackson-databind:jar:2.4.2:compile - omitted for conflict with 2.9.5)
    [INFO] |        |  - (org.slf4j:slf4j-api:jar:1.7.7:compile - omitted for conflict with 1.7.25)
    [INFO] |        +- io.dropwizard.metrics:metrics-jvm:jar:3.1.2:compile
    [INFO] |        |  +- (io.dropwizard.metrics:metrics-core:jar:3.1.2:compile - omitted for duplicate)
    [INFO] |        |  - (org.slf4j:slf4j-api:jar:1.7.7:compile - omitted for conflict with 1.7.25)
    [INFO] |        +- io.dropwizard.metrics:metrics-graphite:jar:3.1.2:compile
    [INFO] |        |  +- (io.dropwizard.metrics:metrics-core:jar:3.1.2:compile - omitted for duplicate)
    [INFO] |        |  - (org.slf4j:slf4j-api:jar:1.7.7:compile - omitted for conflict with 1.7.25)
    [INFO] |        +- io.dropwizard.metrics:metrics-ganglia:jar:3.1.2:compile
    [INFO] |        |  +- (io.dropwizard.metrics:metrics-core:jar:3.1.2:compile - omitted for duplicate)
    [INFO] |        |  +- (info.ganglia.gmetric4j:gmetric4j:jar:1.0.7:compile - omitted for duplicate)
    [INFO] |        |  - (org.slf4j:slf4j-api:jar:1.7.7:compile - omitted for conflict with 1.7.25)
    [INFO] |        +- info.ganglia.gmetric4j:gmetric4j:jar:1.0.7:compile
    [INFO] |        |  - org.acplt:oncrpc:jar:1.0.7:compile
    [INFO] |        - com.google.code.findbugs:jsr305:jar:3.0.0:compile
    [INFO] +- com.xxxxx.xxxxx:file-xxxx:jar:1.0.5-SNAPSHOT:compile
    [INFO] |  +- (com.xxxxx.xxxxx:file-api:jar:1.0.5-SNAPSHOT:compile - omitted for duplicate)
    [INFO] |  +- (com.xxxxx.datasecurity:toolkit:jar:0.0.1:compile - omitted for conflict with 0.0.2-SNAPSHOT)
    [INFO] |  +- (org.slf4j:slf4j-api:jar:1.7.26:compile - omitted for conflict with 1.7.25)
    [INFO] |  +- org.apache.directory.studio:org.apache.commons.io:jar:2.4:compile
    [INFO] |  |  - commons-io:commons-io:jar:2.4:compile
    [INFO] |  +- (com.fasterxml.jackson.core:jackson-annotations:jar:2.9.5:compile - omitted for duplicate)
    [INFO] |  - (com.fasterxml.jackson.core:jackson-databind:jar:2.9.5:compile - omitted for duplicate)
    [INFO] +- com.xxxxx.xxxxx:file-local:jar:1.0.5-SNAPSHOT:compile
    [INFO] |  +- (com.xxxxx.xxxxx:file-api:jar:1.0.5-SNAPSHOT:compile - omitted for duplicate)
    [INFO] |  - (org.apache.directory.studio:org.apache.commons.io:jar:2.4:compile - omitted for duplicate)
    [INFO] - org.apache.commons:commons-csv:jar:1.6:compile
    [
    

    参考

    https://maven.apache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-dependency-tree.html

  • 相关阅读:
    Centos(Linux)安装openoffice教程
    IDEA快速创建一个简单的SpringBoot项目(需要联网)
    Maven配置使用阿里云镜像
    关于Spring MVC的问题
    FTP搭建YUM源服务器
    IP子网的划分
    交换分区swap
    sentos7忘记root密码,重置密码
    sentos中bonding(网卡绑定技术)1
    sentos7网卡改名
  • 原文地址:https://www.cnblogs.com/victor2302/p/11177043.html
Copyright © 2020-2023  润新知