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

Sangjin Lee commented on HADOOP-12526:
--------------------------------------

There are 5 issues of duplicate dependency definitions.

(1) hadoop-project/pom.xml: jsp-api defined twice
- branches affected: branch-2.6
- HADOOP-10563 fixed it but the fix is much bigger than just cleaning up 
jsp-api, thus cannot be easily cherry-picked
- I propose fixing it manually (trivial)

(2) hadoop-project/pom.xml: curator-framework and curator-test defined twice
- branches affected: branch-2.6
- HADOOP-12230 fixed it, and we can cherry-pick this

(3) hadoop-project/pom.xml: maven-enforcer-plugin defined in 2 places
- branches affected: branch-2, branch-2.6, branch-2.7
- it was fixed (in trunk) by MAPREDUCE-3003 but the fix is much bigger than 
fixing this, and cannot be easily cherry-picked
- I propose fixing it manually (trivial)

(4) hadoop-auth/pom.xml: jetty-util defined twice
- branches affected: branch-2, branch-2.6, branch-2.7
- the trunk did not have the problem to begin with
- I propose fixing it manually (trivial)

(5) hadoop-common/pom.xml: maven-surefire-plugin defined in 2 places
- branches affected: branch-2, branch-2.6, branch-2.7
- fixed by HADOOP-9242, and can be cherry-picked

So I'll go ahead and cherry-pick the fixes for (2) and (5). For others, I'll 
fix them using this JIRA. Will post the fixes soon.

> there are duplicate dependency definitions in pom's
> ---------------------------------------------------
>
>                 Key: HADOOP-12526
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12526
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.8.0, 2.7.1, 2.6.2
>            Reporter: Sangjin Lee
>            Assignee: Sangjin Lee
>
> There are several places where dependencies are defined multiple times within 
> pom's, and are causing maven build warnings. They should be fixed. This is 
> specific to branch-2.6.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to