You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michal Galet <ga...@email.cz> on 2009/12/17 10:15:54 UTC
Re: ejb-jar plug-in - Can we add dependency jars to ejb-jar.jar
A workaround that works for me is:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
</execution>
</executions>
<configuration>
<outputDirectory>target/classes</outputDirectory>
<includeScope>runtime</includeScope>
</configuration>
</plugin>
rajendar.medishetty wrote:
>
> In my current project, they use ant and pack all the jars inside the
> ejb-jar.jar.
> Now, they are thinking of migrating to maven from ant, but still want to
> pack the jars inside ejb-jar.jar.
>
> Is there anyway to do this without exploding the dependencies into my jar.
>
> Other way is to keep the jars in ear lib directory. But I don't want to do
> this because these jars are being used only by one ejb project and other
> ejb and web modules doesn't need these jars.
>
>
--
View this message in context: http://old.nabble.com/ejb-jar-plug-in---Can-we-add-dependency-jars-to-ejb-jar.jar-tp26433953p26825196.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