You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Markus Wolf <ma...@emedia-solutions-wolf.de> on 2006/07/09 08:40:27 UTC
EJB Manifest Classpath
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?
Thanks
Markus Wolf
--
>
> emedia-solutions wolf
> Wedeler Landstrasse 63
> 22559 Hamburg
> (040) 550 083 70
>
>> web: http://www.emedia-solutions-wolf.de
>> mail: markus@emedia-solutions-wolf.de
>> pgp: http://wwwkeys.de.pgp.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: EJB Manifest Classpath
Posted by David Jencks <da...@yahoo.com>.
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: markus@emedia-solutions-wolf.de
>>> pgp: http://wwwkeys.de.pgp.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org