Create Java project with Maven archetype library-archetype

Maven archetype for libraries

Create a Java Project by archetype library-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"   -Drepository="My-repository"   -Ddescription="My-description"   -DarchetypeGroupId="edu.byu.hbll.maven"   -DarchetypeArtifactId="library-archetype"   -DarchetypeVersion="3.0.0"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
artifactId
validationRegex: none
version
validationRegex: none
package
validationRegex: none
repository
validationRegex: none
description
validationRegex: none

Details about maven archetype library-archetype

GroupId

GroupId

edu.byu.hbll.maven
ArtifactId

ArtifactId

library-archetype
Version

Version

3.0.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=edu.byu.hbll.maven -DarchetypeArtifactId=library-archetype -DarchetypeVersion=3.0.0 -DinteractiveMode=false