Create Java project with Maven archetype htmlviewer-war


Create a Java Project by archetype htmlviewer-war with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="org.nakedobjects.plugins"   -DarchetypeArtifactId="htmlviewer-war"   -DarchetypeVersion="1.0-alpha-1"   -DinteractiveMode=false 

Generated Project modules

  • ${rootArtifactId}-webapp

Details about maven archetype htmlviewer-war

GroupId

GroupId

org.nakedobjects.plugins
ArtifactId

ArtifactId

htmlviewer-war
Version

Version

1.0-alpha-1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.nakedobjects.plugins -DarchetypeArtifactId=htmlviewer-war -DarchetypeVersion=1.0-alpha-1 -DinteractiveMode=false