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

Aaron Kimball commented on HADOOP-6370:
---------------------------------------

Steve, I think that only applies to conflicts within a given module's 
(transitive) dependency set.  Looking at the ivy docs, I can't see a way to do 
multiple {{ivy:resolve}} calls in the same build. Performing a resolve will set 
some ant build properties and attempting to override these (e.g., by doing a 
base-hadoop resolve and then a contrib module's resolve) will fail. There's 
also no way to specify multiple ivy.xml files, nor is there a way to look at 
the artifact jars that (may) already exist in another directory (e.g., the ivy 
cache for the base-hadoop project).

I think that eventually auto-detecting these problems is a good goal, but I 
think for now the status quo of "contrib owners are responsible for dealing 
with their own version conflicts" isn't going to change. I don't see a 
straightforward technical means of dealing with this.

> Contrib project ivy dependencies are not included in binary target
> ------------------------------------------------------------------
>
>                 Key: HADOOP-6370
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6370
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Critical
>         Attachments: HADOOP-6370.2.patch, HADOOP-6370.patch
>
>
> Only Hadoop's own library dependencies are promoted to ${build.dir}/lib; any 
> libraries required by contribs are not redistributed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to