Menu

#4 Maven build pom

open
nobody
None
5
2012-10-10
2012-04-16
No

Attached is a POM file that can be used for building the ytd2 code with maven. It supports 3 things:

  1. building a normal executable jar file
  2. building a single jar file containing dependencies (like the jar resource eclipse tool you currently use) using the maven onejar plugin
  3. building a Mac OS X app bundle if you build on OSX

You can get a finished ytd2 jar by running:

mvn install

In the target directory, there will be a ytd2-*.one-jar.jar file that is the equivalent of your current "runytd2.jar" file.

Discussion

  • Benjamin Reed

    Benjamin Reed - 2012-04-16

    pom file for building using maven

     
  • Mayur G Nagekar

    Mayur G Nagekar - 2012-10-10

    Hi Benjamin,
    I am not able to run my jar. I suspect something is wrong with my pom.xml. Can you please take a look and let me know where I messed up ? Attaching my pom.xml for your reference.Thanks.

    Regards,
    Mayur.

     

Anonymous
Anonymous

Add attachments
Cancel