mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2024-11-15 07:05:45 +01:00
136 lines
5.0 KiB
XML
136 lines
5.0 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>com.jamesdpeters.chests</groupId>
|
|
<artifactId>ChestsPlusPlus</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>mcstats</id>
|
|
<url>https://repo.mcstats.org/content/repositories/releases/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>spigotmc-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>dmulloy2-repo</id>
|
|
<url>http://repo.dmulloy2.net/nexus/repository/public/</url>
|
|
</repository>
|
|
|
|
<repository>
|
|
<id>CodeMC</id>
|
|
<url>https://repo.codemc.org/repository/maven-public</url>
|
|
</repository>
|
|
|
|
|
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.15.2-R0.1-SNAPSHOT</version>
|
|
<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.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>fr.minuskube.inv</groupId>
|
|
<artifactId>smart-invs</artifactId>
|
|
<version>1.2.7</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bstats</groupId>
|
|
<artifactId>bstats-bukkit</artifactId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
|
|
</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>
|
|
<version>3.1.0</version>
|
|
<configuration>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>fr.minuskube.inv*:*</include>
|
|
<include>org.bstats*:*</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>org.bstats</pattern>
|
|
<!-- Replace this with your package! -->
|
|
<shadedPattern>com.jamesdpeters.minecraft.chests</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>fr.minuskube.inv</pattern>
|
|
<shadedPattern>com.jamesdpeters.minecraft.chests</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
|
|
|
|
<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-->
|
|
<outputFile>${project.basedir}/Server/plugins/${project.artifactId}.jar</outputFile>
|
|
<!-- <minimizeJar>true</minimizeJar>-->
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</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> |