All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.maven.archetype-metadata.xml Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
<?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="licenseName">
      <validationRegex>^(agpl_v3|apache_v2|bsd_2|bsd_3|cddl_v1|epl_only_v1|epl_v1|eupl_v1_1|fdl_v1_3|gpl_v1|gpl_v2|gpl_v3|lgpl_v2_1|lgpl_v3|mit)$</validationRegex>
    </requiredProperty>
    <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 />
      <includes>
        <include>.editorconfig</include>
        <include>.gitattributes</include>
        <include>.gitignore</include>
      </includes>
    </fileSet>
    <fileSet filtered="true" encoding="UTF-8">
      <directory />
      <includes>
        <include>docker-compose.yml</include>
      </includes>
    </fileSet>
    <fileSet>
      <directory>.idea</directory>
      <includes>
        <include>**/*.xml</include>
      </includes>
    </fileSet>
  </fileSets>
</archetype-descriptor>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy