mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-12 14:58:26 +02:00
378 lines
12 KiB
XML
378 lines
12 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>
|
|
<groupId>com.djrapitops</groupId>
|
|
<artifactId>Plan</artifactId>
|
|
<version>4.2.0-SNAPSHOT</version>
|
|
<build>
|
|
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
|
|
<testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
|
|
<defaultGoal>clean package install</defaultGoal>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>.</targetPath>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.keystore</include>
|
|
<include>**/*.css</include>
|
|
<include>**/*.yml</include>
|
|
<include>**/*.html</include>
|
|
<include>**/*.js</include>
|
|
<include>**/*.css</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>licence.yml</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<finalName>${project.name}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>org.powermock:*</exclude>
|
|
<exclude>org.javassist:*</exclude>
|
|
<exclude>com.thoughtworks.xstream:*</exclude>
|
|
<exclude>xmlpull:*</exclude>
|
|
<exclude>xpp3:*</exclude>
|
|
<exclude>org.objenesis:*</exclude>
|
|
<exclude>cglib:*</exclude>
|
|
<exclude>org.bukkit:*</exclude>
|
|
<exclude>org.mockito:*</exclude>
|
|
<exclude>org.easymock:*</exclude>
|
|
<exclude>junit:*</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/test/*</exclude>
|
|
<exclude>**/*/test/*</exclude>
|
|
<exclude>**/*/test.*</exclude>
|
|
<exclude>**/test/**/*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.7.9</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>2.17</version>
|
|
<configuration>
|
|
<excludes>**/test/**/*</excludes>
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.4</version>
|
|
<configuration>
|
|
<excludePackageNames>test.*</excludePackageNames>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<repositories>
|
|
<repository>
|
|
<id>bungeecord-repo</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>paper-repo</id>
|
|
<url>https://repo.destroystokyo.com/repository/maven-public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>sponge-repo</id>
|
|
<url>https://repo.spongepowered.org/maven</url>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.destroystokyo.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>authlib</artifactId>
|
|
<groupId>com.mojang</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-lang</artifactId>
|
|
<groupId>commons-lang</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>json-simple</artifactId>
|
|
<groupId>com.googlecode.json-simple</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>jsr305</artifactId>
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>gson</artifactId>
|
|
<groupId>com.google.code.gson</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<groupId>org.yaml</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>bungeecord-chat</artifactId>
|
|
<groupId>net.md-5</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>asm-all</artifactId>
|
|
<groupId>org.ow2.asm</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.spigotmc</groupId>
|
|
<artifactId>spigot-api</artifactId>
|
|
<version>1.12-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-lang</artifactId>
|
|
<groupId>commons-lang</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>json-simple</artifactId>
|
|
<groupId>com.googlecode.json-simple</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>gson</artifactId>
|
|
<groupId>com.google.code.gson</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<groupId>org.yaml</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>bungeecord-chat</artifactId>
|
|
<groupId>net.md-5</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bukkit</groupId>
|
|
<artifactId>bukkit</artifactId>
|
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-lang</artifactId>
|
|
<groupId>commons-lang</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>json-simple</artifactId>
|
|
<groupId>com.googlecode.json-simple</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>gson</artifactId>
|
|
<groupId>com.google.code.gson</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>snakeyaml</artifactId>
|
|
<groupId>org.yaml</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.md-5</groupId>
|
|
<artifactId>bungeecord-api</artifactId>
|
|
<version>1.12-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>bungeecord-config</artifactId>
|
|
<groupId>net.md-5</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>bungeecord-event</artifactId>
|
|
<groupId>net.md-5</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>bungeecord-protocol</artifactId>
|
|
<groupId>net.md-5</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>bungeecord-chat</artifactId>
|
|
<groupId>net.md-5</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.spongepowered</groupId>
|
|
<artifactId>spongeapi</artifactId>
|
|
<version>7.0.0</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
<groupId>com.google.errorprone</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guice</artifactId>
|
|
<groupId>com.google.inject</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>caffeine</artifactId>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>plugin-meta</artifactId>
|
|
<groupId>org.spongepowered</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>configurate-hocon</artifactId>
|
|
<groupId>ninja.leaping.configurate</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>configurate-gson</artifactId>
|
|
<groupId>ninja.leaping.configurate</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>configurate-yaml</artifactId>
|
|
<groupId>ninja.leaping.configurate</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>flow-math</artifactId>
|
|
<groupId>com.flowpowered</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>flow-noise</artifactId>
|
|
<groupId>com.flowpowered</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>asm</artifactId>
|
|
<groupId>org.ow2.asm</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>jsr305</artifactId>
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>gson</artifactId>
|
|
<groupId>com.google.code.gson</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>2.13.0</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>byte-buddy</artifactId>
|
|
<groupId>net.bytebuddy</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>byte-buddy-agent</artifactId>
|
|
<groupId>net.bytebuddy</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>objenesis</artifactId>
|
|
<groupId>org.objenesis</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
<version>3.21.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<properties>
|
|
<sonar.language>java</sonar.language>
|
|
<sonar.jacoco.reportPaths>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPaths>
|
|
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
|
|
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
</properties>
|
|
</project>
|
|
|