Test phase for a command line tool (resend)

2011-03-21 Thread Rick Genter
Note: I sent this on Friday (2011-03-18) but saw no response, so am resending on the chance that it somehow got lost in transit. Caveat: I am new to Maven. I've read the online documentation but haven't found a good source of sample POMs other than for very basic configurations. I have a POM

Re: Test phase for a command line tool (resend)

2011-03-21 Thread Thomas Sundberg
Hi! You may some basic poms at my blog, http://thomassundberg.wordpress.com/ I would locate a test script in the project root and have it to point to a self-contained jar in ./target Another option would be to use the Resource plugin, http://maven.apache.org/plugins/maven-resources-plugin/ and

Re: Test phase for a command line tool (resend)

2011-03-21 Thread Anders Hammar
I would integrate these integration tests into the build itself. Either in the maven Project itself (if you only have one project) or in a separate module. You can use the maven-invoker-plugin for example to execute the integration tests (along with creating all necessary jars, or whatever, that

RE: Test phase for a command line tool (resend)

2011-03-21 Thread Martin Gainty
MGhopefully quick response From: rgen...@interactions.net Subject: Test phase for a command line tool (resend) Date: Mon, 21 Mar 2011 09:24:27 -0400 CC: rgen...@interactions.net To: users@maven.apache.org Note: I sent this on Friday (2011-03-18) but saw no response, so am resending

Test phase for a command line tool

2011-03-18 Thread Rick Genter
Caveat: I am new to Maven. I've read the online documentation but haven't found a good source of sample POMs other than for very basic configurations. I have a POM that builds a command-line tool. I figured out how to use the assembly plugin to build a self-contained jar, but now I need to be