maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Generating a Standalone App
Date Wed, 11 Nov 2009 09:35:55 GMT
Google is amazing:
http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/

/Anders

On Wed, Nov 11, 2009 at 10:28, Quintin Beukes <quintin@last.za.net> wrote:

> Hey,
>
> I have to make a distribution now. It contains a bunch of modules, 2
> of which are standalone applications.
>
> How can I generate a JAR for this, which has in it's manifest a
> Main-Class and Classpath attribute, and have all the libs taken from
> the repo and put in a lib/ subdirectory (which would each then be
> referenced in the manifest)?
>
> This basically so I can take this distribution and run it with java -jar ?
>
> Quintin Beukes
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message