2016-08-05 12:58:27 +02: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">
|
|
|
|
<parent>
|
|
|
|
<artifactId>luckperms</artifactId>
|
|
|
|
<groupId>me.lucko.luckperms</groupId>
|
2016-09-25 18:32:58 +02:00
|
|
|
<version>2.10-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>
|
2016-08-20 02:39:19 +02:00
|
|
|
<finalName>LuckPermsSponge-${release.version}.${git.closest.tag.commit.count}</finalName>
|
2016-08-05 12:58:27 +02:00
|
|
|
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
|
|
|
|
<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>3.5.1</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>2.4.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-08-19 19:21:16 +02:00
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<artifactSet>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.slf4j:*</exclude>
|
|
|
|
<exclude>org.xerial:*</exclude>
|
|
|
|
<exclude>com.h2database:*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</artifactSet>
|
2016-08-06 12:25:23 +02:00
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.zaxxer.hikari</pattern>
|
|
|
|
<shadedPattern>me.lucko.luckperms.lib.hikari</shadedPattern>
|
|
|
|
</relocation>
|
2016-08-19 19:21:16 +02:00
|
|
|
<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>
|
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>de.icongmbh.oss.maven.plugins</groupId>
|
|
|
|
<artifactId>javassist-maven-plugin</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<includeTestClasses>false</includeTestClasses>
|
|
|
|
<transformerClasses>
|
|
|
|
<transformerClass>
|
|
|
|
<className>me.lucko.luckperms.utils.VersionUtil</className>
|
|
|
|
<properties>
|
|
|
|
<property>
|
|
|
|
<name>version</name>
|
2016-08-20 02:39:19 +02:00
|
|
|
<value>${release.version}.${git.closest.tag.commit.count}</value>
|
2016-08-06 12:25:23 +02:00
|
|
|
</property>
|
|
|
|
</properties>
|
|
|
|
</transformerClass>
|
|
|
|
</transformerClasses>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>javassist</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
|
|
<artifactId>luckperms-sponge</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2016-08-06 18:28:38 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<injectAllReactorProjects>true</injectAllReactorProjects>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-08-05 12:58:27 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Sponge API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spongepowered</groupId>
|
|
|
|
<artifactId>spongeapi</artifactId>
|
2016-08-27 17:59:00 +02:00
|
|
|
<version>5.0.0-SNAPSHOT</version>
|
2016-08-05 12:58:27 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- LuckPerms Common -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
|
|
<artifactId>luckperms-common</artifactId>
|
2016-08-06 12:25:23 +02:00
|
|
|
<version>${project.version}</version>
|
2016-08-05 12:58:27 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- LuckPerms API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>me.lucko.luckperms</groupId>
|
|
|
|
<artifactId>luckperms-api</artifactId>
|
2016-08-06 12:25:23 +02:00
|
|
|
<version>${project.version}</version>
|
2016-08-05 12:58:27 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-08-06 12:25:23 +02:00
|
|
|
<!-- javassist maven -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.icongmbh.oss.maven.plugins</groupId>
|
|
|
|
<artifactId>javassist-maven-plugin</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-08-15 16:09:16 +02:00
|
|
|
<!-- Lombok -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.16.10</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-08-05 12:58:27 +02:00
|
|
|
</dependencies>
|
|
|
|
</project>
|