Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1
-
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.