-
-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
256 additions
and
68 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,267 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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"> | ||
<!-- Citizens build file --> | ||
<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> | ||
<packaging>pom</packaging> | ||
<groupId>net.citizensnpcs</groupId> | ||
<artifactId>citizens-parent</artifactId> | ||
<version>2.0.32-SNAPSHOT</version> | ||
<parent> | ||
<groupId>net.citizensnpcs</groupId> | ||
<artifactId>citizens-parent</artifactId> | ||
<version>2.0.32-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>citizens-main</artifactId> | ||
<properties> | ||
<BUILD_NUMBER>Unknown</BUILD_NUMBER> | ||
<CITIZENS_VERSION>2.0.32</CITIZENS_VERSION> | ||
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> | ||
<maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version> | ||
<maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version> | ||
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version> | ||
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version> | ||
<maven-shade-plugin.version>3.4.1</maven-shade-plugin.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<craftbukkit.version>1.20.1-R0.1-SNAPSHOT</craftbukkit.version> | ||
<placeholderapi.version>2.11.2</placeholderapi.version> | ||
<citizensapi.version>${project.version}</citizensapi.version> | ||
<worldguard.version>7.1.0-SNAPSHOT</worldguard.version> | ||
<powermock.version>1.4.12</powermock.version> | ||
</properties> | ||
<distributionManagement> | ||
<repositories> | ||
<repository> | ||
<id>citizens-repo</id> | ||
<url>https://maven.citizensnpcs.co/repo</url> | ||
<id>spigot-repo</id> | ||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> | ||
</repository> | ||
<repository> | ||
<id>jitpack.io</id> | ||
<url>https://jitpack.io</url> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
</snapshots> | ||
</repository> | ||
<repository> | ||
<id>placeholderapi</id> | ||
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url> | ||
</repository> | ||
</distributionManagement> | ||
<repositories> | ||
<repository> | ||
<id>citizens-repo</id> | ||
<url>https://maven.citizensnpcs.co/repo</url> | ||
<id>sk89q-repo</id> | ||
<url>https://maven.enginehub.org/repo/</url> | ||
</repository> | ||
<repository> | ||
<id>dmulloy2-repo</id> | ||
<url>https://repo.dmulloy2.net/repository/public/</url> | ||
</repository> | ||
<repository> | ||
<id>AlessioDP</id> | ||
<url>https://repo.alessiodp.com/releases/</url> | ||
</repository> | ||
<repository> | ||
<id>viaversion-repo</id> | ||
<url>https://repo.viaversion.com</url> | ||
</repository> | ||
</repositories> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.spigotmc</groupId> | ||
<artifactId>spigot</artifactId> | ||
<version>${craftbukkit.version}</version> | ||
<type>jar</type> | ||
<scope>provided</scope> | ||
</dependency> | ||
<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> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.comphenix.protocol</groupId> | ||
<artifactId>ProtocolLib</artifactId> | ||
<version>5.0.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.viaversion</groupId> | ||
<artifactId>viaversion-api</artifactId> | ||
<version>4.7.1-SNAPSHOT</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>ch.ethz.globis.phtree</groupId> | ||
<artifactId>phtree</artifactId> | ||
<version>2.6.2</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.joml</groupId> | ||
<artifactId>joml</artifactId> | ||
<version>1.10.5</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<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> | ||
<dependency> | ||
<groupId>com.sk89q.worldguard</groupId> | ||
<artifactId>worldguard-bukkit</artifactId> | ||
<version>${worldguard.version}</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.byteflux</groupId> | ||
<artifactId>libby-bukkit</artifactId> | ||
<version>1.1.5</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.kyori</groupId> | ||
<artifactId>adventure-text-minimessage</artifactId> | ||
<version>4.14.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.kyori</groupId> | ||
<artifactId>adventure-platform-bukkit</artifactId> | ||
<version>4.3.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</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</defaultGoal> | ||
<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> | ||
<resource> | ||
<targetPath>.</targetPath> | ||
<filtering>true</filtering> | ||
<directory>..</directory> | ||
<includes> | ||
<include>LICENSE</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<version>${maven-deploy-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>default-deploy</id> | ||
<phase>deploy</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven-compiler-plugin.version}</version> | ||
<configuration> | ||
<release>8</release> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>${maven-jar-plugin.version}</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>${maven-shade-plugin.version}</version> | ||
<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> | ||
<shadedPattern>clib.trove</shadedPattern> | ||
</relocation> | ||
<relocation> | ||
<pattern>ch.ethz.globis.phtree</pattern> | ||
<shadedPattern>clib.phtree</shadedPattern> | ||
</relocation> | ||
<relocation> | ||
<pattern>net.kyori</pattern> | ||
<shadedPattern>clib.net.kyori</shadedPattern> | ||
</relocation> | ||
<relocation> | ||
<pattern>net.byteflux.libby</pattern> | ||
<shadedPattern>clib.net.byteflux.libby</shadedPattern> | ||
</relocation> | ||
</relocations> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>${maven-javadoc-plugin.version}</version> | ||
<configuration> | ||
<source>11</source> | ||
<author>false</author> | ||
<failOnError>false</failOnError> | ||
<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> | ||
<profiles> | ||
<profile> | ||
<id>spigot-release</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<modules> | ||
<module>main</module> | ||
<module>v1_8_R3</module> | ||
<module>v1_16_R3</module> | ||
<module>v1_18_R2</module> | ||
<module>v1_19_R3</module> | ||
<module>v1_20_R1</module> | ||
<module>dist</module> | ||
</modules> | ||
</profile> | ||
<profile> | ||
<id>full</id> | ||
<modules> | ||
<module>main</module> | ||
<module>v1_8_R3</module> | ||
<module>v1_10_R1</module> | ||
<module>v1_11_R1</module> | ||
<module>v1_12_R1</module> | ||
<module>v1_13_R2</module> | ||
<module>v1_14_R1</module> | ||
<module>v1_15_R1</module> | ||
<module>v1_16_R3</module> | ||
<module>v1_17_R1</module> | ||
<module>v1_18_R2</module> | ||
<module>v1_19_R3</module> | ||
<module>v1_20_R1</module> | ||
<module>dist</module> | ||
</modules> | ||
</profile> | ||
<profile> | ||
<id>dev</id> | ||
<modules> | ||
<module>main</module> | ||
<module>v1_20_R1</module> | ||
<module>dist</module> | ||
</modules> | ||
</profile> | ||
</profiles> | ||
</project> |