83 lines
2.8 KiB
XML
83 lines
2.8 KiB
XML
<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>
|
|
|
|
<parent>
|
|
<groupId>tc.oc</groupId>
|
|
<artifactId>api-parent</artifactId>
|
|
<relativePath>../pom.xml</relativePath>
|
|
<version>1.11-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>api-bukkit</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>API-Bukkit</name>
|
|
<description>ProjectAres API Bukkit plugin</description>
|
|
|
|
<dependencies>
|
|
<!-- Prevent Bukkit from hijacking Guava -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>tc.oc</groupId>
|
|
<artifactId>util-bukkit</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>tc.oc</groupId>
|
|
<artifactId>api-minecraft</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>.</targetPath>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources/</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<!-- Git versioning plugin -->
|
|
<plugin>
|
|
<groupId>pl.project13.maven</groupId>
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
<version>2.1.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>revision</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<configuration>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>tc.oc:api-minecraft</include>
|
|
<include>tc.oc:util-bukkit</include>
|
|
</includes>
|
|
</artifactSet>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|