Hi all,
i installed the :jboss-packaging-maven plugin. With
<packaging>jboss-sar</packaging>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-packaging-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
<extensions>
<extension>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-packaging-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
</extension>
</extensions>
and Maven 2.0.6 i can run this with:
mvn org.codehaus.mojo:jboss-packaging-maven-plugin:sar
But "mvn install" fails with this errormessage:
[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
I also have problems when adding this to a multimodule project. At the
moment i run it as a single project and want to have that sar
installed in my local repository. But the sar command fails at the
with the message:
[INFO] Error assembling archive
Embedded error: Could not find descriptor files: jboss-service.xml
I read in the docs that i have to include "jboss-service.xml"
correctly; i did and pasted everywhere this file or gave a direct or
indirect path. but nothing worked.
Any ideas what i can try?
I am near to make a jar and copy that jar manually into my ear file :-(
Best,
Chris
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email