26/09/06, Xavier Toth <txtoth (AT) gmail (DOT) comwrote:
Great, do you have a url for appassembler?
9/25/06, Kaare Nilsen <kaare.nilsen (AT) gmail (DOT) comwrote:
check out the appassembler plugin in the mojo project, works great
/Kaare
25/09/06, Xavier Toth <txtoth (AT) gmail (DOT) comwrote:
I want to do the same thing so I'm looking at using
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.
9/21/06, Daniel (AT) emc (DOT) com <Daniel (AT) emc (DOT) comwrote:
Thanks Alexandre!
PMStrap 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.
Message
From: Alexandre Russel [mailto:alexandre (AT) russel (DOT) fr]
Sent: Thursday, September 21, 2006 5:14 PM
To: Maven Users List
Subject: Re: Creating a Java application
Do you know PMStrap ?
Commande Line Interface
PMStrap 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.
Thursday 21 September 2006 10:44, Daniel (AT) emc (DOT) com 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.
>
>
>
Message
From: Martin Gilday [mailto:martin.lists (AT) imap (DOT) cc]
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
HTH,
Martin.
message
From: Daniel (AT) emc (DOT) com
To: users (AT) maven (DOT) apache.org
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: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
--
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
>
>
>
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
>
>
>
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
>
>
>
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
--
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org