[ http://jira.codehaus.org/browse/MASSEMBLY-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240849#action_240849 ]
Kevin Calcagno commented on MASSEMBLY-452: ------------------------------------------ As of the 2.2 version of the plugin, the 'descriptors' element is interpreted strictly as a file path. To call your shared assemblies, use 'descriptorRefs" rather than 'descriptors' and drop the '.xml' file extension -- just like you would call built-in descriptors like 'jar-with-dependencies' or 'bin'. This appears to be an intentional change (and cleans up the code a bit, IMHO). If you're curious, look at the diff between the 2.2-beta-5 and 2.2 tags for the class o.a.m.p.assembly.io.DefaultAssemblyReader. (Now they just need to fix the documentation on the sharing-descriptors.html page.) > Shared Assembly Descriptor does not work in Maven3-alpha4 > --------------------------------------------------------- > > Key: MASSEMBLY-452 > URL: http://jira.codehaus.org/browse/MASSEMBLY-452 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-4 > Environment: Apache Maven 3.0-alpha-4 (r835944; 2009-11-13 > 13:06:31-0500) > Java version: 1.6.0_16 > Java home: C:\java\jdk1.6.0_16\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows xp" version: "5.2" arch: "amd64" Family: "windows" > Reporter: Ben Tatham > Assignee: Benjamin Bentmann > Fix For: 2.2-beta-5 > > Attachments: assemblybug.txt > > > Following these instructions: > http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html > it used to work fine in Maven 2.2.1 and earlier. > With Maven 3.0-alpha-4, see the attached output. -- 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