ShopChest-Updated/pom.xml

455 lines
19 KiB
XML
Raw Normal View History

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>
<artifactId>ShopChest-parent</artifactId>
<version>1.14.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>plugin</module>
2021-12-27 21:12:31 +01:00
<module>nms/interface</module>
<module>nms/reflection</module>
2021-12-30 11:26:59 +01:00
<module>nms/v1_18_R1</module>
</modules>
2017-07-27 01:17:34 +02:00
2018-07-25 12:52:28 +02:00
<name>ShopChest</name>
<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>
<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>
<id>codemc-releases</id>
<url>https://repo.codemc.io/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>codemc-snapshots</id>
<url>https://repo.codemc.io/repository/maven-snapshots/</url>
</snapshotRepository>
</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 -->
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<!-- Default Spigot version for nms implementation. Must be overridden -->
<spigot.version>defaultVersion</spigot.version>
2016-07-03 20:59:29 +02:00
</properties>
<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>
2021-12-23 21:57:39 +01:00
<!-- Github repo (Vault, uSkyBlock, GriefPrevention, PlotSquared v4, Towny) -->
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>
2021-12-23 21:57:39 +01:00
<!-- CodeMc repo (AuthMe, ASkyBlock, BentoBox, WorldGuardWrapper) -->
2017-03-17 14:36:24 +01:00
<repository>
2018-07-20 18:02:26 +02:00
<id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
2017-03-17 14:36:24 +01:00
</repository>
2021-12-23 21:57:39 +01:00
<!-- Inventive Talent repo (ReflectionHelper) -->
<repository>
<id>inventive-repo</id>
<url>https://repo.inventivetalent.org/content/groups/public/</url>
</repository>
2021-12-25 01:39:12 +01:00
<!-- EngineHub repo (WorldGuard from WorldGuardWrapper) -->
<repository>
2021-12-25 01:39:12 +01:00
<id>enginehub-repo</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
2016-07-03 20:59:29 +02:00
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.18-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>fr.xephi</groupId>
<artifactId>authme</artifactId>
<version>5.4.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.plotsquared</groupId>
<artifactId>PlotSquared-Core</artifactId>
<version>6.5.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.rlf.uSkyBlock</groupId>
<artifactId>uSkyBlock-API</artifactId>
<version>v2.8.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.wasteofplastic</groupId>
<artifactId>askyblock</artifactId>
<version>3.0.9.4</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>bukkit.org</groupId>
<artifactId>craftbukkit</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1.9.2</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1.9.4</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1.12</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1.10</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1.11</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1.9</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1.8</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot.1.8.3</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot.1.8.4</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot.1.8.6</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot.1.8.8</artifactId>
</exclusion>
<exclusion>
<groupId>spigotmc.org</groupId>
<artifactId>spigot-1649</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.TechFortress</groupId>
<artifactId>GriefPrevention</artifactId>
<version>16.17.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.wiefferink</groupId>
<artifactId>areashop</artifactId>
<version>2.6.0</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>me.wiefferink</groupId>
<artifactId>interactivemessenger</artifactId>
</exclusion>
<exclusion>
<groupId>me.wiefferink</groupId>
<artifactId>bukkitdo</artifactId>
</exclusion>
<exclusion>
<groupId>com.sk89q</groupId>
<artifactId>worldedit</artifactId>
</exclusion>
<exclusion>
<groupId>com.sk89q</groupId>
<artifactId>worldguard</artifactId>
</exclusion>
<exclusion>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-legacy</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>world.bentobox</groupId>
<artifactId>bentobox</artifactId>
<version>1.17.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.IntellectualSites.PlotSquared</groupId>
<artifactId>Core</artifactId>
<version>4.453</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.TownyAdvanced</groupId>
<artifactId>Towny</artifactId>
<version>0.97.5.0</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>
<!-- Only required for build to succeed ? -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<scope>provided</scope>
</dependency>
<!-- Shaded dependencies -->
2017-05-13 17:20:56 +02:00
<dependency>
<groupId>org.codemc.worldguardwrapper</groupId>
<artifactId>worldguardwrapper</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
2018-08-01 12:20:10 +02:00
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>5.0.0</version>
2018-08-01 12:20:10 +02:00
</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-01-03 12:57:00 +01:00
<version>1.18.7-SNAPSHOT</version>
2018-08-01 12:20:10 +02:00
</dependency>
<!-- Internal nms shaded dependencies -->
2021-12-27 21:12:31 +01:00
<dependency>
<groupId>de.epiceric</groupId>
<artifactId>shopchest-nms-interface</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>de.epiceric</groupId>
<artifactId>shopchest-nms-reflection</artifactId>
<version>1.0.0</version>
</dependency>
2021-12-30 11:26:59 +01:00
<dependency>
<groupId>de.epiceric</groupId>
<artifactId>shopchest-nms-v1_18_R1</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>
2016-07-03 20:59:29 +02:00
<build>
2021-12-27 16:55:22 +01:00
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.1-SNAPSHOT</version>
2021-12-27 16:55:22 +01:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.codemc.worldguardwrapper</pattern>
<shadedPattern>de.epiceric.shopchest.dependencies.worldguardwrapper</shadedPattern>
</relocation>
<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>
<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>
2021-12-27 16:55:22 +01:00
</relocations>
<filters>
<filter>
2021-12-27 21:12:31 +01:00
<artifact>de.epiceric:ShopChest</artifact>
<excludeDefaults>false</excludeDefaults>
<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>
<version>3.2.0</version>
<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>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>remap</goal>
</goals>
<id>remap-obf</id>
<configuration>
<srgIn>org.spigotmc:minecraft-server:${spigot.version}:txt:maps-mojang</srgIn>
<reverse>true</reverse>
<remappedDependencies>org.spigotmc:spigot:${spigot.version}:jar:remapped-mojang</remappedDependencies>
<remappedArtifactAttached>true</remappedArtifactAttached>
<remappedClassifierName>remapped-obf</remappedClassifierName>
</configuration>
</execution>
<execution>
<phase>package</phase>
<goals>
<goal>remap</goal>
</goals>
<id>remap-spigot</id>
<configuration>
<inputFile>${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar</inputFile>
<srgIn>org.spigotmc:minecraft-server:${spigot.version}:csrg:maps-spigot</srgIn>
<remappedDependencies>org.spigotmc:spigot:${spigot.version}:jar:remapped-obf</remappedDependencies>
</configuration>
</execution>
</executions>
</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>