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

Documentation problem: description of how to share assemble descriptors is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2.1
    • None
    • None

    Description

      The page http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html describes the way to access the shared descriptor like follows:

      <configuration>
      <!-- This is where we use our shared assembly descriptor -->
      <descriptors>
      <descriptor>myassembly.xml</descriptor>
      </descriptors>
      </configuration>

      Due to the layout of the shared assembly descriptor project (myassembly.xml is stored in src/main/resources/assemblies/) this is wrong. It must be
      <configuration>
      <!-- This is where we use our shared assembly descriptor -->
      <descriptors>
      <descriptor>assemblies/myassembly.xml</descriptor>
      </descriptors>
      </configuration>

      Attachments

        Issue Links

          Activity

            People

              dennisl@apache.org Dennis Lundberg
              tarand Thomas Arand
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: