You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lars Corneliussen (JIRA)" <ji...@codehaus.org> on 2011/12/01 12:56:39 UTC
[jira] Commented: (MASSEMBLY-585) Add support for
componentDescriptorRefs in Assemblies
[ https://jira.codehaus.org/browse/MASSEMBLY-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284676#comment-284676 ]
Lars Corneliussen commented on MASSEMBLY-585:
---------------------------------------------
Looking at {{DefaultAssemblyReader.java}} it seems to make more sense, just to add {{locator.addStrategy( new PrefixedClasspathLocatorStrategy( "/assemblies/components/" ) ); }} in {{mergeComponentsWithMainAssembly}}
*Please change the title accordingly*
> Add support for componentDescriptorRefs in Assemblies
> -----------------------------------------------------
>
> Key: MASSEMBLY-585
> URL: https://jira.codehaus.org/browse/MASSEMBLY-585
> Project: Maven 2.x Assembly Plugin
> Issue Type: New Feature
> Reporter: Lars Corneliussen
>
> It would be great, if we could compose assembly descriptors from components provided by dependencies.
> This would help to apply favor composition over inheritance.
> {code:title=Assembly Descriptor}
> ..
> <componentDescriptorRefs>
> <!-- look for assemblies/components/bin.xml on the classpath -->
> <componentDescriptorRef>bin</componentDescriptorRef>
> </componentDescriptorRefs>
> ..
> {code}
> ComponentDescriptors should override componentDescriptorRefs; hence be applied later.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira