Cargo : Maven2 Archetypes
This page last changed on Mar 10, 2007 by vmassol.
Maven2 ArchetypesMaven2 has a powerful feature called Archetype. As part of the Cargo project we have created some Archetype that you can use to get a working project sample using the Cargo Maven2 plugin. Single Webapp Module ArchetypeShows how to configure Cargo and Maven2 to run functional tests directly from a single webapp module. To run it, execute: mvn archetype:create -DarchetypeGroupId=org.codehaus.cargo -DarchetypeArtifactId=cargo-archetype-webapp-single-module -DarchetypeVersion=<version> -DgroupId=<application groupId> -DartifactId=<application artifactId> where
Separate Functional Test Module ArchetypeShows how to configure Cargo and Maven2 to run functional tests by creating a functional tests module next to the webapp module. To run it, execute: mvn archetype:create -DarchetypeGroupId=org.codehaus.cargo -DarchetypeArtifactId=cargo-archetype-webapp-functional-tests-module -DarchetypeVersion=<version> -DgroupId=<application groupId> -DartifactId=<application artifactId> |
![]() |
Document generated by Confluence on Apr 08, 2009 13:39 |