2017-12-30 08:36:36 +01:00
|
|
|
<!-- Citizens build file -->
|
2022-06-08 06:48:58 +02:00
|
|
|
<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>net.citizensnpcs</groupId>
|
|
|
|
<artifactId>citizens-parent</artifactId>
|
2023-06-08 16:37:50 +02:00
|
|
|
<version>2.0.32-SNAPSHOT</version>
|
2022-06-08 06:48:58 +02:00
|
|
|
</parent>
|
|
|
|
<artifactId>citizens-main</artifactId>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2023-06-13 14:26:05 +02:00
|
|
|
<craftbukkit.version>1.20.1-R0.1-SNAPSHOT</craftbukkit.version>
|
2022-09-07 21:01:39 +02:00
|
|
|
<placeholderapi.version>2.11.2</placeholderapi.version>
|
2022-06-08 06:48:58 +02:00
|
|
|
<citizensapi.version>${project.version}</citizensapi.version>
|
2023-06-14 18:32:01 +02:00
|
|
|
<worldguard.version>7.1.0-SNAPSHOT</worldguard.version>
|
2022-06-08 06:48:58 +02:00
|
|
|
<powermock.version>1.4.12</powermock.version>
|
|
|
|
</properties>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
2022-09-14 19:01:48 +02:00
|
|
|
</repository>
|
2022-06-08 06:48:58 +02:00
|
|
|
<repository>
|
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>placeholderapi</id>
|
2022-06-21 17:52:25 +02:00
|
|
|
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
|
2022-06-08 06:48:58 +02:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>sk89q-repo</id>
|
|
|
|
<url>https://maven.enginehub.org/repo/</url>
|
|
|
|
</repository>
|
2022-09-14 19:01:48 +02:00
|
|
|
<repository>
|
|
|
|
<id>dmulloy2-repo</id>
|
|
|
|
<url>https://repo.dmulloy2.net/repository/public/</url>
|
|
|
|
</repository>
|
2022-11-13 05:50:45 +01:00
|
|
|
<repository>
|
|
|
|
<id>AlessioDP</id>
|
|
|
|
<url>https://repo.alessiodp.com/releases/</url>
|
|
|
|
</repository>
|
2022-12-24 18:37:54 +01:00
|
|
|
<repository>
|
|
|
|
<id>viaversion-repo</id>
|
|
|
|
<url>https://repo.viaversion.com</url>
|
2023-04-03 16:40:04 +02:00
|
|
|
</repository>
|
2022-06-08 06:48:58 +02:00
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>${craftbukkit.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>provided</scope>
|
2023-04-03 16:40:04 +02:00
|
|
|
</dependency>
|
2022-06-08 06:48:58 +02: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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.trove4j</groupId>
|
|
|
|
<artifactId>trove4j</artifactId>
|
|
|
|
<version>3.0.3</version>
|
2022-11-13 05:50:45 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.comphenix.protocol</groupId>
|
|
|
|
<artifactId>ProtocolLib</artifactId>
|
2023-06-14 18:13:09 +02:00
|
|
|
<version>5.0.0</version>
|
2022-11-13 05:50:45 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-12-24 18:37:54 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.viaversion</groupId>
|
|
|
|
<artifactId>viaversion-api</artifactId>
|
2023-06-14 18:32:01 +02:00
|
|
|
<version>[4.0.0,5.0.0)</version>
|
2022-12-24 18:37:54 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-11-13 05:50:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.ethz.globis.phtree</groupId>
|
|
|
|
<artifactId>phtree</artifactId>
|
|
|
|
<version>2.5.0</version>
|
|
|
|
<scope>provided</scope>
|
2022-06-08 06:48:58 +02:00
|
|
|
</dependency>
|
2023-03-18 16:28:33 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.joml</groupId>
|
|
|
|
<artifactId>joml</artifactId>
|
|
|
|
<version>1.10.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-06-08 06:48:58 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.citizensnpcs</groupId>
|
|
|
|
<artifactId>citizensapi</artifactId>
|
|
|
|
<version>${citizensapi.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>me.clip</groupId>
|
|
|
|
<artifactId>placeholderapi</artifactId>
|
|
|
|
<version>${placeholderapi.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.MilkBowl</groupId>
|
|
|
|
<artifactId>VaultAPI</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<scope>provided</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>
|
2022-11-13 05:50:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.byteflux</groupId>
|
2022-11-13 09:02:17 +01:00
|
|
|
<artifactId>libby-bukkit</artifactId>
|
2022-11-13 05:50:45 +01:00
|
|
|
<version>1.1.5</version>
|
|
|
|
</dependency>
|
2022-11-17 11:52:32 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.kyori</groupId>
|
|
|
|
<artifactId>adventure-text-minimessage</artifactId>
|
2023-06-08 16:37:50 +02:00
|
|
|
<version>4.14.0</version>
|
2022-11-17 11:52:32 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.kyori</groupId>
|
|
|
|
<artifactId>adventure-platform-bukkit</artifactId>
|
2023-06-08 16:37:50 +02:00
|
|
|
<version>4.3.0</version>
|
2022-11-17 11:52:32 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-06-08 06:48:58 +02: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>
|
|
|
|
<defaultGoal>clean package install javadoc:javadoc</defaultGoal>
|
|
|
|
<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>
|
2023-03-05 17:48:31 +01:00
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>..</directory>
|
|
|
|
<includes>
|
|
|
|
<include>LICENSE</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2022-06-08 06:48:58 +02:00
|
|
|
</resources>
|
|
|
|
<plugins>
|
2022-09-08 21:44:45 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2023-04-19 19:35:44 +02:00
|
|
|
<version>${maven-deploy-plugin.version}</version>
|
2022-09-08 21:44:45 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-deploy</id>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-06-08 06:48:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2023-04-19 19:35:44 +02:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2022-06-08 06:48:58 +02:00
|
|
|
<configuration>
|
2023-05-14 16:54:45 +02:00
|
|
|
<release>8</release>
|
2022-06-08 06:48:58 +02:00
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2023-04-19 19:35:44 +02:00
|
|
|
<version>${maven-jar-plugin.version}</version>
|
2022-06-08 06:48:58 +02:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2023-04-19 19:35:44 +02:00
|
|
|
<version>${maven-shade-plugin.version}</version>
|
2022-06-08 06:48:58 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>net.citizensnpcs:citizensapi</artifact>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>gnu.trove</pattern>
|
2022-09-03 18:22:20 +02:00
|
|
|
<shadedPattern>clib.trove</shadedPattern>
|
2022-09-08 21:44:45 +02:00
|
|
|
</relocation>
|
2022-09-07 21:21:27 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>ch.ethz.globis.phtree</pattern>
|
|
|
|
<shadedPattern>clib.phtree</shadedPattern>
|
2022-09-08 21:44:45 +02:00
|
|
|
</relocation>
|
2022-09-07 21:21:27 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>net.kyori</pattern>
|
|
|
|
<shadedPattern>clib.net.kyori</shadedPattern>
|
2023-03-26 07:28:23 +02:00
|
|
|
</relocation>
|
2022-11-13 05:50:45 +01:00
|
|
|
<relocation>
|
|
|
|
<pattern>net.byteflux.libby</pattern>
|
|
|
|
<shadedPattern>clib.net.byteflux.libby</shadedPattern>
|
2023-04-16 19:47:32 +02:00
|
|
|
</relocation>
|
2022-06-08 06:48:58 +02:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2023-04-23 17:46:20 +02:00
|
|
|
</plugin>
|
2022-06-08 06:48:58 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2023-04-19 19:35:44 +02:00
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
2022-06-08 06:48:58 +02:00
|
|
|
<configuration>
|
2022-07-22 09:22:55 +02:00
|
|
|
<source>11</source>
|
2022-06-08 06:48:58 +02:00
|
|
|
<author>false</author>
|
2022-07-22 09:22:55 +02:00
|
|
|
<failOnError>false</failOnError>
|
2022-06-08 06:48:58 +02:00
|
|
|
<doclint>none</doclint>
|
|
|
|
<links>
|
|
|
|
<link>https://hub.spigotmc.org/javadocs/spigot</link>
|
|
|
|
</links>
|
|
|
|
<includeDependencySources>true</includeDependencySources>
|
|
|
|
<dependencySourceIncludes>
|
|
|
|
<dependencySourceInclude>net.citizensnpcs:citizensapi</dependencySourceInclude>
|
|
|
|
</dependencySourceIncludes>
|
|
|
|
<excludePackageNames>net.citizensnpcs.commands</excludePackageNames>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|