mirror of
https://github.com/TotalFreedomMC/ZeroTelnetClient.git
synced 2024-12-22 16:25:14 +00:00
1408e4d09e
* Maven build script will now generate a Windows EXE file. * Minor cleanup & updates to take advantage of JDK/JRE 8 features and syntax.
170 lines
7.3 KiB
XML
170 lines
7.3 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>me.StevenLawson</groupId>
|
|
<artifactId>FreedomTelnetClient</artifactId>
|
|
<version>2.0.06</version>
|
|
<packaging>jar</packaging>
|
|
<name>FreedomTelnetClient</name>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<version>${project.version}</version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<version>3.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.json</groupId>
|
|
<artifactId>json</artifactId>
|
|
<version>20170516</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<configuration>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<version>1.4</version>
|
|
<configuration>
|
|
<revisionOnScmFailure>true</revisionOnScmFailure>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>create-timestamp-date</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>create-timestamp</goal>
|
|
</goals>
|
|
<configuration>
|
|
<timestampFormat>MM/dd/yyyy</timestampFormat>
|
|
<timestampPropertyName>timestampDate</timestampPropertyName>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>create-timestamp-combined</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>create-timestamp</goal>
|
|
</goals>
|
|
<configuration>
|
|
<timestampFormat>MMddyy-HHmmss</timestampFormat>
|
|
<timestampPropertyName>timestampCombined</timestampPropertyName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>write-project-properties</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputFile>${project.build.outputDirectory}/my.properties</outputFile>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
<shadedClassifierName>shaded</shadedClassifierName>
|
|
<minimizeJar>true</minimizeJar>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>me.StevenLawson.BukkitTelnetClient.BukkitTelnetClient</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
|
<artifactId>launch4j-maven-plugin</artifactId>
|
|
<version>1.7.18</version>
|
|
<executions>
|
|
<execution>
|
|
<id>l4j</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>launch4j</goal>
|
|
</goals>
|
|
<configuration>
|
|
<dontWrapJar>false</dontWrapJar>
|
|
<headerType>gui</headerType>
|
|
<jar>${project.build.directory}/${project.build.finalName}-shaded.jar</jar>
|
|
<outfile>${project.build.directory}/${project.build.finalName}-${timestampCombined}.exe</outfile>
|
|
<errTitle></errTitle>
|
|
<cmdLine></cmdLine>
|
|
<chdir>.</chdir>
|
|
<priority>normal</priority>
|
|
<downloadUrl>http://java.com/download</downloadUrl>
|
|
<supportUrl></supportUrl>
|
|
<stayAlive>false</stayAlive>
|
|
<restartOnCrash>false</restartOnCrash>
|
|
<manifest></manifest>
|
|
<icon>icon.ico</icon>
|
|
<singleInstance>
|
|
<mutexName>${project.artifactId}</mutexName>
|
|
<windowTitle></windowTitle>
|
|
</singleInstance>
|
|
<jre>
|
|
<path>jre</path>
|
|
<bundledJre64Bit>false</bundledJre64Bit>
|
|
<bundledJreAsFallback>false</bundledJreAsFallback>
|
|
<minVersion>1.8.0_0</minVersion>
|
|
<maxVersion></maxVersion>
|
|
<jdkPreference>preferJre</jdkPreference>
|
|
<runtimeBits>64/32</runtimeBits>
|
|
</jre>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|