Create Java project with Maven archetype java-starter

A Maven archetype for generating Java projects with configuration for enabling/disabling preview features.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DjavaPreviewFeatures="My-javaPreviewFeatures"   -Dversion="My-version"   -DjdkVersion="My-jdkVersion"   -Dpackage="My-package"   -DarchetypeGroupId="no.dervis"   -DarchetypeArtifactId="java-starter"   -DarchetypeVersion="1.0.2"   -DinteractiveMode=false 

Required parameters for generate java project:

javaPreviewFeatures
validationRegex: ^yes$|^y$|^no$|^n$
version
validationRegex: ^[0-9]+\.[0-9]+(\.[0-9]+)?$
jdkVersion
validationRegex: ([89]|1[0-9]|20)
package
validationRegex: none

Details about maven archetype java-starter

License

License

GroupId

GroupId

no.dervis
ArtifactId

ArtifactId

java-starter
Version

Version

1.0.2
Type

Type

maven-archetype
Description

Description

java-starter
A Maven archetype for generating Java projects with configuration for enabling/disabling preview features.
Project URL

Project URL

https://github.com/dervism/java-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=no.dervis -DarchetypeArtifactId=java-starter -DarchetypeVersion=1.0.2 -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.