maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: maven-assembly-plugin: doesn't work from a reactor build
Date Tue, 24 Apr 2007 14:09:50 GMT
Hi Graham,

use goal "single" instead of "attached".

- Jörg

Graham Leggett wrote on Monday, April 23, 2007 4:45 PM:

> Hi all,
> 
> I have an assembly linked into the mvn build lifecycle like
> below using
> the "attached" goal.
> 
> When mvn install is run from the assembly artifact, the
> assembly is built
> correctly.
> 
> If however mvn install is run from the root pom (ie a reactor build),
> the assembly plugin goes through the motions, but the assembly
> created is empty. 
> 
> Does the "attached" goal work in multi-module / reactor builds?
> 
>       <plugin>
>         <artifactId>maven-assembly-plugin</artifactId>
>         <version>2.2-beta-1</version>
>         <configuration>
>           <descriptors>
>             <descriptor>assembly.xml</descriptor>
>           </descriptors>
>         </configuration>
>         <executions>
>           <execution>
>             <id>make-assembly</id>
>             <phase>package</phase>
>             <goals>
>               <goal>attached</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> 
> Regards,
> Graham

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


Mime
View raw message