Lee Thompson wrote:

I get this error

     [INFO] The desired archetype does not exist 
(org.apache.maven.its:maven-it-sample-archetype:1.0-SNAPSHOT)

The project sources reside at [0], I just deployed a snapshot to the Apache snapshot repository. Hope that does the trick for you, I am not familar with the Archetype stuff.

What is the best way to add IT tests?

Integration testing appears to be one aspect that hasn't been fully standarized yet in Maven world ;-). The doc you mentioned before describes the way the ITs for the Maven Core [1] are designed. The Maven Surefire Plugin follows the same approach and provides further examples of those ITs [2].

As an alternative, you could have a look at the Maven Invoker Plugin [3] and the Shitty Maven Plugin [4] which are in particular handy to test Maven plugins. Just scan the various plugins here at Mojo and you should find quite some examples of how to use them.


Benjamin


[0] http://svn.apache.org/repos/asf/maven/core-integration-testing/trunk/core-it-support/maven-it-archetype [1] http://svn.apache.org/repos/asf/maven/core-integration-testing/trunk/core-it-suite [2] http://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-integration-tests
[3] http://maven.apache.org/plugins/maven-invoker-plugin/
[4] http://mojo.codehaus.org/shitty-maven-plugin/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to