LuckPerms/sponge/pom.xml

157 lines
6.7 KiB
XML
Raw Normal View History

2016-08-05 12:58:27 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2016-12-02 21:20:24 +01:00
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
2016-08-05 12:58:27 +02:00
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>
2017-11-07 23:05:44 +01:00
<version>4.0-SNAPSHOT</version>
2016-08-05 12:58:27 +02:00
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>luckperms-sponge</artifactId>
<packaging>jar</packaging>
<build>
<defaultGoal>clean package</defaultGoal>
2017-04-15 20:01:39 +02:00
<finalName>LuckPerms-Sponge-${full.version}</finalName>
2016-08-05 12:58:27 +02:00
<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>
2016-08-05 12:58:27 +02:00
<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>
2016-08-05 12:58:27 +02:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>false</minimizeJar>
<createDependencyReducedPom>false</createDependencyReducedPom>
2016-08-06 12:25:23 +02:00
<relocations>
<!-- shaded dependencies -->
<relocation>
<pattern>net.kyori.text</pattern>
<shadedPattern>me.lucko.luckperms.lib.text</shadedPattern>
</relocation>
<!-- relocated dependencies -->
<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>org.h2</pattern>
<shadedPattern>me.lucko.luckperms.lib.h2</shadedPattern>
</relocation>
<relocation>
<pattern>org.sqlite</pattern>
<shadedPattern>me.lucko.luckperms.lib.sqlite</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>org.apache.commons.pool2</pattern>
<shadedPattern>me.lucko.luckperms.lib.commonspool2</shadedPattern>
</relocation>
2016-08-06 12:25:23 +02:00
</relocations>
2016-08-05 12:58:27 +02:00
</configuration>
</execution>
</executions>
</plugin>
2016-08-06 12:25:23 +02:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0.0</version>
2016-08-06 12:25:23 +02:00
<executions>
<execution>
<id>filter-src</id>
2016-08-06 12:25:23 +02:00
<goals>
<goal>filter-sources</goal>
2016-08-06 12:25:23 +02:00
</goals>
</execution>
</executions>
</plugin>
2016-08-05 12:58:27 +02:00
</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 -->
2016-08-05 12:58:27 +02:00
<dependency>
<groupId>org.spongepowered</groupId>
<artifactId>spongeapi</artifactId>
2017-05-09 13:55:45 +02:00
<version>6.0.0</version>
2016-08-05 12:58:27 +02:00
<scope>provided</scope>
</dependency>
</dependencies>
2017-04-15 20:01:39 +02:00
2016-08-05 12:58:27 +02:00
</project>