You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ec...@upromise.com> on 2009/01/23 06:34:31 UTC
Attaching assemblies to regular lifecycle goals
Hello List -
I've been trying to get the concept of attaching an assembly to the
regular "package" phase of a particular project, but no matter what I
try, I keep getting this:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] 'attached' was specified in an execution, but not found in the
plugin
[INFO]
------------------------------------------------------------------------
I've tried up to 2.2-beta-3 and still get a similar message.
The plugin configuration is as follows:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-3</version>
<executions>
<execution>
<id>attached-assemblies</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/xml-data.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
What's crazy is this works fine in just about every other project - is
there something I'm missing?