Create Java project with Maven archetype java-library-maven-archetype

Maven archetype for building Java libraries

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dversion="My-version"   -DprojectName="My-projectName"   -DorganizationName="My-organizationName"   -DcopyrightStartYear="My-copyrightStartYear"   -DintellijCodeStyleUrl="My-intellijCodeStyleUrl"   -DintellijInspectionProfileUrl="My-intellijInspectionProfileUrl"   -DarchetypeGroupId="com.github.gantsign.maven.archetypes"   -DarchetypeArtifactId="java-library-maven-archetype"   -DarchetypeVersion="4.3.0"   -DinteractiveMode=false 

Required parameters for generate java project:

version
validationRegex: ^[0-9]+\.[0-9]+\.[0-9]+-SNAPSHOT$
projectName
validationRegex: none
organizationName
validationRegex: none
copyrightStartYear
validationRegex: ^20[0-9]{2}$
intellijCodeStyleUrl
validationRegex: none
intellijInspectionProfileUrl
validationRegex: none

Details about maven archetype java-library-maven-archetype

License

License

GroupId

GroupId

com.github.gantsign.maven.archetypes
ArtifactId

ArtifactId

java-library-maven-archetype
Version

Version

4.3.0
Type

Type

maven-archetype
Description

Description

Java Library Maven Archetype
Maven archetype for building Java libraries

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.gantsign.maven.archetypes -DarchetypeArtifactId=java-library-maven-archetype -DarchetypeVersion=4.3.0 -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.