Create Java project with Maven archetype samplegwt-archetype

A complete but simple archetype that connects GWT to several technologies: JPA 2, Hibernate, Spring Core, Spring Security, Spring Transactions.

Create a Java Project by archetype samplegwt-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DmoduleName="My-moduleName"   -DgwtVersion="My-gwtVersion"   -DgwtIntegrationVersion="My-gwtIntegrationVersion"   -DarchetypeGroupId="com.github.apetrelli.samplegwt"   -DarchetypeArtifactId="samplegwt-archetype"   -DarchetypeVersion="1.0.0-alpha4"   -DinteractiveMode=false 

Required parameters for generate java project:

moduleName
validationRegex: none
gwtVersion
validationRegex: none
gwtIntegrationVersion
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-shared
  • ${rootArtifactId}-model
  • ${rootArtifactId}-web

Details about maven archetype samplegwt-archetype

License

License

GroupId

GroupId

com.github.apetrelli.samplegwt
ArtifactId

ArtifactId

samplegwt-archetype
Version

Version

1.0.0-alpha4
Type

Type

maven-archetype
Description

Description

SampleGWT archetype
A complete but simple archetype that connects GWT to several technologies: JPA 2, Hibernate, Spring Core, Spring Security, Spring Transactions.

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.apetrelli.samplegwt -DarchetypeArtifactId=samplegwt-archetype -DarchetypeVersion=1.0.0-alpha4 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.