136 lines
4.6 KiB
XML
136 lines
4.6 KiB
XML
<?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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>mviper.plugin.hotels</groupId>
|
|
<artifactId>hotels</artifactId>
|
|
<name>Hotels</name>
|
|
<version>2.0.0ALPHA</version>
|
|
<description>Hotels Bukkit Plugin</description>
|
|
<url>https://github.com/mviper/hotels</url>
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
<defaultGoal>clean package</defaultGoal>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>.</targetPath>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.13.0</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<release>${java.version}</release>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>org.bstats:*</include>
|
|
<include>com.h2database:h2:*</include>
|
|
<include>org.hibernate.orm:*</include>
|
|
<include>jakarta.persistence:*</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>org.spigotmc:spigot-api</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>org.bstats</pattern>
|
|
<shadedPattern>mviper.plugin.hotels.libs.bstats</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.h2database</pattern>
|
|
<shadedPattern>mviper.plugin.hotels.libs.h2</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.hibernate</pattern>
|
|
<shadedPattern>mviper.plugin.hotels.libs.hibernate</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>jakarta.persistence</pattern>
|
|
<shadedPattern>mviper.plugin.hotels.libs.jakarta</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</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>
|
|
<repository>
|
|
<id>vault-repo</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
<repository>
|
|
<id>enginehub-maven</id>
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.21.4-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
<artifactId>VaultAPI</artifactId>
|
|
<version>1.7.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
<artifactId>worldguard-bukkit</artifactId>
|
|
<version>7.0.11</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sk89q.worldedit</groupId>
|
|
<artifactId>worldedit-bukkit</artifactId>
|
|
<version>7.3.6</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.persistence</groupId>
|
|
<artifactId>jakarta.persistence-api</artifactId>
|
|
<version>3.1.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<properties>
|
|
<java.version>21</java.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
</properties>
|
|
</project>
|