EpicBosses/plugin-modules/Core/pom.xml

105 lines
4.1 KiB
XML
Raw Normal View History

<?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>EpicBosses</artifactId>
<groupId>com.songoda.epicbosses</groupId>
<version>maven-version-number</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>Core</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
2018-04-27 22:22:03 +02:00
<groupId>${project.groupId}</groupId>
<artifactId>FactionHelper</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
2018-04-27 22:22:03 +02:00
<groupId>${project.groupId}</groupId>
<artifactId>FactionsM</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
2018-04-27 22:22:03 +02:00
</dependency><dependency>
<groupId>${project.groupId}</groupId>
<artifactId>FactionsOne</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
2018-04-27 22:22:03 +02:00
<groupId>${project.groupId}</groupId>
<artifactId>FactionsUUID</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
2018-04-27 22:22:03 +02:00
<groupId>${project.groupId}</groupId>
<artifactId>LegacyFactions</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
2018-11-19 07:35:10 +01:00
<finalName>${parent.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
2018-04-27 22:22:03 +02:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
2018-04-27 22:22:03 +02:00
<showDeprecation>false</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>com.songoda.epicbosses.utils.bstats</shadedPattern>
</relocation>
<relocation>
<pattern>utils.factions</pattern>
<shadedPattern>com.songoda.epicbosses.utils.factions</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>install</phase>
<configuration>
<target>
<copy file="target/${build.finalName}.jar" tofile="D:/Servers/1.13.2/plugins/${build.finalName}.jar"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>