2016-07-03 20:59:29 +02: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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>de.epiceric</groupId>
|
2022-04-18 15:53:52 +02:00
|
|
|
<artifactId>shopchest-parent</artifactId>
|
|
|
|
<version>1.15.0-SNAPSHOT</version>
|
2021-12-27 15:36:23 +01:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<modules>
|
2022-04-18 03:10:13 +02:00
|
|
|
<module>common</module>
|
2021-12-27 15:36:23 +01:00
|
|
|
<module>plugin</module>
|
2022-04-17 22:07:54 +02:00
|
|
|
<module>external</module>
|
2021-12-27 15:36:23 +01:00
|
|
|
</modules>
|
2017-07-27 01:17:34 +02:00
|
|
|
|
2022-07-23 22:08:35 +02:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>build-nms</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>buildNMS</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<modules>
|
|
|
|
<module>nms</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>import-nms</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!buildNMS</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2022-07-24 02:53:50 +02:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>github</id>
|
|
|
|
<name>GitHub Packages</name>
|
|
|
|
<url>https://maven.pkg.github.com/Flowsqy/ShopChest</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2022-07-23 22:08:35 +02:00
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2018-07-25 12:52:28 +02:00
|
|
|
<name>ShopChest</name>
|
2016-07-06 21:37:41 +02:00
|
|
|
<url>https://www.spigotmc.org/resources/shopchest.11431/</url>
|
2020-03-01 13:35:53 +01:00
|
|
|
<description>A Bukkit plugin letting players create custom chest shops.</description>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:https://github.com/EpicEricEE/ShopChest.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:EpicEricEE/ShopChest.git</developerConnection>
|
|
|
|
<url>https://github.com/EpicEricEE/ShopChest</url>
|
2020-03-01 14:34:50 +01:00
|
|
|
<tag>HEAD</tag>
|
2020-03-01 13:35:53 +01:00
|
|
|
</scm>
|
|
|
|
|
|
|
|
<ciManagement>
|
|
|
|
<system>jenkins</system>
|
|
|
|
<url>http://ci.codemc.io/job/EpicEricEE/job/ShopChest/</url>
|
|
|
|
</ciManagement>
|
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
<system>GitHub</system>
|
|
|
|
<url>https://github.com/EpicEricEE/ShopChest/issues</url>
|
|
|
|
</issueManagement>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
2022-07-24 02:53:50 +02:00
|
|
|
<id>github</id>
|
|
|
|
<name>GitHub Packages</name>
|
|
|
|
<url>https://maven.pkg.github.com/Flowsqy/ShopChest</url>
|
2020-03-01 13:35:53 +01:00
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
2016-07-03 20:59:29 +02:00
|
|
|
|
|
|
|
<properties>
|
2018-07-25 12:52:28 +02:00
|
|
|
<!-- Encoding Properties -->
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.build.outputEncoding>UTF-8</project.build.outputEncoding>
|
2016-07-05 15:08:44 +02:00
|
|
|
|
2017-07-27 01:17:34 +02:00
|
|
|
<!-- JDK Version -->
|
2022-02-27 16:20:07 +01:00
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
2021-12-29 15:08:26 +01:00
|
|
|
|
2022-07-24 02:53:50 +02:00
|
|
|
<!-- Avoid the deployment of all artifact -->
|
|
|
|
<maven.deploy.skip>true</maven.deploy.skip>
|
|
|
|
|
2022-04-18 15:53:52 +02:00
|
|
|
<!-- Name of the plugin for the final jar -->
|
|
|
|
<buildName>ShopChest</buildName>
|
2016-07-03 20:59:29 +02:00
|
|
|
</properties>
|
|
|
|
|
2022-02-27 16:20:07 +01:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>maven-snapshots</id>
|
|
|
|
<url>https://repository.apache.org/content/repositories/snapshots/</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
2016-07-03 20:59:29 +02:00
|
|
|
<repositories>
|
2021-12-23 21:57:39 +01:00
|
|
|
<!-- Spigot repo (Spigot API) -->
|
2016-07-03 20:59:29 +02:00
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
|
|
</repository>
|
2022-06-04 02:32:45 +02:00
|
|
|
<!-- Github repo (Vault) -->
|
2016-07-03 21:14:41 +02:00
|
|
|
<repository>
|
2021-12-23 21:57:39 +01:00
|
|
|
<id>jitpack-repo</id>
|
|
|
|
<url>https://jitpack.io</url>
|
2016-07-03 21:14:41 +02:00
|
|
|
</repository>
|
2022-06-26 03:39:03 +02:00
|
|
|
<!-- EngineHub repo (WorldEdit, WorldGuard) -->
|
|
|
|
<repository>
|
|
|
|
<id>enginehub-repo</id>
|
|
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
|
|
</repository>
|
2016-07-03 20:59:29 +02:00
|
|
|
</repositories>
|
|
|
|
|
2021-12-27 16:46:03 +01:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
2022-06-08 18:39:34 +02:00
|
|
|
<version>1.19-R0.1-SNAPSHOT</version>
|
2021-12-27 16:46:03 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
|
|
<artifactId>VaultAPI</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-04-27 18:13:10 +02:00
|
|
|
|
2021-12-27 21:12:31 +01:00
|
|
|
<!-- Nms dependency -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>${spigot.version}</version>
|
|
|
|
<classifier>remapped-mojang</classifier>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2022-06-26 03:39:03 +02:00
|
|
|
<!-- External dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
|
|
<artifactId>worldguard-bukkit</artifactId>
|
|
|
|
<version>7.0.7</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2021-12-27 16:46:03 +01:00
|
|
|
<!-- Only required for build to succeed ? -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.22</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-07-03 20:59:29 +02:00
|
|
|
|
2021-12-27 16:46:03 +01:00
|
|
|
<!-- Shaded dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
<version>5.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
|
|
<version>2.0.0-alpha2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.inventivetalent</groupId>
|
|
|
|
<artifactId>reflectionhelper</artifactId>
|
2022-04-13 20:09:34 +02:00
|
|
|
<version>1.18.7-SNAPSHOT</version>
|
2021-12-27 16:46:03 +01:00
|
|
|
</dependency>
|
2021-12-27 21:12:31 +01:00
|
|
|
|
2022-04-17 22:07:54 +02:00
|
|
|
<!-- Internal shaded dependencies -->
|
2022-04-18 03:10:13 +02:00
|
|
|
<!-- Common -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.epiceric</groupId>
|
|
|
|
<artifactId>shopchest-common</artifactId>
|
|
|
|
<version>1.0.0</version>
|
2022-06-26 03:39:03 +02:00
|
|
|
<scope>provided</scope>
|
2022-04-18 03:10:13 +02:00
|
|
|
</dependency>
|
2022-04-17 22:07:54 +02:00
|
|
|
<!-- NMS -->
|
2021-12-27 21:12:31 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>de.epiceric</groupId>
|
2022-07-23 21:09:41 +02:00
|
|
|
<artifactId>shopchest-nms-all</artifactId>
|
2022-12-31 01:54:42 +01:00
|
|
|
<version>1.1.0-SNAPSHOT</version>
|
2022-06-08 18:39:34 +02:00
|
|
|
</dependency>
|
2022-06-26 03:39:03 +02:00
|
|
|
<!-- External plugins support -->
|
2022-04-17 22:07:54 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>de.epiceric</groupId>
|
|
|
|
<artifactId>shopchest-external</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
</dependency>
|
2021-12-27 16:46:03 +01:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2018-07-25 12:52:28 +02:00
|
|
|
|
2021-12-27 16:55:22 +01:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2022-07-26 22:29:54 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.2.2</version>
|
|
|
|
</plugin>
|
2021-12-27 16:55:22 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2022-08-21 15:51:31 +02:00
|
|
|
<version>3.3.0</version>
|
2021-12-27 16:55:22 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2022-04-18 15:53:52 +02:00
|
|
|
<finalName>${buildName}-${project.version}</finalName>
|
2021-12-27 16:55:22 +01:00
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.zaxxer.hikari</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.hikari</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.slf4j</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.slf4j</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.inventivetalent.reflection</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.reflectionhelper</shadedPattern>
|
|
|
|
</relocation>
|
2022-04-13 20:09:34 +02:00
|
|
|
<!-- TODO Inspect this -->
|
|
|
|
<!-- Do we really need all of this ? -->
|
2022-04-17 18:41:10 +02:00
|
|
|
<!--
|
2022-02-27 16:20:07 +01:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.common</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.google-common</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.errorprone</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.google-errorprone</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.gson</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.google-gson</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.j2objc</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.google-j2objc</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>com.google.thirdparty</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.google-thirdparty</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>javax.annotation</pattern>
|
|
|
|
<shadedPattern>de.epiceric.shopchest.dependencies.javax-annotation</shadedPattern>
|
|
|
|
</relocation>
|
2022-04-17 18:41:10 +02:00
|
|
|
-->
|
2021-12-27 16:55:22 +01:00
|
|
|
</relocations>
|
2021-12-27 17:36:04 +01:00
|
|
|
<filters>
|
|
|
|
<filter>
|
2022-04-18 15:53:52 +02:00
|
|
|
<artifact>de.epiceric:shopchest-plugin</artifact>
|
2021-12-27 21:12:31 +01:00
|
|
|
<excludeDefaults>false</excludeDefaults>
|
2021-12-27 17:36:04 +01:00
|
|
|
<includes>
|
|
|
|
<include>META-INF/**</include>
|
|
|
|
<include>META-INF/**/*</include>
|
|
|
|
<include>**/module-info.class</include>
|
|
|
|
</includes>
|
|
|
|
</filter>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/**</exclude>
|
|
|
|
<exclude>META-INF/**/*</exclude>
|
|
|
|
<exclude>**/module-info.class</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
2021-12-27 16:55:22 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2022-07-26 22:23:05 +02:00
|
|
|
<version>3.4.0</version>
|
2021-12-27 16:55:22 +01:00
|
|
|
<configuration>
|
|
|
|
<doclint>none</doclint>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2021-12-30 11:51:35 +01:00
|
|
|
<goal>aggregate-jar</goal>
|
2021-12-27 16:55:22 +01:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>3.0.0-M1</version>
|
|
|
|
<configuration>
|
|
|
|
<tagNameFormat>v@{project.version}</tagNameFormat>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-12-27 21:12:31 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>net.md-5</groupId>
|
|
|
|
<artifactId>specialsource-maven-plugin</artifactId>
|
|
|
|
<version>1.2.4</version>
|
2022-07-23 21:09:41 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>3.3.0</version>
|
2021-12-27 21:12:31 +01:00
|
|
|
</plugin>
|
2022-07-24 17:24:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
<version>3.0.1</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</plugin>
|
2021-12-27 16:55:22 +01:00
|
|
|
</plugins>
|
2021-12-27 21:12:31 +01:00
|
|
|
</pluginManagement>
|
2016-07-03 20:59:29 +02:00
|
|
|
</build>
|
|
|
|
|
2018-05-21 12:16:49 +02:00
|
|
|
</project>
|