You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Harper, Brad" <br...@epsiia.com> on 2009/01/23 16:44:39 UTC

maven-assembly-plugin not running during release

I've configured the [2.1] maven-assembly-plugin to generate a zip file
with an execution bound to the 'package' phase [goal is 'attached'].
It's in the <build> element within a profile with <id>releasing</id>.

Running

   % mvn release:prepare release:perform -Preleasing

does not generate a zip file.

Running

   % mvn clean install -Preleasing

does create the zip file.

Running 'deploy' does likewise and transports the project artifacts to
the internal repo, as expected. Running without the profile activation
[i.e. without '-Preleasing'] runs the install/deploy without the zip.

The profile is defined in a project two inheritance levels above the
project being built.

Any thoughts on what might be keeping the release plugin from running
assembly in this case?

Brad

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