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

This is the Model archetype of Osgiliath framework

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dpackage="My-package"   -DpackageAsDirectory="My-packageAsDirectory"   -DarchetypeGroupId="net.osgiliath.archetypes"   -DarchetypeArtifactId="net.osgiliath.archetype.model"   -DarchetypeVersion="0.0.2"   -DinteractiveMode=false 

Required parameters for generate java project:

package
validationRegex: none
packageAsDirectory
validationRegex: none

Generated Project modules

  • ${rootArtifactId}.jpa
  • ${rootArtifactId}.database

Details about maven archetype net.osgiliath.archetype.model

GroupId

GroupId

net.osgiliath.archetypes
ArtifactId

ArtifactId

net.osgiliath.archetype.model
Version

Version

0.0.2
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.0.2 -DinteractiveMode=false