Create Java project with Maven archetype cargo-archetype-webapp-functional-tests-module

Sample Maven archetype showing how to configure Cargo and Maven to run functional tests for a webapp by creating a separate functional-tests module.

Create a Java Project by archetype cargo-archetype-webapp-functional-tests-module with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="org.codehaus.cargo"   -DarchetypeArtifactId="cargo-archetype-webapp-functional-tests-module"   -DarchetypeVersion="1.7.8"   -DinteractiveMode=false 

Generated Project modules

  • ${rootArtifactId}-webapp
  • ${rootArtifactId}-functional-tests

Details about maven archetype cargo-archetype-webapp-functional-tests-module

GroupId

GroupId

org.codehaus.cargo
ArtifactId

ArtifactId

cargo-archetype-webapp-functional-tests-module
Version

Version

1.7.8
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.codehaus.cargo -DarchetypeArtifactId=cargo-archetype-webapp-functional-tests-module -DarchetypeVersion=1.7.8 -DinteractiveMode=false