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

Sharing a default assembly descriptor across sub modules

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.2-beta-2
    • 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

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              vinothrajasekaran vinoth rajasekaran
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: