Slipstream-Mod-Manager/pom.xml

146 lines
No EOL
4.4 KiB
XML

<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.vhati.modmanager</groupId>
<artifactId>ftl-mod-manager</artifactId>
<version>1.9</version>
<name>Slipstream Mod Manager</name>
<!-- Determined by mvn versions:display-plugin-updates -->
<prerequisites>
<maven>2.2.1</maven>
</prerequisites>
<properties>
<jdk.version>1.6</jdk.version>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!--
Don't include meta-packages as dependencies.
They cause the "jar-with-dependencies" task
to throw an error about "Negative Time",
probably for setting timestamps on their
non-existent class files.
-->
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
</dependency>
<dependency> <!-- Since 2.7, uses Java 7 features via reflection, but runs on Java 6. -->
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.7.9.2</version> <!-- Since 2.8, will not run on Java 6. -->
</dependency>
<dependency>
<groupId>ar.com.hjg</groupId>
<artifactId>pngj</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom2</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>2.2.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<compilerArgument>-Xlint:unchecked</compilerArgument>
<compilerArgument>-Xlint:deprecation</compilerArgument>
</configuration>
</plugin>
<plugin>
<!--
Assembly 2.4.0 needed its own dependencies pinned to get
around a Plexus Archiver tar bug. And Assembly 2.4.1 fixed
fileSet lineEnding bug that ate the final newlines.
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
<executions>
<execution> <!-- Build jar. -->
<id>jar-with-dependencies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>net.vhati.modmanager.FTLModManager</mainClass>
</manifest>
<manifestEntries>
<Built-By>Vhati</Built-By>
</manifestEntries>
</archive>
<finalName>modman</finalName>
<appendAssemblyId>false</appendAssemblyId>
<attach>false</attach>
</configuration>
</execution>
<execution> <!-- Build zip archive. -->
<id>dist-win</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/dist-win.xml</descriptor>
</descriptors>
<finalName>SlipstreamModManager_${project.version}-Win</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution> <!-- Build tar.gz archive. -->
<id>dist-unix</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/dist-unix.xml</descriptor>
</descriptors>
<finalName>SlipstreamModManager_${project.version}-Unix</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>