139 lines
3.9 KiB
XML
139 lines
3.9 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>amidst</groupId>
|
|
<artifactId>amidst</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<properties>
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
|
|
</properties>
|
|
<build>
|
|
<finalName>${amidst.build.filename}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>read-project-properties</goal>
|
|
</goals>
|
|
<configuration>
|
|
<files>
|
|
<file>${basedir}/src/main/resources/amidst/metadata.properties</file>
|
|
</files>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>install-jnbt</id>
|
|
<phase>clean</phase>
|
|
<goals>
|
|
<goal>install-file</goal>
|
|
</goals>
|
|
<configuration>
|
|
<file>${basedir}/lib/JNBT_1.3.jar</file>
|
|
<repositoryLayout>default</repositoryLayout>
|
|
<groupId>jnbt</groupId>
|
|
<artifactId>jnbt</artifactId>
|
|
<version>1.3</version>
|
|
<packaging>jar</packaging>
|
|
<generatePom>true</generatePom>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>2.9</version>
|
|
<configuration>
|
|
<downloadSources>true</downloadSources>
|
|
<downloadJavadocs>true</downloadJavadocs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>${amidst.build.jdk.version}</source>
|
|
<target>${amidst.build.jdk.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>amidst.Amidst</mainClass>
|
|
<manifestEntries>
|
|
<Amidst-Version>${amidst.build.filename}</Amidst-Version>
|
|
<Built-On>${maven.build.timestamp}</Built-On>
|
|
</manifestEntries>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.miglayout</groupId>
|
|
<artifactId>miglayout-swing</artifactId>
|
|
<version>4.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>args4j</groupId>
|
|
<artifactId>args4j</artifactId>
|
|
<version>2.32</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jnbt</groupId>
|
|
<artifactId>jnbt</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<scope>provided</scope>
|
|
<type>maven-plugin</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.vecmath</groupId>
|
|
<artifactId>vecmath</artifactId>
|
|
<version>1.5.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |