<project>
[...]
<packaging>jboss-sar</packaging>
[...]
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-packaging-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
<excludes>
<exclude>groupId:artifactId</exclude> <!-- if you want to exclude an
artifact in the sar -->
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
Graham Leggett a écrit :
Hi all,
According to the docs at
http://mojo.codehaus.org/jboss-packaging-maven-plugin/howto.html:
"JBoss packaging may also be integrated into the default maven packaging
phase by setting the <packaging> element as follows"
Setting the packaging element to "jboss-sar" results in the following error:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot find lifecycle mapping for packaging: 'jboss-sar'.
Component descriptor cannot be found in the component repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingjboss-sar.
Manually adding the plugin definition like so made no difference:
<!-- jboss packaging settings -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-packaging-maven-plugin</artifactId>
<executions>
<execution>
<id>jboss-sar</id>
<phase>package</phase>
<goals>
<goal>sar</goal>
</goals>
</execution>
</executions>
</plugin>
Does anyone know what the packaging must be set to, if not "jboss-sar"?
Regards,
Graham
--
---------------------------------------------------------------------
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]