V10Lift/pom.xml

200 lines
8 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>tech.sbdevelopment</groupId>
<artifactId>V10Lift</artifactId>
2023-08-13 17:25:39 +00:00
<version>0.8</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>https://sbdevelopment.tech</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.lombok.delombok-target>${project.build.directory}/javadoc-delombok</maven.lombok.delombok-target>
</properties>
2020-01-30 11:50:29 +00:00
2020-02-08 11:13:13 +00:00
<distributionManagement>
<repository>
<id>sbdevelopment-repo</id>
<url>https://repo.sbdevelopment.tech/releases</url>
2020-02-08 11:13:13 +00:00
</repository>
</distributionManagement>
2020-01-30 11:50:29 +00:00
<build>
<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>
<version>3.5.0</version>
<configuration>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>tech.sbdevelopment.v10lift.libs.metrics</shadedPattern>
</relocation>
<relocation>
<pattern>com.zaxxer.hikari</pattern>
<shadedPattern>tech.sbdevelopment.v10lift.libs.hikari</shadedPattern>
</relocation>
<relocation>
<pattern>com.cryptomorin.xseries</pattern>
<shadedPattern>tech.sbdevelopment.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>
<version>3.11.0</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>${maven.lombok.delombok-target}</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>
<version>3.5.0</version>
<configuration>
<release>11</release>
<sourcepath>${maven.lombok.delombok-target}</sourcepath>
<sourceFileExcludes>
2023-08-13 19:45:32 +00:00
<exclude>tech/sbdevelopment/v10lift/*.java</exclude>
<exclude>tech/sbdevelopment/v10lift/commands/*.java</exclude>
<exclude>tech/sbdevelopment/v10lift/listeners/*.java</exclude>
<exclude>tech/sbdevelopment/v10lift/sbutils/*.java</exclude>
<exclude>tech/sbdevelopment/v10lift/utils/*.java</exclude>
</sourceFileExcludes>
</configuration>
</plugin>
2020-01-30 11:50:29 +00:00
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
2020-01-30 11:50:29 +00:00
</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>
<version>1.20.1-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>
<version>1.18.28</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>3.0.2</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.1</version>
2020-02-25 09:34:19 +00:00
<scope>provided</scope>
</dependency>
<!-- XSeries, used for multi version support -->
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>9.5.0</version>
2022-06-10 18:42:32 +00:00
<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>5.0.1</version>
2022-06-10 18:42:32 +00:00
<scope>compile</scope>
</dependency>
2020-01-30 11:50:29 +00:00
</dependencies>
</project>