Create Java project with Maven archetype java-archetype

OSNZ Java archetype

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -DartifactId="My-artifactId"   -Dversion="My-version"   -Dpackage="My-package"   -DarchetypeGroupId="nz.net.osnz"   -DarchetypeArtifactId="java-archetype"   -DarchetypeVersion="2.3"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
artifactId
validationRegex: none
version
validationRegex: none
package
validationRegex: none

Details about maven archetype java-archetype

License

License

GroupId

GroupId

nz.net.osnz
ArtifactId

ArtifactId

java-archetype
Version

Version

2.3
Type

Type

maven-archetype
Description

Description

java-archetype
OSNZ Java archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=nz.net.osnz -DarchetypeArtifactId=java-archetype -DarchetypeVersion=2.3 -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.