You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2010/09/23 20:10:32 UTC

[jira] Closed: (MASSEMBLY-307) Better Validation of Assembly Descriptors

     [ http://jira.codehaus.org/browse/MASSEMBLY-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-307.
--------------------------------

       Resolution: Duplicate
    Fix Version/s: 2.2-beta-6
         Assignee: John Casey

see MASSEMBLY-461

> 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
>            Assignee: John Casey
>            Priority: Minor
>             Fix For: 2.2-beta-6
>
>
> 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.

-- 
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