Create Java project with Maven archetype library-archetype

A Maven Archetype to ease the creation of new Java libraries.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DprojectName="My-projectName"   -DprojectDescription="My-projectDescription"   -DcurrentYear="My-currentYear"   -DdeveloperId="My-developerId"   -DdeveloperName="My-developerName"   -DdeveloperMail="My-developerMail"   -DdeveloperUrl="My-developerUrl"   -DrepoUserId="My-repoUserId"   -DurlSiteDeployRelease="My-urlSiteDeployRelease"   -DurlSiteDeployDevelop="My-urlSiteDeployDevelop"   -DurlSiteRelease="My-urlSiteRelease"   -DurlSiteDevelop="My-urlSiteDevelop"   -DarchetypeGroupId="com.wandrell.maven.archetypes"   -DarchetypeArtifactId="library-archetype"   -DarchetypeVersion="0.7.2"   -DinteractiveMode=false 

Required parameters for generate java project:

projectName
validationRegex: none
projectDescription
validationRegex: none
currentYear
validationRegex: none
developerId
validationRegex: none
developerName
validationRegex: none
developerMail
validationRegex: none
developerUrl
validationRegex: none
repoUserId
validationRegex: none
urlSiteDeployRelease
validationRegex: none
urlSiteDeployDevelop
validationRegex: none
urlSiteRelease
validationRegex: none
urlSiteDevelop
validationRegex: none

Details about maven archetype library-archetype

GroupId

GroupId

com.wandrell.maven.archetypes
ArtifactId

ArtifactId

library-archetype
Version

Version

0.7.2
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.wandrell.maven.archetypes -DarchetypeArtifactId=library-archetype -DarchetypeVersion=0.7.2 -DinteractiveMode=false