Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-76

[assembly plugin] improve or clarify inheriting/reusing descriptors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2-beta-3
    • None
    • None

    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...

      Attachments

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              jacob.robertson Jacob Robertson
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: