Created
April 4, 2019 02:59
-
-
Save aikar/8f88356b1e2054838bd264df369b118b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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.empireminecraft</groupId> | |
<artifactId>empirecraft-parent</artifactId> | |
<relativePath>../pom.xml</relativePath> | |
<version>dev-SNAPSHOT</version> | |
</parent> | |
<artifactId>empirecraft-api</artifactId> | |
<version>1.13.2-R0.1-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>EmpireCraft-API</name> | |
<url>https://github.com/PaperMC/Paper</url> | |
<description>An enhanced plugin API for Minecraft servers.</description> | |
<properties> | |
<!-- <skipTests>true</skipTests> Paper - This [was] not going to end well --> | |
<!-- Paper - #Logic --> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<repositories> | |
<!-- | |
If you are a plugin developer, please use https://hub.spigotmc.org/nexus/content/repositories/snapshots/ | |
as your repository URL. This will ensure only Bukkit / Spigot-API are pulled from our Maven repository. | |
Please see https://www.spigotmc.org/go/maven for more information. | |
--> | |
<repository> | |
<id>empireminecraft</id> | |
<url>https://repo.aikar.co/content/groups/public/</url> | |
</repository> | |
<repository> | |
<id>aikar</id> | |
<url>https://repo.aikar.co/content/repositories/aikar/</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>spigotmc-public</id> | |
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencies> | |
<dependency> | |
<groupId>it.unimi.dsi</groupId> | |
<artifactId>fastutil</artifactId> | |
<version>8.2.2</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>commons-lang</groupId> | |
<artifactId>commons-lang</artifactId> | |
<version>2.6</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.googlecode.json-simple</groupId> | |
<artifactId>json-simple</artifactId> | |
<version>1.1.1</version> | |
<scope>compile</scope> | |
</dependency> | |
<!-- bundled with Minecraft, shouldn't ever change --> | |
<dependency> | |
<groupId>com.google.code.findbugs</groupId> | |
<artifactId>jsr305</artifactId> | |
<version>1.3.9</version> | |
<scope>compile</scope> | |
</dependency> | |
<!-- bundled with Minecraft, should be kept in sync --> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>21.0</version> | |
<scope>compile</scope> | |
</dependency> | |
<!-- bundled with Minecraft, should be kept in sync --> | |
<dependency> | |
<groupId>com.google.code.gson</groupId> | |
<artifactId>gson</artifactId> | |
<version>2.8.0</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.md-5</groupId> | |
<artifactId>bungeecord-chat</artifactId> | |
<version>1.13-SNAPSHOT</version> | |
<type>jar</type> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.yaml</groupId> | |
<artifactId>snakeyaml</artifactId> | |
<version>1.23</version> | |
<scope>compile</scope> | |
</dependency> | |
<!-- annotations --> | |
<dependency> | |
<groupId>org.jetbrains</groupId> | |
<artifactId>annotations-java5</artifactId> | |
<version>17.0.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Paper - Add SLF4J --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>1.7.25</version> | |
<scope>compile</scope> | |
</dependency> | |
<!-- testing --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-library</artifactId> | |
<version>1.3</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.ow2.asm</groupId> | |
<artifactId>asm-tree</artifactId> | |
<version>7.1</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- ASM --> | |
<dependency> | |
<groupId>org.ow2.asm</groupId> | |
<artifactId>asm</artifactId> | |
<version>7.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.ow2.asm</groupId> | |
<artifactId>asm-commons</artifactId> | |
<version>7.1</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<defaultGoal>clean install</defaultGoal> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.8.0</version> | |
<dependencies> | |
<!-- we need our custom version as it fixes some bugs on case sensitive file systems --> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-compiler-eclipse</artifactId> | |
<version>2.8.5-spigotmc</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>2.4</version> | |
<configuration> | |
<archive> | |
<manifestEntries> | |
<Automatic-Module-Name>org.bukkit</Automatic-Module-Name> | |
</manifestEntries> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>3.1.1</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation> | |
<!-- when downloading via Maven we can pull depends individually --> | |
<shadedArtifactAttached>true</shadedArtifactAttached> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>development</id> | |
<properties> | |
<skipTests>false</skipTests> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>animal-sniffer-maven-plugin</artifactId> | |
<version>1.17</version> | |
<executions> | |
<execution> | |
<phase>process-classes</phase> | |
<goals> | |
<goal>check</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<signature> | |
<groupId>org.codehaus.mojo.signature</groupId> | |
<artifactId>java17</artifactId> | |
<version>1.0</version> | |
</signature> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment