Create Java project with Maven archetype cargo-archetype-webapp-single-module

Sample Maven archetype showing how to configure Cargo and Maven to run functional tests directly from a single webapp module.

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

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

Details about maven archetype cargo-archetype-webapp-single-module

GroupId

GroupId

org.codehaus.cargo
ArtifactId

ArtifactId

cargo-archetype-webapp-single-module
Version

Version

1.7.15
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-single-module -DarchetypeVersion=1.7.15 -DinteractiveMode=false