That was it, oops. Thank you.

On Fri, Jun 27, 2008 at 1:04 PM, Jörg Schaible <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to