Create Java project with Maven archetype 1.2-basic


Create a Java Project by archetype 1.2-basic with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dmake-remotable="My-make-remotable"   -DgroupId="My-groupId"   -DartifactId="My-artifactId"   -Dversion="My-version"   -DarchetypeGroupId="org.jboss.portletbridge.archetypes"   -DarchetypeArtifactId="1.2-basic"   -DarchetypeVersion="2.2.0-CR01"   -DinteractiveMode=false 

Required parameters for generate java project:

make-remotable
validationRegex: none
groupId
validationRegex: none
artifactId
validationRegex: none
version
validationRegex: none

Details about maven archetype 1.2-basic

GroupId

GroupId

org.jboss.portletbridge.archetypes
ArtifactId

ArtifactId

1.2-basic
Version

Version

2.2.0-CR01
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.jboss.portletbridge.archetypes -DarchetypeArtifactId=1.2-basic -DarchetypeVersion=2.2.0-CR01 -DinteractiveMode=false