[ 
https://issues.apache.org/jira/browse/YARN-10223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074701#comment-17074701
 ] 

Akira Ajisaka commented on YARN-10223:
--------------------------------------

Here is the output of "mvn dependency:analyze".
{noformat}
[INFO] --- maven-dependency-plugin:3.0.2:analyze (default-cli) @ 
hadoop-yarn-server-common ---
[WARNING] Used undeclared dependencies found:
[WARNING]    com.google.code.findbugs:jsr305:jar:3.0.2:compile
[WARNING]    com.sun.jersey:jersey-core:jar:1.19:compile
[WARNING]    com.google.inject:guice:jar:4.0:compile
[WARNING]    org.apache.commons:commons-lang3:jar:3.7:provided
[WARNING]    com.sun.jersey:jersey-client:jar:1.19:compile
[WARNING]    
org.apache.hadoop.thirdparty:hadoop-shaded-protobuf_3_7:jar:1.0.0:compile
[WARNING]    org.apache.curator:curator-client:jar:4.2.0:compile
[WARNING]    org.apache.hadoop:hadoop-auth:jar:3.3.0-SNAPSHOT:compile
[WARNING]    javax.ws.rs:jsr311-api:jar:1.1.1:compile
[WARNING]    org.apache.curator:curator-framework:jar:4.2.0:compile
[WARNING]    javax.servlet:javax.servlet-api:jar:3.1.0:compile
[WARNING]    javax.xml.bind:jaxb-api:jar:2.2.11:compile
[WARNING]    commons-collections:commons-collections:jar:3.2.2:provided
[WARNING]    org.codehaus.jettison:jettison:jar:1.1:compile
[WARNING]    org.apache.commons:commons-text:jar:1.4:provided
[WARNING]    org.apache.hadoop:hadoop-hdfs-client:jar:3.3.0-SNAPSHOT:compile
[WARNING]    com.sun.jersey:jersey-json:jar:1.19:compile
[WARNING]    org.slf4j:slf4j-api:jar:1.7.25:compile
[WARNING]    com.google.code.gson:gson:jar:2.2.4:provided
[WARNING]    org.apache.zookeeper:zookeeper-jute:jar:3.5.6:compile
[WARNING] Unused declared dependencies found:
[WARNING]    com.google.protobuf:protobuf-java:jar:2.5.0:compile
[WARNING]    org.ehcache:ehcache:jar:3.3.1:compile
[WARNING]    com.microsoft.sqlserver:mssql-jdbc:jar:6.2.1.jre7:runtime
[WARNING]    
com.sun.jersey.jersey-test-framework:jersey-test-framework-core:jar:1.19:test
{noformat}
The dependency is not used in hadoop-yarn-server-common and it can be removed.

> Duplicate jersey-test-framework-core dependency in yarn-server-common
> ---------------------------------------------------------------------
>
>                 Key: YARN-10223
>                 URL: https://issues.apache.org/jira/browse/YARN-10223
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: build
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Minor
>
> The following warning appears in maven log.
> {noformat}
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
> be unique: 
> com.sun.jersey.jersey-test-framework:jersey-test-framework-core:jar -> 
> version (?) vs 1.19 @ line 148, column 17
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to