ShopChest-Updated/pom.xml
2024-06-13 22:36:51 +02:00

457 lines
18 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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.epiceric</groupId>
<artifactId>shopchest-parent</artifactId>
<version>1.14.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>plugin</module>
</modules>
<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>
<repositories>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/Flowsqy/ShopChest</url>
</repository>
</repositories>
</profile>
</profiles>
<name>ShopChest</name>
<url>https://www.spigotmc.org/resources/shopchest.11431/</url>
<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>
</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>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/Flowsqy/ShopChest</url>
</repository>
</distributionManagement>
<properties>
<!-- Encoding Properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.outputEncoding>UTF-8</project.build.outputEncoding>
<!-- JDK Version -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- Avoid the deployment of all artifact -->
<maven.deploy.skip>true</maven.deploy.skip>
<!-- The NMS assembly classifier -->
<nms-classifier>legacy</nms-classifier>
<!-- Name of the plugin for the final jar -->
<buildName>ShopChest</buildName>
</properties>
<repositories>
<!-- Spigot repo (Spigot API) -->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<!-- Github repo (Vault, uSkyBlock, GriefPrevention, PlotSquared v4, Towny) -->
<repository>
<id>jitpack-repo</id>
<url>https://jitpack.io</url>
</repository>
<!-- CodeMc repo (AuthMe, ASkyBlock, BentoBox, WorldGuardWrapper) -->
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.org/repository/maven-public/</url>
</repository>
<!-- Inventive Talent repo (ReflectionHelper) -->
<repository>
<id>inventive-repo</id>
<url>https://repo.inventivetalent.org/content/groups/public/</url>
</repository>
<!-- EngineHub repo (WorldGuard from WorldGuardWrapper) -->
<repository>
<id>enginehub-repo</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.6-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.0</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>
<dependency>
<groupId>pl.gnacik.islandworld</groupId>
<artifactId>IslandWorld</artifactId>
<version>8.5</version>
<scope>provided</scope>
</dependency>
<!-- 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 -->
<dependency>
<groupId>org.codemc.worldguardwrapper</groupId>
<artifactId>worldguardwrapper</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>2.2.1</version>
</dependency>
<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>
<version>1.18.4-SNAPSHOT</version>
</dependency>
<!-- Internal nms shaded dependency -->
<dependency>
<groupId>de.epiceric</groupId>
<artifactId>shopchest-nms-all</artifactId>
<version>1.0.4</version>
<classifier>${nms-classifier}</classifier>
</dependency>
<dependency>
<groupId>de.epiceric</groupId>
<artifactId>shopchest-nms-interface</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<finalName>${buildName}-${project.version}</finalName>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>de.epiceric.shopchest.dependencies.bstats</shadedPattern>
</relocation>
<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>
</relocations>
<filters>
<filter>
<artifact>de.epiceric:shopchest-plugin</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>
</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.4.0</version>
<configuration>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
<goals>
<goal>aggregate-jar</goal>
</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>
<plugin>
<groupId>net.md-5</groupId>
<artifactId>specialsource-maven-plugin</artifactId>
<version>2.0.3</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<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>
</plugins>
</pluginManagement>
</build>
</project>