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

assembly descriptor id should be mandatory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-5
    • 2.2
    • None
    • None

    Description

      I can create assembly using descriptor like this:

      <assembly>
        <id></id>
        <formats>
          <format>zip</format>
        </formats>
        <fileSets>
          <fileSet>
            <directory>src/main/java</directory>
          </fileSet>
        </fileSets>
      </assembly>
      

      the file created does not have a classifier, and it's not the main artifact either, so it's impossible to locate it using maven coordinates.
      the id should be mandatory so there will always a classifier.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              juven Juven Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: