On Jul 8, 2006, at 11:40 PM, Markus Wolf wrote:
Hi,
I've wondering if there is something similar like in Maven 1.x and the
WAR-Plugins to have dependencies added to the JARs Classpath entry.
For
the WAR-plugin this is somewhat documented, but there are no docs for
the EJB-plugin. Any idea how this could work?
This works just like for the jar plugin as documented here: http://
maven.apache.org/guides/mini/guide-manifest.html except specifying
maven-ejb-plugin instead of maven-jar-plugin.
e.g.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.itest</groupId>
<artifactId>jar</artifactId>
<version>${pom.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
Hope this helps,
david jencks
Thanks
Markus Wolf
--
emedia-solutions wolf
Wedeler Landstrasse 63
22559 Hamburg
(040) 550 083 70
web: http://www.emedia-solutions-wolf.de
mail: [EMAIL PROTECTED]
pgp: http://wwwkeys.de.pgp.net
---------------------------------------------------------------------
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]