MythicNetwork/Trojan-master/pom.xml

158 lines
6.5 KiB
XML
Raw Normal View History

2023-05-25 01:58:23 +02:00
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>net.valorhcf</groupId>
<artifactId>trojan</artifactId>
<version>1.0</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>net.valorhcf</groupId>
<artifactId>vspigot-server</artifactId>
<version>1.7.10-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.lucko</groupId>
<artifactId>helper</artifactId>
<version>5.6.5</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.6.1</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.12.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>cc.fyre.proton</groupId>
<artifactId>proton</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>cc.fury.piston</groupId>
<artifactId>piston</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>cc.fyre.neutron</groupId>
<artifactId>neutron</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>cc.fyre.universe</groupId>
<artifactId>spigot</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>clean install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<configuration>
<finalName>trojan</finalName>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.apache.commons</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.org.apache.commons</shadedPattern>
</relocation>
<relocation>
<pattern>org.checkerframework</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.org.checkerframework</shadedPattern>
</relocation>
<relocation>
<pattern>net.kyori.event</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.net.kyori.event</shadedPattern>
</relocation>
<relocation>
<pattern>net.jodah.expiringmap</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.net.jodah.expiringmapjodah.expiringmap
</shadedPattern>
</relocation>
<relocation>
<pattern>me.lucko.shadow</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.me.lucko.shadow</shadedPattern>
</relocation>
<relocation>
<pattern>me.lucko.helper</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.me.lucko.helper</shadedPattern>
</relocation>
<relocation>
<pattern>javax.annotation</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.javax.annotation</shadedPattern>
</relocation>
<relocation>
<pattern>com.google</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.com.google</shadedPattern>
</relocation>
<relocation>
<pattern>com.flowpowered.math</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.com.flowpowered.math</shadedPattern>
</relocation>
<relocation>
<pattern>net.kyori.minecraft</pattern>
<shadedPattern>net.valorhcf.trojan.relocations.net.kyori.minecraft</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>4.0.0</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
<phase>initialize</phase>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>