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

assembly descriptor id should be mandatory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-5
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: