mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-27 11:37:35 +01:00
194 lines
8.2 KiB
XML
194 lines
8.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>luckperms</artifactId>
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
<version>4.1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>luckperms-sponge</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<build>
|
|
<defaultGoal>clean package</defaultGoal>
|
|
<finalName>LuckPerms-Sponge-${full.version}</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${compiler.version}</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>${shade.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<relocations>
|
|
<!-- shaded dependencies -->
|
|
<relocation>
|
|
<pattern>net.kyori.text</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.text</shadedPattern>
|
|
</relocation>
|
|
|
|
<!-- relocated dependencies -->
|
|
<relocation>
|
|
<pattern>com.github.benmanes.caffeine</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.caffeine</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>okio</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.okio</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>okhttp3</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.okhttp3</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.mariadb.jdbc</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.mariadb</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.mysql</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.mysql</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.postgresql</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.postgresql</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.zaxxer.hikari</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.hikari</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.mongodb</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.mongodb</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.bson</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.bson</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>redis.clients.jedis</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.jedis</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>ninja.leaping.configurate</pattern>
|
|
<shadedPattern>me.lucko.luckperms.lib.configurate</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>templating-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>filter-src</id>
|
|
<goals>
|
|
<goal>filter-sources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<!-- common -->
|
|
<dependency>
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
<artifactId>luckperms-common</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- sponge service model -->
|
|
<dependency>
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
<artifactId>luckperms-sponge-service</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- api6 proxy -->
|
|
<dependency>
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
<artifactId>luckperms-sponge-service-api6</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!-- api7 proxy -->
|
|
<dependency>
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
<artifactId>luckperms-sponge-service-api7</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- Sponge -->
|
|
<dependency>
|
|
<groupId>org.spongepowered</groupId>
|
|
<artifactId>spongeapi</artifactId>
|
|
<version>8.0.0-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>ninja.leaping.configurate</groupId>
|
|
<artifactId>configurate-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>ninja.leaping.configurate</groupId>
|
|
<artifactId>configurate-hocon</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>ninja.leaping.configurate</groupId>
|
|
<artifactId>configurate-gson</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>ninja.leaping.configurate</groupId>
|
|
<artifactId>configurate-yaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- configurate -->
|
|
<dependency>
|
|
<groupId>me.lucko.configurate</groupId>
|
|
<artifactId>configurate-hocon</artifactId>
|
|
<version>3.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>sponge-repo</id>
|
|
<url>https://repo.spongepowered.org/maven</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
</project>
|