Create Java project with Maven archetype net.osgiliath.archetype.model

Must be behind an Osgiliath parent archetype, database persistence of your model

Create a Java Project by archetype net.osgiliath.archetype.model with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="net.osgiliath.archetypes"   -DarchetypeArtifactId="net.osgiliath.archetype.model"   -DarchetypeVersion="0.3.1"   -DinteractiveMode=false 

Generated Project modules

  • ${rootArtifactId}.jpa
  • ${rootArtifactId}.entities

Details about maven archetype net.osgiliath.archetype.model

GroupId

GroupId

net.osgiliath.archetypes
ArtifactId

ArtifactId

net.osgiliath.archetype.model
Version

Version

0.3.1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=net.osgiliath.archetypes -DarchetypeArtifactId=net.osgiliath.archetype.model -DarchetypeVersion=0.3.1 -DinteractiveMode=false