2024-04-27 03:41:08 +00: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>cc.fascinated.piaservers</groupId>
|
|
|
|
<artifactId>PIA-Servers</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
2024-04-27 04:00:44 +00:00
|
|
|
<!-- Properties -->
|
2024-04-27 03:41:08 +00:00
|
|
|
<properties>
|
2024-04-27 04:00:44 +00:00
|
|
|
<java.version>17</java.version>
|
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
2024-04-27 03:41:08 +00:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2024-04-27 04:00:44 +00:00
|
|
|
<slf4j.version>2.1.0-alpha1</slf4j.version>
|
2024-04-27 03:41:08 +00:00
|
|
|
</properties>
|
|
|
|
|
2024-04-27 04:00:44 +00:00
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<!-- Used for compiling the source code with the proper Java version -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.13.0</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
|
|
|
|
<!-- Enable incremental builds, this is reversed due to -->
|
|
|
|
<!-- a bug as seen in https://issues.apache.org/jira/browse/MCOMPILER-209 -->
|
|
|
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Handles shading of dependencies in the final output jar -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.5.3</version>
|
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Specify the apps main class -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>cc.fascinated.piaservers.Main</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2024-04-29 00:14:41 +00:00
|
|
|
<!-- Repos -->
|
|
|
|
<repositories>
|
|
|
|
<!-- Jitpack - Used for dnsjava -->
|
|
|
|
<repository>
|
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2024-04-27 03:41:08 +00:00
|
|
|
<dependencies>
|
|
|
|
<!-- Libraries -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.32</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2024-04-29 00:14:41 +00:00
|
|
|
<!-- DNS -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.dnsjava</groupId>
|
|
|
|
<artifactId>dnsjava</artifactId>
|
|
|
|
<version>v3.5.2</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2024-04-27 03:41:08 +00:00
|
|
|
<!-- Archive Utilities -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-archiver</artifactId>
|
|
|
|
<version>4.9.2</version>
|
2024-04-27 04:00:44 +00:00
|
|
|
<scope>compile</scope>
|
2024-04-27 03:41:08 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</project>
|