104 lines
3.5 KiB
XML
104 lines
3.5 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>com.adzel.addyauthreborn</groupId>
|
|
<artifactId>AddyAuthReborn</artifactId>
|
|
<version>0.1-pre</version>
|
|
<name>AddyAuth Reborn</name>
|
|
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<paper.version>1.20.4-R0.1-SNAPSHOT</paper.version>
|
|
<bcrypt.version>0.9.0</bcrypt.version>
|
|
<mariadb.version>3.3.3</mariadb.version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>papermc-repo</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>sonatype-oss</id>
|
|
<url>https://oss.sonatype.org/content/repositories/releases/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!-- Paper API -->
|
|
<dependency>
|
|
<groupId>io.papermc.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>${paper.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Favre BCrypt -->
|
|
<dependency>
|
|
<groupId>at.favre.lib</groupId>
|
|
<artifactId>bcrypt</artifactId>
|
|
<version>${bcrypt.version}</version>
|
|
</dependency>
|
|
|
|
<!-- MariaDB JDBC Driver -->
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>${mariadb.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Adventure for MiniMessage -->
|
|
<dependency>
|
|
<groupId>net.kyori</groupId>
|
|
<artifactId>adventure-platform-bukkit</artifactId>
|
|
<version>4.3.2</version>
|
|
</dependency>
|
|
|
|
<!-- HikariCP -->
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
<version>5.1.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Java Compiler -->
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Shade Plugin -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals><goal>shade</goal></goals>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
<relocations>
|
|
<!-- OPTIONAL: Only add this if you want to shade bcrypt -->
|
|
<relocation>
|
|
<pattern>at.favre.lib</pattern>
|
|
<shadedPattern>com.adzel.addyauthreborn.shaded.bcrypt</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|