[ https://issues.apache.org/jira/browse/HADOOP-8278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom White updated HADOOP-8278:
------------------------------
Attachment: HADOOP-8278.patch
Here's a patch to improve the dependencies for Common and HDFS.
> Make sure components declare correct set of dependencies
> --------------------------------------------------------
>
> Key: HADOOP-8278
> URL: https://issues.apache.org/jira/browse/HADOOP-8278
> Project: Hadoop Common
> Issue Type: Improvement
> Components: build
> Reporter: Tom White
> Attachments: HADOOP-8278.patch
>
>
> As mentioned by Scott Carey in https://issues.apache.org/jira/browse/MAPREDUCE-3378?focusedCommentId=13173437&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13173437,
we need to make sure that components are declaring the correct set of dependencies. In current
trunk there are errors of omission and commission (as reported by 'mvn dependency:analyze'):
> * "Used undeclared dependencies" - these are dependencies that are being met transitively.
They should be added explicitly as "compile" or "provided" scope.
> * "Unused declared dependencies" - these are dependencies that are not needed for compilation,
although they may be needed at runtime. They certainly should not be "compile" scope - they
should either be removed or marked as "runtime" or "test" scope.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira