Create Java project with Maven archetype github-workflow-java-archetype

Maven Archetype to generate a java based projects with configured github workflow

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DGithubOrgOrAccount="My-GithubOrgOrAccount"   -Dversion="My-version"   -DarchetypeGroupId="com.github.hemantsonu20"   -DarchetypeArtifactId="github-workflow-java-archetype"   -DarchetypeVersion="1.0.0"   -DinteractiveMode=false 

Required parameters for generate java project:

GithubOrgOrAccount
validationRegex: none
version
validationRegex: none

Details about maven archetype github-workflow-java-archetype

GroupId

GroupId

com.github.hemantsonu20
ArtifactId

ArtifactId

github-workflow-java-archetype
Version

Version

1.0.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.hemantsonu20 -DarchetypeArtifactId=github-workflow-java-archetype -DarchetypeVersion=1.0.0 -DinteractiveMode=false