Create Java project with Maven archetype archetype-java-junit
Maven archetype with recent java version, JUnit5, assertj and git repository in place.
Create a Java Project by archetype archetype-java-junit with Command Line:
mvn archetype:generate -DgroupId="com.mycompany.app" -DartifactId="my-app-id" -DjavaVersion="My-javaVersion" -DgitInit="My-gitInit" -DarchetypeGroupId="io.github.manedev79" -DarchetypeArtifactId="archetype-java-junit" -DarchetypeVersion="1.0.0-RC3" -DinteractiveMode=false
Required parameters for generate java project:
- javaVersion
-
validationRegex: ^[1-9][0-9]?$
- gitInit
-
validationRegex: true|false
Details about maven archetype archetype-java-junit
GroupId |
GroupIdio.github.manedev79 |
ArtifactId |
ArtifactIdarchetype-java-junit |
Version |
Version1.0.0-RC3 |
Type |
Typemaven-archetype |
How to add to project