[jboss-jira] [JBoss JIRA] Commented: (JBAS-9003) Two modules include "org.osgi:org.osgi.compendium" maven artifact
David Lloyd (JIRA)
jira-events at lists.jboss.org
Thu Mar 17 09:38:45 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588613#comment-12588613 ]
David Lloyd commented on JBAS-9003:
-----------------------------------
If you have two modules which export the same set of paths, you should have one module import and export the other with a filter. In this case, if I understand your requirements correctly, I would recommend making the "org.osgi.util" module import and re-export "org.osgi.compendium" with a path filter.
We can not have multiple modules with the same artifact; there is no real good justification for it.
> Two modules include "org.osgi:org.osgi.compendium" maven artifact
> -----------------------------------------------------------------
>
> Key: JBAS-9003
> URL: https://issues.jboss.org/browse/JBAS-9003
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: David Lloyd
> Assignee: David Lloyd
> Fix For: 7.0.0.Beta2
>
>
> {noformat}
> <module-def name="org.osgi.compendium">
> <maven-resource group="org.osgi" artifact="org.osgi.compendium"/>
> </module-def>
> <module-def name="org.osgi.util">
> <maven-resource group="org.osgi" artifact="org.osgi.compendium"/>
> </module-def>
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list