You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by lsacco <oc...@gmail.com> on 2009/06/26 00:15:45 UTC

Re: Maven assembly plug-in and deploy not happening?

I see that the "attached" goal works, but for beta-4 it says that goal is
deprecated.  Is this a bug in the "single" goal that prevents it from being
published during the package phase?

Thanks,
Lou


Jörg Schaible-2 wrote:
> 
> Hi Andrew,
> 
> Andrew Robinson wrote:
> 
>> The maven assembly plug-in, specifically states that it will deploy
>> all the built assemblies on deploy:
>> 
>> http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#deploy
>> 
>> So I have my assembly plugin executions tied to the package:
>> 
>>       <plugin>
>>         <artifactId>maven-assembly-plugin</artifactId>
>>         <version>2.2-beta-2</version>
>>         <executions>
>>           <execution>
>>             <id>make-jar</id>
>>             <phase>package</phase>
>>             <goals>
>>               <goal>assembly</goal>
> 
> 
> Use the attach goal instead.
> 
> 
>>             </goals>
>>             <configuration>
>>              
> <descriptorSourceDirectory>src/main/assembly/jar/</descriptorSourceDirectory>
>>               <archive>
>>                 <manifest>
>>                   <mainClass>mypackage.Launcher</mainClass>
>>                 </manifest>
>>               </archive>
>>             </configuration>
>>           </execution>
>>           <execution>
>>             <id>make-assembly</id>
>>             <phase>package</phase>
>>             <goals>
>>               <goal>assembly</goal>
>>             </goals>
>>             <configuration>
>>              
> <descriptorSourceDirectory>src/main/assembly/package/</descriptorSourceDirectory>
>>             </configuration>
>>           </execution>
>>         </executions>
>>       </plugin>
>> 
>> Now when I run mvn:deploy, it does not upload my assemblies, only my
>> project output (jar). Do I need a different version of a plugin or
>> maven or something, or is the assembly plugin FAQ wrong?
> 
> - Jörg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--tp18161292p24211944.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org