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

Assembly fails with empty id element now

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 2.2
    • None
    • None
    • None

    Description

      There is a serious regression in behaviour between version 2.2-beta-5 and 2.2. With version 2.2, assembly descriptors that have an empty id element no longer work. i.e.:
      <assembly>
      <id></id>
      <formats><format>tar.gz</format></formats>
      </assembly>

      The error message is:
      [INFO] [assembly:single

      {execution: assemble-tar-gzip}

      ]
      [INFO] Reading assembly descriptor: src/main/assembly/assembly.xml
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] : org.apache.maven.plugin.assembly.model.Assembly@15fddb33
      Assembly is incorrectly configured:

      Assembly: is not configured correctly: Assembly ID must be present and non-empty.

      Attachments

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              erh Eric Haszlakiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: