PurpleIRC-spigot/pom.xml
2021-12-08 09:08:35 -07:00

576 lines
20 KiB
XML

<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Bukkit API Version, change if out dated -->
<bukkit.version>1.18</bukkit.version>
<build.number>SNAPSHOT</build.number>
</properties>
<groupId>com.cnaude</groupId>
<artifactId>PurpleIRC</artifactId>
<version>1.0-${build.number}</version>
<name>PurpleIRC-spigot</name>
<description>Minecraft IRC integration for CraftBukkit/Spigot servers.</description>
<url>https://www.spigotmc.org/resources/purpleirc.2836/</url>
<pluginRepositories>
<pluginRepository>
<id>maven-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<!-- For anything else without its own repo -->
<repository>
<id>cnaude-repo</id>
<url>https://repo.chrisnaude.com/</url>
</repository>
<!-- DiscordSRV -->
<repository>
<id>Scarsz-Nexus</id>
<url>https://nexus.scarsz.me/content/groups/public/</url>
</repository>
<repository>
<id>sonatype-nexus-public</id>
<name>SonaType public snapshots and releases repository</name>
<url>https://oss.sonatype.org/content/groups/public</url>
<releases>
<!-- set to true if you wish to fetch releases from this repo too. -->
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- Vault
<repository>
<id>vault-repo</id>
<url>https://nexus.hc.to/content/repositories/pub_releases</url>
</repository> -->
<!--
<repository>
<id>dmulloy2-repo</id>
<url>https://repo.dmulloy2.net/content/groups/public/</url>
</repository>
-->
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<repository>
<id>dynmap</id>
<url>https://repo.mikeprimm.com/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-api</artifactId>
<version>${bukkit.version}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-183</artifactId>
<version>1.8.3</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-184</artifactId>
<version>1.8.4</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-19</artifactId>
<version>1.9</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-194</artifactId>
<version>1.9.4</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-110</artifactId>
<version>1.10</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-111</artifactId>
<version>1.11</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-112</artifactId>
<version>1.12</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>spigot-113</artifactId>
<version>1.13.2</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<!-- PircBotX -->
<dependency>
<groupId>com.cnaude.pircbotx</groupId>
<artifactId>pircbotx-shaded</artifactId>
<version>2.1.8</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.13</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
<!-- NTheEndAgain -->
<dependency>
<groupId>com.cnaude.nplugins</groupId>
<artifactId>ntheendagain</artifactId>
<version>0.6.10-SNAPSHOT</version>
<type>jar</type>
</dependency>
<!-- Essentials -->
<dependency>
<groupId>com.cnaude.essentialsx</groupId>
<artifactId>essentialsx</artifactId>
<version>2.0.1</version>
<type>jar</type>
</dependency>
<!-- ReportRTS -->
<dependency>
<groupId>com.nyancraft.reportrts</groupId>
<artifactId>ReportRTS</artifactId>
<version>2.0.0-54</version>
<exclusions>
<exclusion>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
</exclusion>
<exclusion>
<groupId>net.milkbowl.net</groupId>
<artifactId>Vault</artifactId>
</exclusion>
<exclusion>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Vault -->
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Herochat Pro -->
<dependency>
<groupId>com.dthielke.herochat</groupId>
<artifactId>Herochat</artifactId>
<version>6.0.1-B34A</version>
</dependency>
<!-- VentureChat -->
<dependency>
<groupId>mineverse.Aust1n46.chat</groupId>
<artifactId>VentureChat</artifactId>
<version>2.22.8</version>
</dependency>
<!-- Jobs -->
<dependency>
<groupId>com.cnaude.jobs</groupId>
<artifactId>Jobs</artifactId>
<version>2.18.8</version>
</dependency>
<!-- Jobs -->
<dependency>
<groupId>com.cnaude.jobs</groupId>
<artifactId>JobsOld</artifactId>
<version>2.12.0</version>
</dependency>
<!-- Factions -->
<dependency>
<groupId>com.cnaude.factions</groupId>
<artifactId>Factions</artifactId>
<version>2.7.5</version>
</dependency>
<!-- OreBroadcast -->
<dependency>
<groupId>com.cnaude.orebroadcast</groupId>
<artifactId>OreBroadcast</artifactId>
<version>1.2</version>
</dependency>
<!-- RedditStream -->
<dependency>
<groupId>com.cnaude.RedditStream</groupId>
<artifactId>RedditStream</artifactId>
<version>0.2</version>
</dependency>
<!-- VanishNoPacket -->
<dependency>
<groupId>com.cnaude.vanishnopacket</groupId>
<artifactId>VanishNoPacket</artifactId>
<version>3.19.2-SNAPSHOT</version>
</dependency>
<!-- mcore -->
<dependency>
<groupId>com.cnaude.mcore</groupId>
<artifactId>MassiveCore</artifactId>
<version>2.7.5</version>
</dependency>
<!-- FactionChat -->
<dependency>
<groupId>nz.co.lolnet.james137137</groupId>
<artifactId>factionchat</artifactId>
<version>1.9.16</version>
</dependency>
<!-- TitanChat -->
<dependency>
<groupId>com.cnaude.titanchat</groupId>
<artifactId>TitanChat</artifactId>
<version>4.1</version>
</dependency>
<!-- mcMMO -->
<dependency>
<groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId>
<version>2.1.182-SNAPSHOT</version>
</dependency>
<!-- Mulitverse-Core -->
<dependency>
<groupId>com.cnaude.multiverse</groupId>
<artifactId>Multiverse-Core</artifactId>
<version>2.5</version>
</dependency>
<!-- Towny -->
<dependency>
<groupId>com.cnaude.townychat</groupId>
<artifactId>TownyChat</artifactId>
<version>0.40</version>
</dependency>
<!-- Towny -->
<dependency>
<groupId>com.cnaude.towny</groupId>
<artifactId>Towny</artifactId>
<version>0.84.0.0</version>
</dependency>
<!-- ProtocolLib -->
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib-API</artifactId>
<version>4.0</version>
</dependency>
<!-- CleverNotch -->
<dependency>
<groupId>com.cnaude.clevernotch</groupId>
<artifactId>CleverNotch</artifactId>
<version>1.1-RELEASE</version>
</dependency>
<!-- DeathMessages -->
<dependency>
<groupId>com.cnaude.deathmessages</groupId>
<artifactId>DeathMessages</artifactId>
<version>2.9.1-SNAPSHOT</version>
</dependency>
<!-- DeathMessagesPrime -->
<dependency>
<groupId>com.cnaude.deathmessagesprime</groupId>
<artifactId>DeathMessagesPrime</artifactId>
<version>1.15</version>
</dependency>
<!-- Shortify -->
<dependency>
<groupId>com.cnaude.shortify</groupId>
<artifactId>Shortify</artifactId>
<version>1.8-SNAPSHOT</version>
</dependency>
<!-- Shortify -->
<dependency>
<groupId>com.cnaude.shortify</groupId>
<artifactId>Shortify-Universal</artifactId>
<version>1.7-SNAPSHOT</version>
</dependency>
<!-- CommandBook -->
<dependency>
<groupId>com.cnaude.commandbook</groupId>
<artifactId>CommandBook</artifactId>
<version>2.5-SNAPSHOT</version>
</dependency>
<!-- DynmapAPI -->
<dependency>
<groupId>us.dynmap</groupId>
<artifactId>dynmap-api</artifactId>
<version>2.5</version>
<exclusions>
<exclusion>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Prism -->
<dependency>
<groupId>com.cnaude.prism</groupId>
<artifactId>Prism</artifactId>
<version>2.0.1</version>
</dependency>
<!-- AdminPrivateChat -->
<dependency>
<groupId>com.cnaude.adminprivatechat</groupId>
<artifactId>AdminPrivateChat</artifactId>
<version>2.1</version>
</dependency>
<!-- SuperVanish -->
<dependency>
<groupId>com.cnaude.supervanish</groupId>
<artifactId>SuperVanish</artifactId>
<version>5.9.1</version>
</dependency>
<!-- SimpleTicketManager -->
<dependency>
<groupId>com.cnaude.simpleticketmanager</groupId>
<artifactId>SimpleTicketManager</artifactId>
<version>2.0.3</version>
</dependency>
<!-- GriefPrevention -->
<dependency>
<groupId>com.cnaude.griefprevention</groupId>
<artifactId>GriefPrevention</artifactId>
<version>12.1</version>
</dependency>
<!-- PlaceholderAPI -->
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.9</version>
<scope>provided</scope>
</dependency>
<!-- DiscordSRV -->
<dependency>
<groupId>com.discordsrv</groupId>
<artifactId>discordsrv</artifactId>
<version>1.22.0</version>
<scope>provided</scope>
</dependency>
<!-- UltimateChat -->
<dependency>
<groupId>com.cnaude.uchat</groupId>
<artifactId>UltimateChat</artifactId>
<version>1.6.8-b502</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.0.1-jre</version>
</dependency>
<!-- Testing only -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>junit-benchmarks</artifactId>
<version>0.7.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!-- Filter only plugin.yml -->
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>plugin.yml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>plugin.yml</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.9.0-SNAPSHOT</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0-SNAPSHOT</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<artifactSet>
<includes>
<include>com.cnaude.pircbotx</include>
<include>commons-codec</include>
<include>com.google.common</include>
</includes>
</artifactSet>
<filters>
</filters>
<relocations>
<relocation>
<pattern>org.pircbotx</pattern>
<shadedPattern>com.cnaude.purpleirc.ext.org.pircbotx</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons.lang3</pattern>
<shadedPattern>com.cnaude.purpleirc.ext.org.apache.commons.lang3</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons.codec</pattern>
<shadedPattern>com.cnaude.purpleirc.ext.org.apache.commons.codec</shadedPattern>
</relocation>
<relocation>
<pattern>com.google.common</pattern>
<shadedPattern>com.cnaude.purpleirc.ext.com.google.common</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<configuration>
<tasks>
<copy file="../${project.name}/target/PurpleIRC-${project.version}.jar" tofile="../${project.name}/target/PurpleIRC.jar"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>stage-repo</id>
<url>file://${basedir}/../repo/releases</url>
</repository>
<snapshotRepository>
<id>stage-repo-stapshots</id>
<url>file://${basedir}/../repo/snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>