You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "thomas diesler (JIRA)" <ji...@codehaus.org> on 2008/04/14 08:56:58 UTC

[jira] Commented: (MASSEMBLY-234) Artifacts not deployed

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

thomas diesler commented on MASSEMBLY-234:
------------------------------------------

Actually, this is not well commented at all.

The FAQ page
http://maven.apache.org/plugins/maven-assembly-plugin/faq.html

reads

Q: If the Assembly Plugin is run during the package phase, do my assemblies get deployed during the deploy phase?
A: Yes. The assemblies created by the Assembly Plugin is attached to your project so it gets deployed too.

and does not mention the assembly:attached nor the assembly:single goal 



> Artifacts not deployed
> ----------------------
>
>                 Key: MASSEMBLY-234
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-234
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>         Environment: Windows XP, Maven 2.0.7, Java 1.5.0_09, latest version of all conspiring Maven plugins
>            Reporter: Brian Williams
>            Assignee: John Casey
>             Fix For: 2.2-beta-2
>
>
> I attached my two assembly descriptors to the package phase, they get created correctly, but only the original JAR of my project gets deployed when I run "mvn deploy".  Each of my descriptors makes a ZIP containing the JAR my project compiles plus other resources (don't ask me why they don't want them as part of the JAR).
> When I declared version 2.1 for the assembly plugin, my two assemblies deployed with my original JAR.  This is the relevant section of my POM.xml:
> {{
>         <artifactId>maven-assembly-plugin</artifactId>
>         <version>2.1</version>
>         <executions>
>           <execution>
>             <phase>package</phase>
>             <configuration>
>               <descriptors>
>                 <descriptor>assembly/windows.xml</descriptor>
>                 <descriptor>assembly/linux.xml</descriptor>
>               </descriptors>
>             </configuration>
>             <goals><goal>assembly</goal></goals>
>           </execution>
>         </executions>
> }}

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