2020-01-30 11:50:29 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-02-16 17:54:33 +00:00
|
|
|
<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/maven-v4_0_0.xsd">
|
2020-01-30 11:50:29 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>nl.SBDeveloper</groupId>
|
|
|
|
<artifactId>V10Lift2</artifactId>
|
|
|
|
<name>V10Lift</name>
|
2020-02-23 09:52:45 +00:00
|
|
|
<version>0.5.3</version>
|
2020-01-30 11:50:29 +00:00
|
|
|
|
2020-02-08 11:13:13 +00:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>iobyte-nexus</id>
|
|
|
|
<url>https://nexus.iobyte.nl/repository/maven-releases</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
2020-02-16 17:54:33 +00:00
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
</properties>
|
|
|
|
|
2020-01-30 11:50:29 +00:00
|
|
|
<build>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Include yml files -->
|
2020-01-30 11:50:29 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2020-02-01 09:46:33 +00:00
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>config.yml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2020-01-30 11:50:29 +00:00
|
|
|
</resources>
|
2020-02-16 17:54:33 +00:00
|
|
|
<directory>target</directory>
|
|
|
|
<finalName>V10Lift v${project.version}</finalName>
|
2020-01-30 11:50:29 +00:00
|
|
|
<plugins>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Clean -->
|
2020-02-08 11:13:13 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</plugin>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Shade JAR -->
|
2020-01-30 11:50:29 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2020-02-12 12:28:30 +00:00
|
|
|
<version>3.2.2</version>
|
2020-02-21 09:18:59 +00:00
|
|
|
<configuration>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.bstats</pattern>
|
|
|
|
<shadedPattern>nl.SBDeveloper.V10Lift.Metrics</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
</relocations>
|
|
|
|
</configuration>
|
2020-01-30 11:50:29 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Compile JAR -->
|
2020-02-08 09:59:57 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-02-08 21:11:53 +00:00
|
|
|
<version>3.8.1</version>
|
2020-02-08 09:59:57 +00:00
|
|
|
<configuration>
|
|
|
|
<compilerArgument>-parameters</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Delombok the source for the javadoc -->
|
2020-02-08 10:56:17 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok-maven-plugin</artifactId>
|
|
|
|
<version>1.18.10.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>delombok</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Build the javadoc -->
|
2020-02-08 10:56:17 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>3.1.1</version>
|
|
|
|
<configuration>
|
|
|
|
<sourceFileIncludes>
|
|
|
|
<include>nl/SBDeveloper/V10Lift/API/*.java</include>
|
|
|
|
<include>nl/SBDeveloper/V10Lift/API/Objects/*.java</include>
|
|
|
|
</sourceFileIncludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- SKIP the maven deploy -->
|
2020-02-08 11:13:13 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2020-02-08 21:11:58 +00:00
|
|
|
<version>2.8.2</version>
|
2020-02-08 11:13:13 +00:00
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Deploy to nexus -->
|
2020-02-08 11:13:13 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
2020-02-08 23:19:49 +00:00
|
|
|
<version>1.6.8</version>
|
2020-02-08 11:13:13 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-deploy</id>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>deploy</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<serverId>nexus</serverId>
|
|
|
|
<nexusUrl>https://nexus.iobyte.nl/</nexusUrl>
|
|
|
|
<skipStaging>true</skipStaging>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-01-30 11:50:29 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
|
|
</repository>
|
2020-02-06 18:46:15 +00:00
|
|
|
<repository>
|
|
|
|
<id>iobyte-repo</id>
|
|
|
|
<url>https://nexus.iobyte.nl/repository/maven-public/</url>
|
|
|
|
</repository>
|
2020-02-21 09:18:59 +00:00
|
|
|
<repository>
|
|
|
|
<id>CodeMC</id>
|
|
|
|
<url>https://repo.codemc.org/repository/maven-public</url>
|
|
|
|
</repository>
|
2020-01-30 11:50:29 +00:00
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
2020-02-16 17:54:33 +00:00
|
|
|
<!-- Spigot dependency -->
|
2020-01-30 11:50:29 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
<version>1.15.2-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-02-16 17:54:33 +00:00
|
|
|
|
|
|
|
<!-- Lombok, used for the objects -->
|
2020-01-30 11:50:29 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2020-02-08 22:32:07 +00:00
|
|
|
<version>1.18.12</version>
|
2020-01-30 11:50:29 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-02-16 17:54:33 +00:00
|
|
|
|
|
|
|
<!-- SBUtilities, our own Util dependency, used for all sort of things -->
|
2020-02-06 18:46:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>nl.SBDevelopment</groupId>
|
|
|
|
<artifactId>SBUtilities</artifactId>
|
2020-02-16 18:16:27 +00:00
|
|
|
<version>1.2</version>
|
2020-02-06 19:47:47 +00:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-02-16 17:54:33 +00:00
|
|
|
|
|
|
|
<!-- Jackson, used for Object to JSON -->
|
2020-02-24 15:58:28 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
2020-02-24 17:10:37 +00:00
|
|
|
<version>2.9.6</version>
|
2020-02-24 15:58:28 +00:00
|
|
|
</dependency>
|
2020-02-06 19:47:47 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
2020-02-24 17:10:37 +00:00
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<version>2.9.6</version>
|
2020-02-08 09:59:57 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-02-24 17:10:37 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2020-02-24 17:15:55 +00:00
|
|
|
<version>2.9.10.1</version>
|
2020-02-06 18:46:15 +00:00
|
|
|
</dependency>
|
2020-02-21 09:18:59 +00:00
|
|
|
|
|
|
|
<!-- BStats, used for metrics -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bstats</groupId>
|
|
|
|
<artifactId>bstats-bukkit</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2020-01-30 11:50:29 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</project>
|