Better Validation of Assembly Descriptors
-----------------------------------------

                 Key: MASSEMBLY-307
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-307
             Project: Maven 2.x Assembly Plugin
          Issue Type: Improvement
    Affects Versions: 2.1
            Reporter: Brad Harper
            Priority: Minor


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 [EMAIL PROTECTED], "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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to