Hi,
we also had a lot of troubles with the jboss-packaging plugin (esp.
including the sar in an ear was impossible). Since then we used the
older jboss-sar plugin with success:
...
<packaging>sar</packaging>
...
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-sar-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
...
The jboss-service.xml is in src/main/resources/META-INF.
We use this in multiproject, too.
regards,
Stefan
Chr. Grobmeier schrieb:
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
--
Mit freundlichen Grüßen,
Stefan Seidel
Software-Entwickler
________________________
VUB Printmedia GmbH
Chopinstraße 4, 04103 Leipzig
tel. +49 (341) 9 60 50 07
fax. +49 (341) 9 60 50 92
mail. [EMAIL PROTECTED]
web. www.vub.de
HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email