maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Allen" <john_h_al...@hotmail.com>
Subject Re: Assembly plugin triggers execution of all previous phases
Date Wed, 14 Dec 2005 17:14:45 GMT
assembly plugin is differenct to other lifecycle cooperating plugins in as 
much as it invokes the package lifecyle before running. if you have 
configured assembly to be part of package phase itself you will loop 
forever.

the idea is mvn assembly:assembly will do all the work of building an 
assembly, including the dependent package build.
package = gets you jars et al. frequent
assembly = gets you null soft installers, zips and tgzs. infrequent.

----- Original Message ----- 
From: "Nitko2" <nitko2@gmail.com>
To: "Maven Users List" <users@maven.apache.org>
Sent: Wednesday, December 14, 2005 3:45 PM
Subject: Assembly plugin triggers execution of all previous phases


> Hi!
>
> I created my components.xml with assembly plugin associated with 
> integration-test phase. I did so because association with package phase 
> caused infinite loop.
>
> .... 
> <integration-test>org.apache.maven.plugins:maven-assembly-plugin:2.0:assembly</integration-test>
> ....
>
> This is pom.xml excerpt:
>
> <plugin>
>     <artifactId>maven-assembly-plugin</artifactId>
>     <configuration>
>        <descriptor>assembly/descriptor.xml</descriptor>
>        <outputDirectory>target/work/output</outputDirectory>
>        <workDirectory>target/work</workDirectory>
>     </configuration>
> </plugin>
>
>
> When I start maven, integration-test phase causes all previous phases to 
> run again.
>
> Is this a bug? I suppose it is related to 
> http://jira.codehaus.org/browse/MNG-1831
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
> 

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


Mime
View raw message