check out the appassembler plugin in the mojo project, works great

/Kaare

On 25/09/06, Xavier Toth <[EMAIL PROTECTED]> wrote:
I want to do the same thing so I'm looking at using
http://one-jar.sourceforge.net/ and building a jar as per its' docs.
However, I'm looking for more extensive docs for the jar plugin
version 2.1 inorder to do this job.

On 9/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Thanks Alexandre!
> POMStrap is great. I'll sure use it a lot for development purposes.
>
> However, what I'd like is to package an application and then distribute
> it (without requiring users to have Maven installed).
> Let's say I've written a cool application. You download it. You have
> Java on your machine. You unzip and run it.
>
> -----Original Message-----
> From: Alexandre Russel [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 21, 2006 5:14 PM
> To: Maven Users List
> Subject: Re: Creating a Java application
>
> Do you know POMStrap ?
> http://pomstrap.prefetch.com/en/index.xml
>
> Commande Line Interface
>
> POMStrap can work as an application bootstrap. It just requires a pom
> file
> (Maven 2 project file) and a class/method to fetch all required
> dependencies
> and launch the application using a command line syntax such as:
>
> java -jar pomstrap-1.0.4.jar groupId:artifact:version classname[:method]
>
> [method args]
>
> for example:
>
> java -jar pomstrap-1.0.4.jar pomstrap:testApp:1.0
> com.prefetch.pomstrap.App:run
>
> If no method is provided it will try to start the classical java static
> main
> method.
> On Thursday 21 September 2006 10:44, [EMAIL PROTECTED] wrote:
> > 10x Martin.
> >
> > The assembly plugin just bundles binaries and (optionally) sources.
> > What I'd like is something that I can open and execute.
> > For example, uberjar bundles the java application, along with all its
> > dependencies into one executable jar (you need only to specify in your
> > project properties what is the main class). When you execute the jar -
> > the application opens.
> >
> > As I understood from the assembly plugin site, it is not built to do
> > such things.
> >
> > Please inform me if I missed something.
> >
> >
> >
> > -----Original Message-----
> > From: Martin Gilday [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 21, 2006 11:32 AM
> > To: Maven Users List
> > Subject: Re: Creating a Java application
> >
> >
> > I think you need the Assembly plugin
> >
> http://maven.apache.org/plugins/maven-assembly-plugin/introduction.html
> >
> > HTH,
> > Martin.
> >
> > ----- Original message -----
> > From: [EMAIL PROTECTED]
> > To: [email protected]
> > Date: Thu, 21 Sep 2006 04:22:57 -0400
> > Subject: Creating a Java application
> >
> > I know of two plugins for the purpose of creating a Java application
> > (i.e. something that packages an application along with it's
> > dependencies):
> >
> >
> >
> > 1.      uberjar
> > 2.      javaapp
> >
> >
> >
> > However, both of them look like history.
> >
> >
> >
> > Does anyone know of such a plugin that works with Maven2 ?
> >
> >
> >
> >
> >
> > Thanks ...
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to