2017-12-30 08:36:36 +01:00
|
|
|
<!-- Citizens build file -->
|
2024-05-05 20:11:34 +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">
|
2022-06-08 06:48:58 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>net.citizensnpcs</groupId>
|
|
|
|
<artifactId>citizens-parent</artifactId>
|
2024-06-14 10:06:11 +02:00
|
|
|
<version>2.0.35-SNAPSHOT</version>
|
2022-06-08 06:48:58 +02:00
|
|
|
</parent>
|
|
|
|
<artifactId>citizens-main</artifactId>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2024-06-14 10:06:11 +02:00
|
|
|
<craftbukkit.version>1.21-R0.1-SNAPSHOT</craftbukkit.version>
|
2023-12-21 19:21:18 +01:00
|
|
|
<placeholderapi.version>2.11.5</placeholderapi.version>
|
2022-06-08 06:48:58 +02:00
|
|
|
<citizensapi.version>${project.version}</citizensapi.version>
|
2024-05-08 15:32:43 +02:00
|
|
|
<worldguard.version>7.1.0-SNAPSHOT</worldguard.version>
|
2022-06-08 06:48:58 +02:00
|
|
|
</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>
|
2024-05-05 20:11:34 +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>
|
2024-06-14 10:06:11 +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>
|
2024-05-08 15:32:43 +02:00
|
|
|
</dependency>
|
2022-06-08 06:48:58 +02:00
|
|
|
<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>
|
2024-05-05 20:11:34 +02:00
|
|
|
</dependency>
|
2022-11-13 05:50:45 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.ethz.globis.phtree</groupId>
|
|
|
|
<artifactId>phtree</artifactId>
|
2023-11-17 17:50:35 +01:00
|
|
|
<version>2.8.0</version>
|
2022-11-13 05:50:45 +01:00
|
|
|
<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>
|
2024-05-08 15:32:43 +02:00
|
|
|
<version>4.17.0</version>
|
2022-11-17 11:52:32 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.kyori</groupId>
|
|
|
|
<artifactId>adventure-platform-bukkit</artifactId>
|
2024-06-14 10:06:11 +02:00
|
|
|
<version>4.3.3</version>
|
2022-11-17 11:52:32 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2024-06-05 04:27:04 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
|
|
|
<version>0.10.2</version>
|
|
|
|
<scope>test</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>
|
2024-05-05 20:11:34 +02:00
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
2022-06-08 06:48:58 +02:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
2024-05-05 20:11:34 +02:00
|
|
|
<directory>src/main/resources</directory>
|
2022-06-08 06:48:58 +02:00
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
2023-11-02 18:45:12 +01:00
|
|
|
<include>*.json</include>
|
2023-03-05 17:48:31 +01:00
|
|
|
<include>LICENSE</include>
|
|
|
|
</includes>
|
2024-05-08 15:32:43 +02:00
|
|
|
</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>
|
2024-05-05 20:11:34 +02:00
|
|
|
</relocation>
|
2022-09-07 21:21:27 +02:00
|
|
|
<relocation>
|
|
|
|
<pattern>net.kyori</pattern>
|
|
|
|
<shadedPattern>clib.net.kyori</shadedPattern>
|
2024-05-05 20:11:34 +02:00
|
|
|
</relocation>
|
2022-11-13 05:50:45 +01:00
|
|
|
<relocation>
|
|
|
|
<pattern>net.byteflux.libby</pattern>
|
|
|
|
<shadedPattern>clib.net.byteflux.libby</shadedPattern>
|
2024-05-05 20:11:34 +02:00
|
|
|
</relocation>
|
2022-06-08 06:48:58 +02:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2024-05-05 20:11:34 +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>
|