2020-02-12 21:35:01 +01:00
|
|
|
<?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.knarcraft.minecraftserverlauncher</groupId>
|
2020-02-13 23:09:03 +01:00
|
|
|
<artifactId>minecraft-server-launcher</artifactId>
|
2020-02-12 21:35:01 +01:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Minecraft Server Launcher</name>
|
|
|
|
<url>https://git.knarcraft.net/KnarCraft/Minecraft-Server-Launcher</url>
|
|
|
|
<inceptionYear>2013</inceptionYear>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>ALL RIGHTS RESERVED</name>
|
|
|
|
<url>https://git.knarcraft.net/KnarCraft/Minecraft-Server-Launcher/LICENCE</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>EpicKnarvik97</id>
|
|
|
|
<name>Kristian Knarvik</name>
|
|
|
|
<url>https://kristianknarvik.knarcraft.net</url>
|
|
|
|
<roles>
|
|
|
|
<role>leader</role>
|
|
|
|
<role>developer</role>
|
|
|
|
</roles>
|
|
|
|
<timezone>Europe/Oslo</timezone>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<!-- Build an executable JAR -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
<mainClass>net.knarcraft.minecraftserverlauncher.Main</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-02-13 23:09:03 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>true</appendAssemblyId>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<mainClass>net.knarcraft.minecraftserverlauncher.Main</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-jar-with-dependencies</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
<overWriteReleases>true</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-02-12 21:35:01 +01:00
|
|
|
</plugins>
|
|
|
|
<directory>${project.basedir}/target</directory>
|
|
|
|
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
|
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
|
|
<testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
2020-02-13 23:09:03 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.8.5</version>
|
|
|
|
</dependency>
|
2020-02-12 21:35:01 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|