2019-02-13 14:21:57 +00:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-24 23:48:06 +00: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>
|
2019-02-13 14:21:57 +00:00
|
|
|
|
2019-10-23 00:40:34 +00:00
|
|
|
<parent>
|
2020-02-04 16:44:59 +00:00
|
|
|
<groupId>com.github.TBMCPlugins.ChromaCore</groupId>
|
2019-10-23 00:40:34 +00:00
|
|
|
<artifactId>CorePOM</artifactId>
|
|
|
|
<version>master-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
2019-05-24 23:48:06 +00:00
|
|
|
<groupId>com.github.TBMCPlugins</groupId>
|
2020-02-04 16:44:59 +00:00
|
|
|
<artifactId>Chroma-Discord</artifactId>
|
2020-10-27 23:32:59 +00:00
|
|
|
<version>v${noprefix.version}-SNAPSHOT</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<packaging>jar</packaging>
|
2019-02-13 14:21:57 +00:00
|
|
|
|
2020-02-04 16:44:59 +00:00
|
|
|
<name>Chroma-Discord</name>
|
2019-05-24 23:48:06 +00:00
|
|
|
<url>http://maven.apache.org</url>
|
2019-02-13 14:21:57 +00:00
|
|
|
|
2019-05-24 23:48:06 +00:00
|
|
|
<build>
|
|
|
|
<!-- <sourceDirectory>target/generated-sources/delombok</sourceDirectory>
|
|
|
|
<testSourceDirectory>target/generated-test-sources/delombok</testSourceDirectory> -->
|
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
2020-10-29 23:56:08 +00:00
|
|
|
<filtering>true</filtering>
|
2019-05-24 23:48:06 +00:00
|
|
|
</resource>
|
|
|
|
</resources>
|
2020-02-04 16:44:59 +00:00
|
|
|
<finalName>Chroma-Discord</finalName>
|
2019-05-24 23:48:06 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2019-10-20 18:50:29 +00:00
|
|
|
<version>3.2.1</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactSet>
|
2020-10-29 23:56:08 +00:00
|
|
|
<!-- <includes>
|
|
|
|
<include>com.discord4j:discord4j*</include>
|
|
|
|
<include>com.vdurmont:emoji-java</include>
|
|
|
|
</includes> --> <!-- http://stackoverflow.com/questions/28458058/maven-shade-plugin-exclude-a-dependency-and-all-its-transitive-dependencies -->
|
2019-05-24 23:48:06 +00:00
|
|
|
</artifactSet>
|
2020-03-15 02:10:27 +00:00
|
|
|
<!-- <minimizeJar>true</minimizeJar> Tried using filters but we need pretty much all of that 12 MB -->
|
2019-05-24 23:48:06 +00:00
|
|
|
<relocations>
|
|
|
|
<relocation>
|
|
|
|
<pattern>io.netty</pattern>
|
2019-05-30 22:38:28 +00:00
|
|
|
<shadedPattern>btndvtm.dp.io.netty</shadedPattern>
|
2019-05-24 23:48:06 +00:00
|
|
|
<excludes>
|
|
|
|
</excludes>
|
|
|
|
</relocation>
|
2021-02-09 22:00:40 +00:00
|
|
|
<relocation>
|
|
|
|
<pattern>com.fasterxml</pattern>
|
|
|
|
<shadedPattern>btndvtm.dp.com.fasterxml</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.mockito</pattern>
|
|
|
|
<shadedPattern>btndvtm.dp.org.mockito</shadedPattern>
|
|
|
|
</relocation>
|
|
|
|
<relocation>
|
|
|
|
<pattern>org.slf4j</pattern>
|
|
|
|
<shadedPattern>btndvtm.dp.org.slf4j</shadedPattern>
|
|
|
|
</relocation>
|
2019-05-24 23:48:06 +00:00
|
|
|
</relocations>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2019-04-10 11:50:26 +00:00
|
|
|
<version>2.4.2</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<configuration>
|
|
|
|
<useSystemClassLoader>false
|
|
|
|
</useSystemClassLoader> <!-- https://stackoverflow.com/a/53012553/2703239 -->
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-02-15 21:24:14 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>net.alchim31.maven</groupId>
|
|
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
|
|
<version>4.4.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<!-- <sendJavaToScalac>false</sendJavaToScalac> -->
|
|
|
|
<addToClasspath>target/generated-sourcess</addToClasspath>
|
|
|
|
<removeFromClasspath>src/main/java</removeFromClasspath>
|
|
|
|
<sourceDir>src/main/scala</sourceDir>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-05-24 23:48:06 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-02-13 14:21:57 +00:00
|
|
|
|
2019-05-24 23:48:06 +00:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2020-10-27 23:32:59 +00:00
|
|
|
<noprefix.version>1.0.0</noprefix.version>
|
2019-05-24 23:48:06 +00:00
|
|
|
</properties>
|
2019-02-13 14:21:57 +00:00
|
|
|
|
2019-05-24 23:48:06 +00:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigot-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
|
|
</repository>
|
|
|
|
<repository> <!-- This repo fixes issues with transitive dependencies -->
|
|
|
|
<id>jcenter</id>
|
|
|
|
<url>http://jcenter.bintray.com</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
|
|
|
</repository>
|
2019-02-13 14:21:57 +00:00
|
|
|
<!-- <repository>
|
|
|
|
<id>vault-repo</id>
|
|
|
|
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
|
|
|
|
</repository> -->
|
2019-05-24 23:48:06 +00:00
|
|
|
<repository>
|
|
|
|
<id>Essentials</id>
|
2019-07-08 00:00:08 +00:00
|
|
|
<url>https://ci.ender.zone/plugin/repository/everything/</url>
|
2019-05-24 23:48:06 +00:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>projectlombok.org</id>
|
|
|
|
<url>http://projectlombok.org/mavenrepo</url>
|
|
|
|
</repository>
|
2019-02-13 14:21:57 +00:00
|
|
|
<!-- <repository>
|
|
|
|
<id>pex-repo</id>
|
|
|
|
<url>http://pex-repo.aoeu.xyz</url>
|
|
|
|
</repository> -->
|
2019-05-10 19:39:25 +00:00
|
|
|
<!-- <repository>
|
|
|
|
<id>Reactor-Tools</id>
|
|
|
|
<url>https://repo.spring.io/milestone</url>
|
|
|
|
</repository> -->
|
2020-09-11 20:27:22 +00:00
|
|
|
<repository>
|
|
|
|
<id>papermc</id>
|
|
|
|
<url>https://papermc.io/repo/repository/maven-public/</url>
|
|
|
|
</repository>
|
2021-02-15 21:24:14 +00:00
|
|
|
<repository>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<id>ossSonatypeSnapshot</id>
|
|
|
|
<name>OSS Sonatype Snapshots</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
<layout>default</layout>
|
|
|
|
</repository>
|
2019-05-24 23:48:06 +00:00
|
|
|
</repositories>
|
2019-02-13 14:21:57 +00:00
|
|
|
|
2019-05-24 23:48:06 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2020-10-13 06:37:54 +00:00
|
|
|
<version>4.13.1</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
2019-07-08 00:00:08 +00:00
|
|
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
2020-02-18 16:18:17 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc.</groupId>
|
|
|
|
<artifactId>spigot</artifactId>
|
|
|
|
<version>1.14.4-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
2020-03-11 11:00:20 +00:00
|
|
|
</dependency>
|
2020-09-11 20:27:22 +00:00
|
|
|
<dependency> <!-- From patched_1.16.3.jar -->
|
|
|
|
<groupId>com.destroystokyo.paper</groupId>
|
|
|
|
<artifactId>paper</artifactId>
|
|
|
|
<version>1.16.3-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-05-24 23:48:06 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/com.discord4j/Discord4J -->
|
2019-03-17 21:56:17 +00:00
|
|
|
<dependency>
|
2019-02-13 14:21:57 +00:00
|
|
|
<groupId>com.discord4j</groupId>
|
2019-04-17 11:52:01 +00:00
|
|
|
<artifactId>discord4j-core</artifactId>
|
2021-02-09 22:00:40 +00:00
|
|
|
<version>3.1.3</version>
|
2019-02-13 14:21:57 +00:00
|
|
|
</dependency>
|
2019-05-24 23:48:06 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-jdk14 -->
|
2020-10-30 22:50:08 +00:00
|
|
|
<dependency>
|
2019-05-24 23:48:06 +00:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
|
|
<version>1.7.21</version>
|
2020-10-30 22:50:08 +00:00
|
|
|
</dependency>
|
2019-05-24 23:48:06 +00:00
|
|
|
<dependency>
|
2020-02-04 16:44:59 +00:00
|
|
|
<groupId>com.github.TBMCPlugins.ChromaCore</groupId>
|
|
|
|
<artifactId>Chroma-Core</artifactId>
|
2020-10-27 23:32:59 +00:00
|
|
|
<version>v1.0.0</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.ess3</groupId>
|
2020-02-03 12:20:38 +00:00
|
|
|
<artifactId>EssentialsX</artifactId>
|
|
|
|
<version>2.17.1</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2019-10-20 18:50:29 +00:00
|
|
|
<version>1.18.10</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-02-13 14:21:57 +00:00
|
|
|
<!-- <dependency>
|
|
|
|
<groupId>ru.tehkode</groupId>
|
|
|
|
<artifactId>PermissionsEx</artifactId>
|
|
|
|
<version>1.23.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency> -->
|
2019-05-24 23:48:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.vdurmont</groupId>
|
|
|
|
<artifactId>emoji-java</artifactId>
|
|
|
|
<version>4.0.0</version>
|
|
|
|
</dependency>
|
2019-05-10 19:39:25 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/io.projectreactor.tools/blockhound -->
|
|
|
|
<!-- <dependency>
|
|
|
|
<groupId>io.projectreactor.tools</groupId>
|
|
|
|
<artifactId>blockhound</artifactId>
|
|
|
|
<version>1.0.0.M3</version>
|
|
|
|
</dependency> -->
|
2019-05-24 23:48:06 +00:00
|
|
|
<dependency>
|
2020-10-25 20:49:09 +00:00
|
|
|
<groupId>com.github.lucko.LuckPerms</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
2020-05-27 13:45:14 +00:00
|
|
|
<version>master-SNAPSHOT</version>
|
2019-05-24 23:48:06 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-09-11 20:27:22 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
|
2020-03-15 02:10:27 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
2020-10-06 22:52:59 +00:00
|
|
|
<version>3.5.13</version>
|
2020-03-15 02:10:27 +00:00
|
|
|
</dependency>
|
2021-02-15 21:24:14 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-library</artifactId>
|
|
|
|
<version>2.13.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.projectreactor</groupId>
|
|
|
|
<artifactId>reactor-scala-extensions_2.13</artifactId>
|
|
|
|
<version>0.7.0</version>
|
|
|
|
</dependency>
|
2019-05-24 23:48:06 +00:00
|
|
|
</dependencies>
|
2019-02-13 14:21:57 +00:00
|
|
|
</project>
|