PlotSquared/pom.xml

340 lines
12 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2016-01-20 12:40:04 +01:00
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>
2016-01-20 12:40:04 +01:00
<groupId>com.intellectualcrafters</groupId>
2016-01-20 12:40:04 +01:00
<artifactId>plotsquared</artifactId>
2016-01-23 19:21:17 +01:00
<version>3.2.27</version>
2016-01-20 12:40:04 +01:00
<packaging>jar</packaging>
<name>PlotSquared</name>
<description>Reinventing the plotworld!</description>
<url>http://www.spigotmc.org/resources/plotsquared.1177/</url>
<organization>
<name>IntellectualSites</name>
<url>https://github.com/IntellectualSites</url>
</organization>
<scm>
<connection>scm:git:https://github.com/IntellectualSites/PlotSquared.git</connection>
<developerConnection>scm:git:git@github.com:IntellectualSites/PlotSquared.git</developerConnection>
<url>https://github.com/IntellectualSites/PlotSquared</url>
</scm>
<!-- Not Official -->
<ciManagement>
<system>jenkins</system>
<url>http://ci.xephi.fr/job/PlotSquared/</url>
</ciManagement>
<licenses>
<license>
<name>The GNU General Public Licence version 3 (GPLv3)</name>
<url>http://www.gnu.org/licenses/gpl-3.0.html</url>
</license>
</licenses>
<prerequisites>
<maven>3.3.3</maven>
</prerequisites>
2015-07-27 20:26:19 +02:00
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2016-01-20 12:40:04 +01:00
<!-- Change Compiler Version (JDK) HERE! -->
<javaVersion>1.7</javaVersion>
<!-- Change Bukkit Version HERE! -->
<bukkitVersion>1.8.8-R0.1-SNAPSHOT</bukkitVersion>
<spongeVersion>3.1.0-SNAPSHOT</spongeVersion>
2015-07-27 20:26:19 +02:00
</properties>
2016-01-20 12:40:04 +01:00
<build>
2016-01-20 13:30:03 +01:00
<finalName>${project.name}-Bukkit-${project.version}</finalName>
<sourceDirectory>src/main/java</sourceDirectory>
2016-01-20 12:40:04 +01:00
<resources>
<resource>
2015-07-27 20:26:19 +02:00
<filtering>true</filtering>
2016-01-20 12:40:04 +01:00
<includes>
<include>plugin.yml</include>
</includes>
2015-07-27 20:26:19 +02:00
<directory>${basedir}/src/main/resources/</directory>
2015-04-18 15:47:13 +02:00
</resource>
<resource>
2015-07-27 20:26:19 +02:00
<filtering>false</filtering>
2016-01-20 12:40:04 +01:00
<excludes>
<exclude>plugin.yml</exclude>
</excludes>
2015-07-27 20:26:19 +02:00
<directory>${basedir}/src/main/resources/</directory>
</resource>
</resources>
2016-01-20 12:40:04 +01:00
<plugins>
2016-01-20 13:30:03 +01:00
<!--
TODO: split the project into more modules
TODO: fix sponge compilation
-->
<!-- Invalid
2015-07-27 20:26:19 +02:00
<plugin>
<artifactId>maven-jar-plugin</artifactId>
2016-01-20 12:40:04 +01:00
<version>2.6</version>
2015-07-27 20:26:19 +02:00
<executions>
2016-01-20 13:30:03 +01:00
<execution>
<id>bukkit</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
<configuration>
2016-01-20 12:40:04 +01:00
<finalName>${project.name}-Bukkit-${project.version}</finalName>
<excludes>
<exclude>**/com/plotsquared/sponge/**</exclude>
</excludes>
</configuration>
</execution>
2016-01-20 12:40:04 +01:00
<execution>
<id>sponge</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
<configuration>
2016-01-20 12:40:04 +01:00
<finalName>${project.name}-Sponge-${project.version}</finalName>
<excludes>
<exclude>**/com/plotsquared/bukkit/**</exclude>
<exclude>**/com/intellectualcrafters/plot/api/*</exclude>
</excludes>
</configuration>
</execution>
2016-01-20 12:40:04 +01:00
<execution>
<id>api</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
<configuration>
2016-01-20 12:40:04 +01:00
<finalName>${project.name}-API-${project.version}</finalName>
<excludes>
<exclude>**/com/plotsquared/bukkit/**</exclude>
<exclude>**/com/plotsquared/sponge/**</exclude>
<exclude>**/com/intellectualcrafters/plot/api/*</exclude>
</excludes>
</configuration>
</execution>
2015-07-27 20:26:19 +02:00
</executions>
</plugin>
2016-01-20 13:30:03 +01:00
-->
2016-01-20 12:40:04 +01:00
<plugin>
2016-01-20 12:40:04 +01:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2016-01-20 12:40:04 +01:00
<version>3.3</version>
<configuration>
<source>1.7</source>
2016-01-20 12:40:04 +01:00
<target>${javaVersion}</target>
2016-01-20 13:30:03 +01:00
<excludes>
<exclude>**/com/plotsquared/sponge/**</exclude>
</excludes>
</configuration>
</plugin>
2016-01-20 12:40:04 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<relocations>
<relocation>
<pattern>com.google.gson</pattern>
<shadedPattern>com.plotsquared.libs.gson</shadedPattern>
</relocation>
2016-01-20 13:30:03 +01:00
<relocation>
<pattern>javax.websocket</pattern>
<shadedPattern>com.plotsquared.libs.websocket</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons.math3</pattern>
<shadedPattern>com.plotsquared.libs.math3</shadedPattern>
</relocation>
2016-01-20 12:40:04 +01:00
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Useless ATM
2015-07-27 20:26:19 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
2016-01-20 12:40:04 +01:00
-->
</plugins>
</build>
2016-01-20 12:40:04 +01:00
<repositories>
2016-02-10 19:59:51 +01:00
<repository>
<id>empcraft-repo</id>
<url>http://empcraft.com/maven2</url>
</repository>
2015-02-08 04:49:00 +01:00
<repository>
<id>spigot-repo</id>
2016-02-10 19:59:51 +01:00
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
2015-07-27 20:26:19 +02:00
</repository>
2016-01-20 12:40:04 +01:00
2016-01-20 13:34:33 +01:00
<!--
2015-07-26 16:39:20 +02:00
<repository>
2015-07-27 20:26:19 +02:00
<id>sponge-maven-repo</id>
<url>http://repo.spongepowered.org/maven</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
2016-01-20 13:34:33 +01:00
-->
2016-01-20 12:40:04 +01:00
<repository>
<id>sk89q</id>
<url>http://maven.sk89q.com/repo/</url>
</repository>
<repository>
<id>vault-repo</id>
<url>http://nexus.theyeticave.net/content/repositories/pub_releases</url>
</repository>
</repositories>
2016-01-20 12:40:04 +01:00
<dependencies>
2016-01-20 12:40:04 +01:00
<!-- Bukkit API, http://www.spigotmc.org/ or http://bukkit.org/ -->
2015-07-27 20:26:19 +02:00
<dependency>
2016-01-20 12:40:04 +01:00
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>${bukkitVersion}</version>
<scope>provided</scope>
<optional>true</optional>
<exclusions>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
<exclusion>
<artifactId>gson</artifactId>
<groupId>com.google.code.gson</groupId>
</exclusion>
<exclusion>
<artifactId>persistence-api</artifactId>
<groupId>javax.persistence</groupId>
</exclusion>
</exclusions>
2015-07-27 20:26:19 +02:00
</dependency>
2016-01-20 12:40:04 +01:00
2016-01-20 13:34:33 +01:00
<!-- Sponge API
2015-07-27 20:26:19 +02:00
<dependency>
<groupId>org.spongepowered</groupId>
<artifactId>spongeapi</artifactId>
2016-01-20 12:40:04 +01:00
<version>${spongeVersion}</version>
<scope>provided</scope>
<optional>true</optional>
<exclusions>
2016-01-20 13:30:03 +01:00
<exclusion>
<artifactId>jsr305</artifactId>
<groupId>com.google.code.findbugs</groupId>
</exclusion>
2016-01-20 12:40:04 +01:00
</exclusions>
2015-07-27 20:26:19 +02:00
</dependency>
2016-01-20 13:34:33 +01:00
-->
2016-01-20 12:40:04 +01:00
2015-07-27 20:26:19 +02:00
<dependency>
2016-02-10 19:59:51 +01:00
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8.8-R0.1-SNAPSHOT</version>
2015-07-27 20:26:19 +02:00
</dependency>
<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldedit</artifactId>
<version>6.0.0-SNAPSHOT</version>
2016-01-20 12:40:04 +01:00
<scope>provided</scope>
<optional>true</optional>
<exclusions>
2016-01-20 13:30:03 +01:00
<exclusion>
<artifactId>truezip</artifactId>
<groupId>de.schlichtherle</groupId>
</exclusion>
<exclusion>
<artifactId>js</artifactId>
<groupId>rhino</groupId>
</exclusion>
<exclusion>
<artifactId>jsr305</artifactId>
<groupId>com.google.code.findbugs</groupId>
</exclusion>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
2016-01-20 12:40:04 +01:00
</exclusions>
</dependency>
2016-01-20 12:40:04 +01:00
2015-07-17 18:50:32 +02:00
<dependency>
2015-07-27 20:26:19 +02:00
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
2016-01-20 12:40:04 +01:00
<version>3.6</version>
<scope>compile</scope>
<optional>true</optional>
2015-07-27 20:26:19 +02:00
</dependency>
2016-01-20 12:40:04 +01:00
<!-- <dependency>
2015-07-27 20:26:19 +02:00
<groupId>junit</groupId>
<artifactId>junit</artifactId>
2016-01-20 12:40:04 +01:00
<version>4.12</version>
<scope>test</scope>
<optional>true</optional>
2015-07-27 20:26:19 +02:00
</dependency>
2016-01-20 12:40:04 +01:00
-->
2015-03-13 06:47:22 +01:00
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.5</version>
<scope>provided</scope>
2016-01-20 12:40:04 +01:00
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
</exclusion>
</exclusions>
2015-03-13 06:47:22 +01:00
</dependency>
2016-01-20 12:40:04 +01:00
<!-- GSON (required to provide 1.7.10 and below compatibility) -->
2015-07-13 19:48:22 +02:00
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
2016-01-20 12:40:04 +01:00
<version>2.5</version>
<scope>compile</scope>
<optional>true</optional>
2015-07-13 19:48:22 +02:00
</dependency>
2016-01-20 12:40:04 +01:00
</dependencies>
2016-01-20 12:40:04 +01:00
</project>