Create Java project with Maven archetype kotlin-archetype-jvm

Kotlin single-module JVM project archetype

Create a Java Project by archetype kotlin-archetype-jvm with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DkotlinVersion="My-kotlinVersion"   -DarchetypeGroupId="org.jetbrains.kotlin"   -DarchetypeArtifactId="kotlin-archetype-jvm"   -DarchetypeVersion="1.7.0"   -DinteractiveMode=false 

Required parameters for generate java project:

kotlinVersion
validationRegex: none

Details about maven archetype kotlin-archetype-jvm

License

License

GroupId

GroupId

org.jetbrains.kotlin
ArtifactId

ArtifactId

kotlin-archetype-jvm
Version

Version

1.7.0
Type

Type

maven-archetype
Description

Description

kotlin-archetype-jvm
Kotlin single-module JVM project archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.jetbrains.kotlin -DarchetypeArtifactId=kotlin-archetype-jvm -DarchetypeVersion=1.7.0 -DinteractiveMode=false

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.