Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.2-beta-3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
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...
Issue Links
| This issue duplicates: | ||||
| MASSEMBLY-73 | Sharing a default assembly descriptor across sub modules |
|
|
|
| This issue is related to: | ||||
| MASSEMBLY-151 | Documentation for the assembly plugin is utterly confusing |
|
|
|
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 ?