V10Lift/pom.xml

245 lines
9.3 KiB
XML
Raw Normal View History

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>
2021-04-07 08:41:21 +00:00
<version>0.7.2</version>
2020-03-16 09:38:49 +00:00
<packaging>jar</packaging>
2020-01-30 11:50:29 +00:00
<name>V10Lift</name>
2020-03-16 09:38:49 +00:00
<description>Realistic lifts in Minecraft!</description>
<url>sbdplugins.nl</url>
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>
2020-03-16 09:38:49 +00:00
<java.version>1.8</java.version>
2020-02-16 17:54:33 +00:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
2020-01-30 11:50:29 +00:00
<build>
2020-03-16 09:38:49 +00:00
<defaultGoal>clean package</defaultGoal>
2020-02-16 17:54:33 +00:00
<!-- Include yml files -->
2020-01-30 11:50:29 +00:00
<resources>
<resource>
<directory>src/main/resources</directory>
2020-02-01 09:46:33 +00:00
<filtering>true</filtering>
2020-02-27 13:17:59 +00:00
</resource>
2020-01-30 11:50:29 +00:00
</resources>
2020-02-16 17:54:33 +00:00
<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-04-15 11:06:03 +00:00
<version>3.2.3</version>
<configuration>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>nl.SBDeveloper.V10Lift.utils.metrics</shadedPattern>
</relocation>
<relocation>
<pattern>com.zaxxer.hikari</pattern>
<shadedPattern>nl.SBDeveloper.V10Lift.utils.hikari</shadedPattern>
</relocation>
<relocation>
<pattern>com.cryptomorin.xseries</pattern>
<shadedPattern>nl.SBDeveloper.V10Lift.utils.xseries</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>com/cryptomorin/xseries/XPotion*</exclude>
<exclude>com/cryptomorin/xseries/XItemStack*</exclude>
<exclude>com/cryptomorin/xseries/XEntity*</exclude>
<exclude>com/cryptomorin/xseries/XEnchantment*</exclude>
<exclude>com/cryptomorin/xseries/XBlock*</exclude>
<exclude>com/cryptomorin/xseries/XBiome*</exclude>
<exclude>com/cryptomorin/xseries/SkullUtils*</exclude>
<exclude>com/cryptomorin/xseries/ReflectionUtils*</exclude>
<exclude>com/cryptomorin/xseries/NMSExtras*</exclude>
<exclude>com/cryptomorin/xseries/NoteBlockMusic*</exclude>
<exclude>com/cryptomorin/xseries/particles/*</exclude>
<exclude>com/cryptomorin/xseries/messages/*</exclude>
</excludes>
</filter>
</filters>
</configuration>
2020-01-30 11:50:29 +00:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
2020-03-16 09:38:49 +00:00
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
2020-01-30 11:50:29 +00:00
</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>
<version>3.8.1</version>
2020-02-08 09:59:57 +00:00
<configuration>
2020-03-16 09:38:49 +00:00
<source>${java.version}</source>
<target>${java.version}</target>
2020-02-08 09:59:57 +00:00
<compilerArgument>-parameters</compilerArgument>
</configuration>
</plugin>
2020-02-16 17:54:33 +00:00
<!-- Delombok the source for the javadoc -->
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>1.18.12.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 -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</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>
<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>
<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>
<repository>
<id>CodeMC</id>
<url>https://repo.codemc.org/repository/maven-public</url>
</repository>
2020-02-25 09:34:19 +00:00
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</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>
2020-09-20 13:12:21 +00:00
<version>1.16.3-R0.1-SNAPSHOT</version>
2020-01-30 11:50:29 +00:00
<scope>provided</scope>
</dependency>
2020-02-16 17:54:33 +00:00
<!-- SnakeYAML - Included in Spigot and used for the ConfigUpdater -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.27</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>
<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
<!-- BStats, used for metrics -->
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.7</version>
<scope>compile</scope>
</dependency>
2020-02-25 09:34:19 +00:00
<!-- Vault, used for permission checks -->
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>
</dependency>
<!-- XSeries, used for multi version support -->
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>7.9.1.1</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>3.4.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.6.4</version>
</dependency>
2020-01-30 11:50:29 +00:00
</dependencies>
</project>