When assembly is attached to pom with appendAssemblyId disabled, it won't be 
installed or deployed
--------------------------------------------------------------------------------------------------

                 Key: MASSEMBLY-328
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-328
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-2
         Environment: Windows XP SP3 with cygwin
            Reporter: Bugittaa Pahasti
         Attachments: assembly-id-test.zip

The use case applies to multi module build, but because it also occurs in a 
case of single pom, I'll use that as a example.

The zip generated in the attached example is installed nicely when 
appendAssemblyId is true. When it is false, the following is logged:
"[WARNING] Configuration options: 'appendAssemblyId' is set to false, and 
'classifier' is missing.
Instead of attaching the assembly file: 
c:\code\test\test3\target\assembly-test-1.0-SNAPSHOT.zip, it will become the 
file for main project artifact.
NOTE: If multiple descriptors or descriptor-formats are provided for this 
project, the value of this file will be non-deterministic!"

However, only pom.xml is installed/deployed. 


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