Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Creating a Java application

    11 answers - 1609 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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
  • No.1 | | 2641 bytes | |

    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

    PGP SIGNATURE
    Version: GnuPG v1.4.5 (GNU/Linux)

    lzspVXHnpg2oimZDtlCfh1w=
    =L/J
    PGP SIGNATURE
  • No.2 | | 3707 bytes | |

    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
  • No.3 | | 4059 bytes | |

    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
  • No.4 | | 431 bytes | |

    9/26/06, Kaare Nilsen <kaare.nilsen (AT) gmail (DOT) comwrote:
    check out the appassembler plugin in the mojo project, works great

    Search the nabble archives for baerrach and assembly and you will find
    posts I wrote on how to setup assembly to do this.

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.5 | | 431 bytes | |

    9/26/06, Kaare Nilsen <kaare.nilsen (AT) gmail (DOT) comwrote:
    check out the appassembler plugin in the mojo project, works great

    Search the nabble archives for baerrach and assembly and you will find
    posts I wrote on how to setup assembly to do this.

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.6 | | 4380 bytes | |

    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
  • No.7 | | 699 bytes | |

    do you have a url for this posting?

    9/25/06, Barrie Treloar <baerrach (AT) gmail (DOT) comwrote:
    9/26/06, Kaare Nilsen <kaare.nilsen (AT) gmail (DOT) comwrote:
    check out the appassembler plugin in the mojo project, works great

    Search the nabble archives for baerrach and assembly and you will find
    posts I wrote on how to setup assembly to do this.

    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
  • No.8 | | 409 bytes | |

    9/26/06, Xavier Toth <txtoth (AT) gmail (DOT) comwrote:
    do you have a url for this posting?

    Nabble archives are here: http://www.nabble.com/Maven

    And type "assembly baerrach" in the search area and start reading.

    Enjoy

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.9 | | 430 bytes | |

    Hi,

    i just wanted to ask if there are any news on the JUnit4 front. I've
    tried that unofficial plugin but it didn't work, so i was wondering if
    JUnit4 support is somewhere soon on the roadmap.

    thanks in advance!

    cheers,
    severin

    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.10 | | 4645 bytes | |

    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
  • No.11 | | 830 bytes | |

    9/27/06, Tom Hurley <thurley (AT) insightful (DOT) comwrote:
    I have a web application and when I deploy, only some of my files are being
    copied from my webapp directory to the target directory. I get the following
    error which makes sense as the files are not being copied.

    [INF] Error assembling WAR: Deployment descriptor:
    D:\maven\rainier\IDRS\client\ManagementPortal\targ et\ManagementPortal\
    -INF\web.xml does not exist.

    Why are some and not all of the files being copied? I am new to maven and
    would appreciate any help in understanding why this is happening.

    Where is the web.xml file in your source code for your project?

    Normally, it would be in .

    If it's somewhere else, you'll have to tell Maven where that is,
    probably by configuring the war plugin.

Re: Creating a Java application


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Java"

EMSDN.COM