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

Sharing a default assembly descriptor across sub modules does not work if invoked from parent project

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.1
    • None
    • None
    • None

    Description

      I have a multi-project folders setup like one shown below,

      root

      _ sub-folder1
      _ sub-folder2
      _ sub-folder3
      _ etc

      Have a root pom.xml at the root folder level and in that I have defined
      <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
      <configuration>
      <descriptors>
      <descriptor>src/main/assembly/descriptor.xml
      </descriptor>
      </descriptors>
      </configuration>
      </plugin>

      Above descriptor works fine only if I have defined a descriptor file on the src/main/assembly folder for each sub-folder1, sub-folder2, etc.
      It would be great if maven supports me in defining a common assembly descriptor and can be shared by all the sub modules from a common location.

      Attachments

        1. test.error
          6 kB
          Stephen Evanchik

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              evanchsa Stephen Evanchik
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: