Ok, is there a way to turn it off. If not, can you point me to the code where I can turn it off.
Then I'll copy it, name it decoupled-assembly and use it. This way I can use assembly only in one
phase which is executed after package. And I need to use it in two phases.
Thanks, Filip.
John Allen wrote:
As I stated before it is different because the developers believe assembly
is not something that should be performed as part of a normal build
lifecycle. The argument regarding what defines the scope of a lifecycle is
moot.
Re assembly being part of package phase:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht
ml
ps. I had the same observations (and criticisms) when first encountering
this behaviour.
-----Original Message-----
From: Nitko2 [mailto:[EMAIL PROTECTED]
Sent: 15 December 2005 08:06
To: Maven Users List
Subject: Re: Assembly plugin triggers execution of all previous phases
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:assembl
y</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]
---------------------------------------------------------------------
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]