Create Java project with Maven archetype playn-archetype

Archetype for PlayN game projects.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgameName="My-gameName"   -DarchetypeGroupId="com.googlecode.playn"   -DarchetypeArtifactId="playn-archetype"   -DarchetypeVersion="1.0.1"   -DinteractiveMode=false 

Required parameters for generate java project:

gameName
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-core
  • ${rootArtifactId}-java
  • ${rootArtifactId}-html
  • ${rootArtifactId}-android

Details about maven archetype playn-archetype

GroupId

GroupId

com.googlecode.playn
ArtifactId

ArtifactId

playn-archetype
Version

Version

1.0.1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.googlecode.playn -DarchetypeArtifactId=playn-archetype -DarchetypeVersion=1.0.1 -DinteractiveMode=false