V10Lift/pom.xml

233 lines
9.1 KiB
XML
Raw Normal View History

2020-01-30 11:50:29 +00: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/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>
<version>0.7.4.1</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>
<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
<!-- Shade JAR -->
2020-01-30 11:50:29 +00:00
<plugin>
<artifactId>maven-shade-plugin</artifactId>
2022-06-10 18:42:32 +00:00
<version>3.3.0</version>
<configuration>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
2022-06-10 18:42:32 +00:00
<shadedPattern>nl.SBDeveloper.V10Lift.libs.metrics</shadedPattern>
</relocation>
<relocation>
<pattern>com.zaxxer.hikari</pattern>
2022-06-10 18:42:32 +00:00
<shadedPattern>nl.SBDeveloper.V10Lift.libs.hikari</shadedPattern>
</relocation>
<relocation>
<pattern>com.cryptomorin.xseries</pattern>
2022-06-10 18:42:32 +00:00
<shadedPattern>nl.SBDeveloper.V10Lift.libs.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>
2022-06-10 18:42:32 +00:00
<version>3.10.1</version>
2020-02-08 09:59:57 +00:00
<configuration>
<release>11</release>
2020-02-08 09:59:57 +00:00
</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.20.0</version>
<configuration>
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<outputDirectory>${project.build.directory}/delombok</outputDirectory>
<addOutputDirectory>false</addOutputDirectory>
</configuration>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
2022-06-10 18:42:32 +00:00
<version>3.4.0</version>
<configuration>
<sourcepath>${project.build.directory}/delombok</sourcepath>
<!-- Exclude all non-API packages -->
<sourceFileExcludes>
<exclude>nl/SBDeveloper/V10Lift/*.java</exclude>
<exclude>nl/SBDeveloper/V10Lift/commands/*.java</exclude>
<exclude>nl/SBDeveloper/V10Lift/listeners/*.java</exclude>
<exclude>nl/SBDeveloper/V10Lift/sbutils/*.java</exclude>
<exclude>nl/SBDeveloper/V10Lift/utils/*.java</exclude>
</sourceFileExcludes>
</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>
2022-06-10 18:42:32 +00:00
<version>3.0.0-M2</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>
2022-06-10 18:42:32 +00:00
<version>1.6.13</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>iobyte-nexus</serverId>
2020-02-08 11:13:13 +00:00
<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>
<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>
2022-06-10 18:42:32 +00:00
<version>1.19-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>
2022-06-10 18:42:32 +00:00
<version>1.18.24</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>
2022-06-10 18:42:32 +00:00
<version>3.0.0</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>
2022-06-10 18:42:32 +00:00
<version>8.7.1</version>
<scope>compile</scope>
</dependency>
2022-06-10 18:42:32 +00:00
<!-- HikariCP, used for the database -->
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>4.0.3</version>
2022-06-10 18:42:32 +00:00
<scope>compile</scope>
</dependency>
2020-01-30 11:50:29 +00:00
</dependencies>
</project>