181 lines
4.9 KiB
XML
181 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>net.sbyrne</groupId>
|
|
<artifactId>fig</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<name>${project.groupId}:${project.artifactId}</name>
|
|
<description>Fig file format</description>
|
|
<url>https://gitlab.com/sbyrne/fig</url>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>Stephen Byrne</name>
|
|
<email>gitlab@sbyrne.net</email>
|
|
<organization>Stephen Byrne</organization>
|
|
<organizationUrl>https://sbyrne.net</organizationUrl>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<kotlin.version>1.4.32</kotlin.version>
|
|
<kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<source>${project.basedir}/src/main/java</source>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<source>${project.basedir}/src/test/java</source>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jetbrains.dokka</groupId>
|
|
<artifactId>dokka-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>dokka</goal>
|
|
<goal>javadoc</goal>
|
|
<goal>javadocJar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.22.2</version>
|
|
<configuration>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>1.4.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-no-snapshots</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireReleaseDeps>
|
|
<message>Cannot have snapshot dependencies of a release!</message>
|
|
<onlyWhenRelease>true</onlyWhenRelease>
|
|
<searchTransitive>true</searchTransitive>
|
|
<failWhenParentIsSnapshot>true</failWhenParentIsSnapshot>
|
|
</requireReleaseDeps>
|
|
</rules>
|
|
<fail>true</fail>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<!-- Apache 2.0 -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<!-- Apache 2.0 -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<scope>test</scope>
|
|
<!-- Apache 2.0 -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.parboiled</groupId>
|
|
<artifactId>parboiled-core</artifactId>
|
|
<version>1.3.1</version>
|
|
<!-- Apache 2.0 -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.parboiled</groupId>
|
|
<artifactId>parboiled-java</artifactId>
|
|
<version>1.3.1</version>
|
|
<!-- Apache 2.0 -->
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.10.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
<artifactId>jackson-module-kotlin</artifactId>
|
|
<version>2.10.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|