Skip to content

kmos/archetypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archetypes

A series of very tiny archetypes

distribution

these archetypes are distributed with jitpack.io

Archetypes

  • junit5
  • kotlin
  • spring-boot

zsh configuration

function junit5(){
mvn  -B archetype:generate -Pjitpack -DgroupId=io.mosfet.$1 -DartifactId=$1 -DprojectName=$1 -DarchetypeGroupId=com.github.kmos.archetypes -DarchetypeArtifactId=junit5 -DarchetypeVersion=1.2.2 -Dversion=1.0-SNAPSHOT
}

function kotlin(){
mvn  -B archetype:generate -Pjitpack -DgroupId=io.mosfet.$1 -DartifactId=$1 -DprojectName=$1 -DarchetypeGroupId=com.github.kmos.archetypes -DarchetypeArtifactId=kotlin -DarchetypeVersion=1.2.2 -Dversion=1.0-SNAPSHOT
}
function spring(){
mvn  -B archetype:generate -Pjitpack -DgroupId=io.mosfet.$1 -DartifactId=$1 -DprojectName=$1 -DarchetypeGroupId=com.github.kmos.archetypes -DarchetypeArtifactId=spring-boot -DarchetypeVersion=1.2.2 -Dversion=1.0-SNAPSHOT
}