You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sasha O <vi...@codebistro.com> on 2007/03/06 21:50:37 UTC
Build dependencies into the jar file?
Dear All,
What would be the best way to build all the dependencies into the
resulting JAR file? I want the JAR file to be "double-clickable".
With Ant, I was using <zipfileset>. With Maven2 I have no idea how to
run it on all the dependent JARs.
Any help is appreciated,
Sasha
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Build dependencies into the jar file?
Posted by Sasha O <vi...@codebistro.com>.
Eric --
Thanks very much. This is what I needed.
-- Sasha
Eric Redmond wrote:
> mvn assembly:assemble -DdescriptorId=jar-with-dependencies
>
> http://maven.apache.org/plugins/maven-assembly-plugin/
>
> Eric
>
> On 3/6/07, Sasha O <vi...@codebistro.com> wrote:
>>
>> Dear All,
>>
>> What would be the best way to build all the dependencies into the
>> resulting JAR file? I want the JAR file to be "double-clickable".
>>
>> With Ant, I was using <zipfileset>. With Maven2 I have no idea how to
>> run it on all the dependent JARs.
>>
>> Any help is appreciated,
>> Sasha
>>
>>
>> ---------------------------------------------------------------------
>> 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
Re: Build dependencies into the jar file?
Posted by Eric Redmond <er...@gmail.com>.
mvn assembly:assemble -DdescriptorId=jar-with-dependencies
http://maven.apache.org/plugins/maven-assembly-plugin/
Eric
On 3/6/07, Sasha O <vi...@codebistro.com> wrote:
>
> Dear All,
>
> What would be the best way to build all the dependencies into the
> resulting JAR file? I want the JAR file to be "double-clickable".
>
> With Ant, I was using <zipfileset>. With Maven2 I have no idea how to
> run it on all the dependent JARs.
>
> Any help is appreciated,
> Sasha
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Eric Redmond
http://codehaus.org/~eredmond