Create Java project with Maven archetype jboss-html5-mobile-archetype

An archetype that generates an AeroGear Java EE 6 application using HTML5, and JAX-RS to support both desktop and mobile web browsers

Create a Java Project by archetype jboss-html5-mobile-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dname="My-name"   -Denterprise="My-enterprise"   -DtableSuffix="My-tableSuffix"   -DarchetypeGroupId="org.jboss.aerogear.archetypes"   -DarchetypeArtifactId="jboss-html5-mobile-archetype"   -DarchetypeVersion="1.0.0.M2"   -DinteractiveMode=false 

Required parameters for generate java project:

name
validationRegex: none
enterprise
validationRegex: none
tableSuffix
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-web
  • ${rootArtifactId}-services

Details about maven archetype jboss-html5-mobile-archetype

GroupId

GroupId

org.jboss.aerogear.archetypes
ArtifactId

ArtifactId

jboss-html5-mobile-archetype
Version

Version

1.0.0.M2
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.jboss.aerogear.archetypes -DarchetypeArtifactId=jboss-html5-mobile-archetype -DarchetypeVersion=1.0.0.M2 -DinteractiveMode=false