META-INF.maven.archetype-metadata.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <archetype-descriptor xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="kotlin-application"> <requiredProperties> <requiredProperty key="version"> <!-- Maven only prompts for input if a defaultValue is an expression --> <defaultValue>${groupId.replaceAll("^.*$", "0.0.1-SNAPSHOT")}</defaultValue> <validationRegex>^[0-9]+\.[0-9]+\.[0-9]+-SNAPSHOT$</validationRegex> </requiredProperty> <requiredProperty key="projectName"/> <requiredProperty key="organizationName"/> <requiredProperty key="copyrightStartYear"> <defaultValue>${package.getClass().forName("java.time.LocalDate").now().getYear()}</defaultValue> <validationRegex>^20[0-9]{2}$</validationRegex> </requiredProperty> <requiredProperty key="dockerImageName"> <defaultValue>${artifactId}</defaultValue> <validationRegex>^[a-zA-Z0-9_][a-zA-Z0-9_\.\-]{0,127}$</validationRegex> </requiredProperty> <requiredProperty key="intellijCodeStyleUrl"> <defaultValue>https://raw.githubusercontent.com/gantsign/code-style-intellij/2.0.0/GantSign2.xml</defaultValue> </requiredProperty> <requiredProperty key="intellijInspectionProfileUrl"> <defaultValue>https://raw.githubusercontent.com/gantsign/inspection-profile-intellij/1.0.0/GantSign.xml</defaultValue> </requiredProperty> </requiredProperties> <fileSets> <fileSet filtered="true" packaged="true" encoding="UTF-8"> <directory>src/main/kotlin</directory> <includes> <include>**/*.kt</include> </includes> </fileSet> <fileSet> <directory>src/main/resources</directory> <includes> <include>.gitignore</include> </includes> </fileSet> <fileSet filtered="true" packaged="true" encoding="UTF-8"> <directory>src/test/kotlin</directory> <includes> <include>**/*.kt</include> </includes> </fileSet> <fileSet> <directory>src/test/resources</directory> <includes> <include>.gitignore</include> </includes> </fileSet> <fileSet> <directory>config</directory> <includes> <include>**/*.xml</include> </includes> </fileSet> <fileSet> <directory /> <includes> <include>.editorconfig</include> <include>.gitattributes</include> <include>.gitignore</include> <include>.mvn/jvm.config</include> </includes> </fileSet> <fileSet filtered="true" encoding="UTF-8"> <directory /> <includes> <include>docker-compose.yml</include> <include>DEVELOPMENT.md</include> </includes> </fileSet> <fileSet> <directory>.idea</directory> <includes> <include>**/*.xml</include> </includes> </fileSet> </fileSets> </archetype-descriptor>