2021-06-01 14:19:40 +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"
|
2021-06-02 06:19:20 +00:00
|
|
|
|
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>
|
2021-06-01 14:19:40 +00:00
|
|
|
|
|
2021-06-02 06:19:20 +00:00
|
|
|
|
<groupId>Dragon</groupId>
|
|
|
|
|
<artifactId>DragonLottery</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
2021-06-01 14:19:40 +00:00
|
|
|
|
|
2021-06-02 06:19:20 +00:00
|
|
|
|
<name>DragonLottery-Maven</name>
|
|
|
|
|
<!-- FIXME change it to the project's website -->
|
|
|
|
|
<url>http://www.example.com</url>
|
2021-06-01 14:19:40 +00:00
|
|
|
|
|
2021-06-02 06:19:20 +00:00
|
|
|
|
<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>
|
2021-06-01 14:19:40 +00:00
|
|
|
|
|
2021-06-02 06:19:20 +00:00
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2021-06-01 14:19:40 +00:00
|
|
|
|
|
2021-06-02 06:19:20 +00:00
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>yumc-repo</id>
|
|
|
|
|
<url>https://repo.yumc.pw/repository/maven-public/</url>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- ProGuard -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.github.wvengen</groupId>
|
|
|
|
|
<artifactId>proguard-maven-plugin</artifactId>
|
|
|
|
|
<version>2.2.0</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>proguard</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<options>
|
|
|
|
|
<option>-repackageclasses \ʼ.ʽ.ʾ.${project.artifactId}</option>
|
|
|
|
|
<option>-keep class ${project.groupId}.${project.artifactId}.${project.artifactId}
|
|
|
|
|
</option>
|
|
|
|
|
<option>-keep class
|
|
|
|
|
${project.groupId}.${project.artifactId}.${project.artifactId}Bungee
|
|
|
|
|
</option>
|
|
|
|
|
</options>
|
|
|
|
|
<libs>
|
|
|
|
|
<lib>${java.home}/lib/rt.jar</lib>
|
|
|
|
|
</libs>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2021-06-01 14:19:40 +00:00
|
|
|
|
</project>
|