[ 
http://jira.codehaus.org/browse/MASSEMBLY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240975#action_240975
 ] 

Eric Haszlakiewicz commented on MASSEMBLY-517:
----------------------------------------------

Well from my POV this is a horrible change because:
  1) If your main artifact IS the one that you are describing with the assembly 
descriptor this is the only way to create it.  The fact that a "pom" packaging 
artifact gets deployed is actually not desired, but can't be avoided.
  2) Having to specify a classifier AND an alternate packaging seems redundant.
  3) There are projects that already use this, many of mine included.  This 
change breaks the builds for all of those.
  4) This is a huge behaviour change to include at the last minute in the 
transition from a beta to non-beta release.

> Assembly fails with empty id element now
> ----------------------------------------
>
>                 Key: MASSEMBLY-517
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-517
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Eric Haszlakiewicz
>            Priority: Critical
>
> 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.assem...@15fddb33
> Assembly is incorrectly configured:
> Assembly:  is not configured correctly: Assembly ID must be present and 
> non-empty.

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