This doesn't make sense. If I remember correctly, assembly is a part od package phase in default
lifecycle. And why is assembly plugin behaviour different from all other plugins(coupled with
lifecycle phase)? In my opinion this breaks lifecycle main purpose.
John Allen wrote:
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" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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]