#1 Maven pom.xml

closed-accepted
David Gilbert
None
5
2008-06-27
2008-06-24
Niklas Therning
No

Here's my Maven pom.xml which I'm using with Eastwood. It doesn't require any changes to directory structure.

To build war and jar files in target/:
mvn package

To run the webapp using Jetty:
mvn jetty:run

Feel free to include this in trunk.

Discussion

  • David Gilbert
    David Gilbert
    2008-06-27

    • assigned_to: nobody --> mungady
     
  • David Gilbert
    David Gilbert
    2008-06-27

    Logged In: YES
    user_id=112975
    Originator: NO

    Hi Niklas,

    I don't use Maven so I don't know how these work. Should I put it into maven/pom.xml? Are you happy to maintain the file if changes are necessary?

    Regards,

    Dave

     
  •  
    Attachments
  • Logged In: YES
    user_id=1101005
    Originator: YES

    Ok, no problem, I can maintain the file. It should be in the project root to work properly.

    I've attached a new version which has some improvements over the older one. Will it be a problem that the Maven POM uses jfreechart 1.0.9 and jcommon 1.0.12? I noticed that you had committed newer versions of these jars. AFAICS the new versions are not yet in any Maven repository.
    File Added: pom.xml

     
  • David Gilbert
    David Gilbert
    2008-06-27

    • status: open --> closed-accepted
     
  • David Gilbert
    David Gilbert
    2008-06-27

    Logged In: YES
    user_id=112975
    Originator: NO

    OK, I've committed the file to the project root directory. Although I updated the JFreeChart version number, as far as I know it shouldn't matter if you still use 1.0.9. But at some point I may end up adding code to JFreeChart to support stuff required by Eastwood, so next time the version number goes up it may become an issue.

    Regards,

    Dave