2020-07-21 03:17:08 +00:00
|
|
|
<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>xyz.etztech</groupId>
|
2020-07-29 17:31:54 +00:00
|
|
|
<artifactId>MineAlert</artifactId>
|
2020-07-21 03:17:08 +00:00
|
|
|
<!-- Version is used in plugin.yml -->
|
|
|
|
<version>0.0.1</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<!-- Plugin Information -->
|
|
|
|
<!-- Name, Description, and URL are used in plugin.yml -->
|
2020-07-29 17:31:54 +00:00
|
|
|
<name>MineAlert</name>
|
2020-07-21 03:17:08 +00:00
|
|
|
<description>Keep track of mining and alert if needed.</description>
|
2020-07-29 17:31:54 +00:00
|
|
|
<url>https://git.etztech.xyz/Minecraft/MineAlert</url>
|
2020-07-21 03:17:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>EtzTech</name>
|
2020-07-29 16:39:34 +00:00
|
|
|
<url>https://git.etztech.xyz/</url>
|
2020-07-21 03:17:08 +00:00
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- Author and MainClass are used in plugin.yml -->
|
|
|
|
<author>EtzTech</author>
|
2020-07-29 17:31:54 +00:00
|
|
|
<mainClass>xyz.etztech.minealert.MineAlert</mainClass>
|
2020-07-21 03:17:08 +00:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spigotmc</groupId>
|
|
|
|
<artifactId>spigot-api</artifactId>
|
|
|
|
<version>1.16.1-R0.1-SNAPSHOT</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>spigotmc-repo</id>
|
|
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>mvn-repo</id>
|
|
|
|
<url>https://mvnrepository.com/artifact/</url>
|
|
|
|
</repository>
|
|
|
|
<repository> <!-- This repo fixes issues with transitive dependencies -->
|
|
|
|
<id>jcenter</id>
|
2020-07-29 04:30:41 +00:00
|
|
|
<url>https://jcenter.bintray.com</url>
|
2020-07-21 03:17:08 +00:00
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>jitpack.io</id>
|
|
|
|
<url>https://jitpack.io</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
|
|
<defaultGoal>clean install</defaultGoal>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<!-- Keeping filtering at true here reduces plugin.yml redundancy! -->
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
|
|
|
<include>config.yml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<!-- Keep filtering at false for other resources to prevent bad magic -->
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
<exclude>plugin.yml</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>8</source>
|
|
|
|
<target>8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<!-- Build an executable JAR -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
2020-07-29 17:31:54 +00:00
|
|
|
<mainClass>xyz.etztech.minealert.MineAlert</mainClass>
|
2020-07-21 03:17:08 +00:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>3.1.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|