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

Szilard Nemeth commented on YARN-10563:
---------------------------------------

Thanks [~pbacsko],
Good catch!
Committed to trunk.
Resolving jira.

> Fix dependency exclusion problem in poms
> ----------------------------------------
>
>                 Key: YARN-10563
>                 URL: https://issues.apache.org/jira/browse/YARN-10563
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Critical
>         Attachments: YARN-10563-001.patch
>
>
> Currently, {{hadoop-project/pom.xml}} contains a bunch of exclusions for 
> {{jsonschema2pojo-core}}. It turned out that when a project imports either 
> hadoop-minicluster or hadoop-yarn-server-resourcemanager, excluded artifacts 
> can actually show up as active dependencies. This is probably has to do with 
> Maven as it does not handle exclusions properly when listed inside a 
> {{dependencyManagement}} section. I confirmed it with some local builds (eg. 
> Oozie uses hadoop-minicluster and the dependency tree showed a bunch of items 
> that were not supposed to be there).
> So all excludeable artifacts should be moved to 
> {{hadoop-yarn-server-resourcemanager/pom.xml}}.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to