You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by urir <ur...@gmail.com> on 2007/12/11 08:37:02 UTC
Creating JBoss SAR with net.sf.maven-sar maven-sar-plugin
Hi,
I am using maven-sar-plugin to create JBoss SAR.
Question: Why are the dependencies not resolved into the built .sar ?
Configuration:
<project>
...
<packaging>sar</packaging>
...
<build>
<plugins>
<plugin>
<groupId>net.sf.maven-sar</groupId>
<artifactId>maven-sar-plugin</artifactId>
<version>1.0</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
...X...
</dependency>
</dependencies>
</project>
Result is that the myProject.sar is built with the right directory structure
including META-INF/jboss-service.xml , but it is missing the X.jar from the
dependencies, which causes the Jboss not find the references X.jar classes.
--
View this message in context: http://www.nabble.com/Creating-JBoss-SAR-with-net.sf.maven-sar-maven-sar-plugin-tp14269095s177p14269095.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org