Dependencies that are inherited from subprojects that are specified in
Require-Bundle or Import-Package should be excluded
--------------------------------------------------------------------------------------------------------------------------
Key: MECLIPSE-147
URL: http://jira.codehaus.org/browse/MECLIPSE-147
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Components: PDE support
Reporter: David Boden
Attachments: patch.txt
Project A depends on Project B
Project A adds Project B in as a "Require-Bundle".
Project B exports its dependencies.
Project A therefore does not want to link resources in .project and .classpath.
It already inherits them by depending on Project B.
I've attached a patch which is, apologies, completely specific to my project.
What I'm trying to do in the patch is to not just exclude any reactor projects
but also exclude *any dependencies that originate from reactor dependencies*. I
wanted to take the "node" variable and ask whether its parent was a reactor
project. However, I don't think the ResolutionNode API allows me to traverse up
the hierarchy towards the parent.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira