Create Java project with Maven archetype jboss-javaee6-webapp

An archetype that generates a starter Java EE 6 webapp project

Create a Java Project by archetype jboss-javaee6-webapp with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dname="My-name"   -DarchetypeGroupId="org.jboss.weld.archetypes"   -DarchetypeArtifactId="jboss-javaee6-webapp"   -DarchetypeVersion="1.0.1.CR1"   -DinteractiveMode=false 

Required parameters for generate java project:

name
validationRegex: none

Details about maven archetype jboss-javaee6-webapp

GroupId

GroupId

org.jboss.weld.archetypes
ArtifactId

ArtifactId

jboss-javaee6-webapp
Version

Version

1.0.1.CR1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.jboss.weld.archetypes -DarchetypeArtifactId=jboss-javaee6-webapp -DarchetypeVersion=1.0.1.CR1 -DinteractiveMode=false