You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benoit Xhenseval <be...@yahoo.com> on 2006/08/06 23:43:22 UTC
M2 Including a jar inside a jar
Hi *,
When building a jar, how could I force a dependency to be included in the output jar (a bit like the ejb.bundle in old m1).
For instance here is the declaration of dependency:
<dependencies>
<dependency>
<groupId>net.objectlab.xxx</groupId>
<artifactId>xxxxx-common</artifactId>
<version>${pom.version}</version>
</dependency>
Many thanks,
Benoit.
Re: M2 Including a jar inside a jar
Posted by Wayne Fay <wa...@gmail.com>.
This is one of the most common questions on this email list...
Search the list (Nabble.com has an archive) for "assembly plugin" with
configuration "jar-with-dependencies".
Wayne
On 8/6/06, Benoit Xhenseval <be...@yahoo.com> wrote:
> Hi *,
>
> When building a jar, how could I force a dependency to be included in the output jar (a bit like the ejb.bundle in old m1).
>
> For instance here is the declaration of dependency:
>
> <dependencies>
> <dependency>
> <groupId>net.objectlab.xxx</groupId>
> <artifactId>xxxxx-common</artifactId>
> <version>${pom.version}</version>
> </dependency>
>
>
> Many thanks,
>
> Benoit.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org