Create Java project with Maven archetype uberfire-component-archetype

UberFire Component Archetype

Create a Java Project by archetype uberfire-component-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -DartifactId="My-artifactId"   -DcomponentId="My-componentId"   -DcapitalizedComponentId="My-capitalizedComponentId"   -Dversion="My-version"   -DarchetypeGroupId="org.uberfire"   -DarchetypeArtifactId="uberfire-component-archetype"   -DarchetypeVersion="0.9.0.Final"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
artifactId
validationRegex: none
componentId
validationRegex: none
capitalizedComponentId
validationRegex: none
version
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-api
  • ${rootArtifactId}-backend
  • ${rootArtifactId}-client

Details about maven archetype uberfire-component-archetype

GroupId

GroupId

org.uberfire
ArtifactId

ArtifactId

uberfire-component-archetype
Version

Version

0.9.0.Final
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.uberfire -DarchetypeArtifactId=uberfire-component-archetype -DarchetypeVersion=0.9.0.Final -DinteractiveMode=false