mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
170 lines
7.2 KiB
XML
170 lines
7.2 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/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>RedisBungee</artifactId>
|
|
<groupId>com.imaginarycode.minecraft</groupId>
|
|
<version>0.10.2-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>RedisBungee-Velocity</artifactId>
|
|
|
|
<properties>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
</properties>
|
|
<repositories>
|
|
<repository>
|
|
<id>papermc-repo</id>
|
|
<url>https://repo.papermc.io/repository/maven-public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>templating-maven-plugin</artifactId>
|
|
<version>1.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>add-plugin-info</id>
|
|
<goals>
|
|
<goal>filter-sources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>11</source>
|
|
<target>11</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.3.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<configuration>
|
|
<includeDependencySources>true</includeDependencySources>
|
|
<dependencySourceExcludes>
|
|
<dependencySourceExclude>com.velocitypowered:*</dependencySourceExclude>
|
|
</dependencySourceExcludes>
|
|
<source>11</source>
|
|
<destDir>../javadoc/${project.name}</destDir>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>redis.clients.jedis</pattern>
|
|
<shadedPattern>com.imaginarycode.minecraft.redisbungee.internal.jedis
|
|
</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>redis.clients.util</pattern>
|
|
<shadedPattern>com.imaginarycode.minecraft.redisbungee.internal.jedisutil
|
|
</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.apache.commons.pool</pattern>
|
|
<shadedPattern>com.imaginarycode.minecraft.redisbungee.internal.commonspool
|
|
</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.squareup.okhttp</pattern>
|
|
<shadedPattern>com.imaginarycode.minecraft.redisbungee.internal.okhttp
|
|
</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>okio</pattern>
|
|
<shadedPattern>com.imaginarycode.minecraft.redisbungee.internal.okio</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.json</pattern>
|
|
<shadedPattern>com.imaginarycode.minecraft.redisbungee.internal.json</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.checkerframework</pattern>
|
|
<shadedPattern>com.imaginarycode.minecraft.redisbungee.internal.checkframework
|
|
</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.imaginarycode.minecraft</groupId>
|
|
<artifactId>RedisBungee-API</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.spongepowered</groupId>
|
|
<artifactId>configurate-yaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.imaginarycode.minecraft</groupId>
|
|
<artifactId>RedisBungee-API</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
<classifier>javadoc</classifier>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.spongepowered</groupId>
|
|
<artifactId>configurate-yaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.velocitypowered</groupId>
|
|
<artifactId>velocity-api</artifactId>
|
|
<version>3.1.2-SNAPSHOT</version>
|
|
<type>jar</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project> |