[ http://jira.codehaus.org/browse/MASSEMBLY-76?page=comments#action_85026 ] MMA commented on MASSEMBLY-76: ------------------------------
Hi, I am looking for the same feature actually. For plugin site, there is a goal site:attach-descriptor that "adds the site descriptor to the list of files to be installed/deployed". This goal is called when intalling/deploying. Wouldn't we need the same kind of goal for assembly plugin ? > [assembly plugin] improve or clarify inheriting/reusing descriptors > ------------------------------------------------------------------- > > Key: MASSEMBLY-76 > URL: http://jira.codehaus.org/browse/MASSEMBLY-76 > Project: Maven 2.x Assembly Plugin > Issue Type: Improvement > Reporter: Jacob Robertson > > I want to declare a new reusable assembly descriptor. Then, in my parent pom > I can reference that descriptor, and all children projects will be able to do > assembly:assembly without specifying the descriptor. This actually works > halfway, but then the assembly plugin can't find the descriptor - because it > doesn't live inside of the child project. I was trying to play around with > putting the descriptor in the parent project, but since the packaging has to > be "pom" that of course wouldn't work. > Unless I misunderstand, the way this currently works, I'd have to declare the > descriptor for each and every child project. Which would be very > unfortunate, since the 3 supplied predefined descriptors don't meet my needs. > If there is a way to do this, then the improvement request is to improve the > documentation for this since I couldn't figure it out... -- 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