ChestsPlusPlus/ChestsPlusPlus_Main/pom.xml

215 lines
8.3 KiB
XML
Raw Normal View History

2019-09-16 20:22:50 +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>
<parent>
<groupId>com.jamesdpeters.minecraft.chests</groupId>
<artifactId>ChestsPlusPlus-Parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
2020-07-03 15:23:09 +02:00
<artifactId>ChestsPlusPlus-Master</artifactId>
2024-08-03 13:15:06 +02:00
<version>2.14-Release</version>
2019-09-19 16:16:53 +02:00
2019-09-16 20:22:50 +02:00
<properties>
2024-07-03 18:16:23 +02:00
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
2019-09-16 20:22:50 +02:00
</properties>
2020-04-27 15:25:26 +02:00
<scm>
<connection>scm:git:git@github.com:JamesPeters98/ChestsPlusPlus.git</connection>
<developerConnection>scm:git:git@github.com:JamesPeters98/ChestsPlusPlus.git</developerConnection>
<url>https://github.com/JamesPeters98/ChestsPlusPlus</url>
<tag>@{project.version}</tag>
</scm>
<pluginRepositories>
<pluginRepository>
<id>maven-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
2019-09-16 20:22:50 +02:00
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.21-R0.1-SNAPSHOT</version>
2019-09-16 20:22:50 +02:00
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
2019-09-16 20:22:50 +02:00
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>plugin-annotations</artifactId>
2020-06-25 17:21:52 +02:00
<version>1.2.3-SNAPSHOT</version>
</dependency>
2021-07-13 22:28:28 +02:00
<!-- 1.3.0 Branch commit 746622a67a -->
2019-09-16 20:22:50 +02:00
<dependency>
2021-07-13 22:28:28 +02:00
<groupId>com.github.MinusKube</groupId>
<artifactId>SmartInvs</artifactId>
<version>746622a67a</version>
2019-09-16 20:22:50 +02:00
</dependency>
<dependency>
<groupId>net.wesjd</groupId>
<artifactId>anvilgui</artifactId>
2024-07-03 18:07:39 +02:00
<version>1.9.6-SNAPSHOT</version>
</dependency>
2020-04-15 13:59:29 +02:00
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>2.2.1</version>
2020-04-15 13:59:29 +02:00
</dependency>
2024-07-03 18:07:39 +02:00
<dependency>
<groupId>com.jamesdpeters.minecraft.chests</groupId>
<artifactId>ChestsPlusPlus_1_21_R1</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.jamesdpeters.minecraft.chests</groupId>
<artifactId>ChestsPlusPlus-API</artifactId>
<version>1.0-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>22.0.0</version>
<scope>compile</scope>
</dependency>
2021-02-15 23:43:37 +01:00
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
2024-07-21 12:42:54 +02:00
<version>1.18.32</version>
2021-02-15 23:43:37 +01:00
<scope>provided</scope>
</dependency>
2019-09-16 20:22:50 +02:00
</dependencies>
<!--Tell maven how to prepare and build our jar file from our source and dependancies-->
<build>
<!--Tell maven what plugins we want to add and what they should do-->
<plugins>
<!--Tell maven the id and version of the 'shade' plugin's jar file so it can download it from a repository-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
2024-07-21 12:42:54 +02:00
<version>3.5.3</version>
2019-09-19 16:16:53 +02:00
<configuration>
2021-12-20 16:53:46 +01:00
<createDependencyReducedPom>false</createDependencyReducedPom>
2019-09-19 16:16:53 +02:00
<artifactSet>
<includes>
<include>fr.minuskube.inv*:*</include>
2021-07-14 01:14:36 +02:00
<include>com.github.MinusKube*:*</include>
<include>net.wesjd:anvilgui*</include>
2020-04-15 13:59:29 +02:00
<include>org.bstats*:*</include>
2020-07-03 15:23:09 +02:00
<include>com.jamesdpeters.minecraft.chests</include>
2019-09-19 16:16:53 +02:00
</includes>
</artifactSet>
<relocations>
2020-04-15 13:59:29 +02:00
<relocation>
<pattern>org.bstats</pattern>
<!-- Replace this with your package! -->
<shadedPattern>com.jamesdpeters.minecraft.chests</shadedPattern>
</relocation>
2019-09-19 16:16:53 +02:00
<relocation>
<pattern>fr.minuskube.inv</pattern>
<shadedPattern>com.jamesdpeters.minecraft.chests</shadedPattern>
</relocation>
<!-- <relocation>-->
<!-- <pattern>net.wesjd.anvilgui</pattern>-->
<!-- <shadedPattern>com.jamesdpeters.minecraft.chests</shadedPattern>-->
<!-- </relocation>-->
2019-09-19 16:16:53 +02:00
</relocations>
</configuration>
2019-09-16 20:22:50 +02:00
<executions>
<!--Tell the shade plugin when it should be run during a maven build-->
<execution>
<!--Tell the shade plugin to run once during the 'package' phase of a maven build-->
<phase>package</phase>
<!--Tell the shade plugin which of it's goals to attempt to run during this phase-->
<goals>
<goal>shade</goal>
</goals>
<!--Tell the shade plugin which of it's goals to attempt to run during this phase-->
<configuration>
<!--Tell the shade plugin where to put our jar file-->
2020-07-03 15:23:09 +02:00
<outputFile>../Server/plugins/ChestsPlusPlus-${project.version}.jar</outputFile>
2020-04-15 13:59:29 +02:00
<!-- <minimizeJar>true</minimizeJar>-->
2019-09-16 20:22:50 +02:00
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>filter-src</id>
<goals>
<goal>filter-sources</goal><!-- add this if you filter main sources -->
<goal>filter-test-sources</goal><!-- add this if you filter test sources -->
</goals>
</execution>
</executions>
</plugin>
2020-04-27 15:25:26 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
2020-06-26 22:23:55 +02:00
2020-07-29 00:00:33 +02:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>com.jamesdpeters.minecraft.chests.lang.LangFileProperties</mainClass>
</configuration>
</plugin>
2019-09-16 20:22:50 +02:00
</plugins>
<!--Tell maven to enable resource filtering so we can use macros like '${project.version}' inside of our plugin.yml-->
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>