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

Better Validation of Assembly Descriptors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.2
    • None
    • None

    Description

      Running 'assembly:assembly' from the command line produces

      [ERROR] BUILD FAILURE
      [INFO] ------------------
      [INFO] The assembly id null is used more than once.

      The same descriptor can be used successfully via 'assembly:attached', either via the command line or within a maven build lifecycle. The descriptor doesn't specify <id>assembly-name</id>.

      Per John Casey on users@continuum.apache.org, "it looks like we need to improve the validation of descriptors. None of the assembly mojos should really work without an assembly id".

      Descriptor validation should be improved, with self-explanatory error messages when the validation fails.

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            bsharper Brad Harper
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: