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

Maven archetype for building Java applications

Create a Java Project by archetype java-application-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"   -DdockerImageName="My-dockerImageName"   -DintellijCodeStyleUrl="My-intellijCodeStyleUrl"   -DintellijInspectionProfileUrl="My-intellijInspectionProfileUrl"   -DarchetypeGroupId="com.github.gantsign.maven.archetypes"   -DarchetypeArtifactId="java-application-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}$
dockerImageName
validationRegex: ^[a-zA-Z0-9_][a-zA-Z0-9_\.\-]{0,127}$
intellijCodeStyleUrl
validationRegex: none
intellijInspectionProfileUrl
validationRegex: none

Details about maven archetype java-application-maven-archetype

License

License

GroupId

GroupId

com.github.gantsign.maven.archetypes
ArtifactId

ArtifactId

java-application-maven-archetype
Version

Version

4.3.0
Type

Type

maven-archetype
Description

Description

Java Application Maven Archetype
Maven archetype for building Java applications

How to add to project

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