the jar spec does not support jar files within jar files (technically
Java's URL support only goes one level deep: eg jar:url/to/file!path/
in/jar is allowed, but jar:jar:url/to/file!path/in/jar!path/in/jar is
not) so while you could copy the jar files inside your ejb jar,
nothing will be loaded from it
what you can do is explode your dependencies into your jar. there are
two tools you can use for this: dependency:unpack-dependencies or the
maven-shade-plugin
Sent from my [rhymes with tryPod] ;-)
On 19 Nov 2009, at 19:00, "Medishetty, Rajendar" <rajendar.medishe...@gs.com
> wrote:
Hi,
I'm using ejb-jar plugin to generate the ejb-jar.jar.
I have some library jars, which are only used by this ejbModule. So
I want them to be packaged inside ejb-jar.jar file only and I don't
want them to place them in ear lib directory.
I couldn't find anything with ejb-jar plug-in to package these jars
into ejb-jar.jar file.
Is there any way to do that.
Thanks,
Rajendar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org