2017-12-30 08:36:36 +01:00
|
|
|
<!-- Citizens build file -->
|
|
|
|
|
2019-05-12 14:48:17 +02:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2017-12-30 08:36:36 +01:00
|
|
|
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>
|
2019-05-12 14:48:17 +02:00
|
|
|
<groupId>net.citizensnpcs</groupId>
|
|
|
|
<artifactId>citizens-parent</artifactId>
|
2020-06-25 11:24:32 +02:00
|
|
|
<version>2.0.27-SNAPSHOT</version>
|
2018-12-23 07:22:07 +01:00
|
|
|
</parent>
|
|
|
|
<artifactId>citizens-main</artifactId>
|
2017-12-30 08:36:36 +01:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2020-11-03 07:33:34 +01:00
|
|
|
<craftbukkit.version>1.16.4-R0.1-SNAPSHOT</craftbukkit.version>
|
2018-08-26 14:43:51 +02:00
|
|
|
<citizensapi.version>${project.version}</citizensapi.version>
|
2020-07-12 05:49:48 +02:00
|
|
|
<powermock.version>1.4.12</powermock.version>
|
2020-12-21 10:27:52 +01:00
|
|
|
<worldguard.version>7.0.4</worldguard.version>
|
2017-12-30 08:36:36 +01:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
2018-04-18 16:22:38 +02:00
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
2017-12-30 08:36:36 +01:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>everything</id>
|
|
|
|
<url>http://repo.citizensnpcs.co</url>
|
2020-07-12 05:49:48 +02:00
|
|
|
</repository>
|
2019-05-13 09:34:47 +02:00
|
|
|
<repository>
|
2020-03-27 11:50:14 +01:00
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
2019-05-13 09:34:47 +02:00
|
|
|
</repository>
|
2020-12-21 10:27:52 +01:00
|
|
|
<repository>
|
|
|
|
<id>sk89q-repo</id>
|
|
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
|
|
</repository>
|
2017-12-30 08:36:36 +01:00
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2020-01-22 13:44:12 +01:00
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
2017-12-30 08:36:36 +01:00
|
|
|
<version>${craftbukkit.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2018-10-24 09:24:19 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.trove4j</groupId>
|
|
|
|
<artifactId>trove4j</artifactId>
|
|
|
|
<version>3.0.3</version>
|
|
|
|
<scope>compile</scope>
|
2018-12-23 07:22:07 +01:00
|
|
|
</dependency>
|
2017-12-30 08:36:36 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.citizensnpcs</groupId>
|
|
|
|
<artifactId>citizensapi</artifactId>
|
|
|
|
<version>${citizensapi.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-03-27 11:50:14 +01:00
|
|
|
<groupId>com.github.MilkBowl</groupId>
|
2019-05-12 14:52:13 +02:00
|
|
|
<artifactId>VaultAPI</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<scope>provided</scope>
|
2020-07-12 05:49:48 +02:00
|
|
|
</dependency>
|
2017-12-30 08:36:36 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-mockito</artifactId>
|
|
|
|
<version>${powermock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-12-21 10:27:52 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q.worldguard</groupId>
|
|
|
|
<artifactId>worldguard-bukkit</artifactId>
|
|
|
|
<version>${worldguard.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2017-12-30 08:36:36 +01:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<url>http://www.citizensnpcs.co</url>
|
|
|
|
<ciManagement>
|
|
|
|
<system>jenkins</system>
|
|
|
|
<url>http://ci.citizensnpcs.co</url>
|
|
|
|
</ciManagement>
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git://github.com/CitizensDev/Citizens2.git</connection>
|
|
|
|
<developerConnection>scm:git:git:@github.com:CitizensDev/Citizens2.git</developerConnection>
|
|
|
|
<url>https://github.com/CitizensDev/Citizens2/tree/master/</url>
|
|
|
|
</scm>
|
|
|
|
<build>
|
2019-05-12 14:16:42 +02:00
|
|
|
<defaultGoal>clean package install javadoc:javadoc</defaultGoal>
|
2017-12-30 08:36:36 +01:00
|
|
|
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
|
|
|
<include>*.properties</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2019-12-11 17:13:54 +01:00
|
|
|
<version>3.8.1</version>
|
2017-12-30 08:36:36 +01:00
|
|
|
<configuration>
|
2019-05-14 10:44:32 +02:00
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
2017-12-30 08:36:36 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2019-12-11 17:13:54 +01:00
|
|
|
<version>3.2.0</version>
|
2017-12-30 08:36:36 +01:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2019-04-26 02:57:54 +02:00
|
|
|
<version>3.2.1</version>
|
2017-12-30 08:36:36 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
2018-04-18 16:22:38 +02:00
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
2017-12-30 08:36:36 +01:00
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>net.citizensnpcs:citizensapi</artifact>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>gnu.trove</pattern>
|
|
|
|
<shadedPattern>lib.trove</shadedPattern>
|
|
|
|
</relocation>
|
2018-04-18 16:22:38 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>org.bstats</pattern>
|
|
|
|
<shadedPattern>net.citizensnpcs.util.metrics</shadedPattern>
|
|
|
|
</relocation>
|
2017-12-30 08:36:36 +01:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-05-14 10:44:32 +02:00
|
|
|
|
2019-05-12 14:16:42 +02:00
|
|
|
<plugin>
|
2019-05-12 14:48:17 +02:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2019-12-11 17:20:31 +01:00
|
|
|
<version>3.1.1</version>
|
2019-05-13 10:44:50 +02:00
|
|
|
<configuration>
|
|
|
|
<source>8</source>
|
|
|
|
<author>false</author>
|
|
|
|
<doclint>none</doclint>
|
|
|
|
<links>
|
|
|
|
<link>https://hub.spigotmc.org/javadocs/spigot</link>
|
|
|
|
</links>
|
|
|
|
<includeDependencySources>true</includeDependencySources>
|
2019-05-12 14:52:13 +02:00
|
|
|
|
2019-05-13 10:44:50 +02:00
|
|
|
<dependencySourceIncludes>
|
|
|
|
<dependencySourceInclude>net.citizensnpcs:citizensapi</dependencySourceInclude>
|
|
|
|
</dependencySourceIncludes>
|
2019-05-13 11:04:02 +02:00
|
|
|
<excludePackageNames>net.citizensnpcs.commands</excludePackageNames>
|
2019-05-13 10:44:50 +02:00
|
|
|
</configuration>
|
2019-05-12 14:48:17 +02:00
|
|
|
</plugin>
|
2017-12-30 08:36:36 +01:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|