150 lines
4.9 KiB
XML
150 lines
4.9 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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.ryanmichela</groupId>
|
|
<artifactId>SSHD</artifactId>
|
|
<version>1.3.3</version>
|
|
<url>http://dev.bukkit.org/server-mods/sshd/</url>
|
|
|
|
<!-- Repositories -->
|
|
<repositories>
|
|
<repository>
|
|
<id>spigot-repo</id>
|
|
<url>https://hub.spigotmc.org/nexus/content/groups/public</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<!-- License -->
|
|
<licenses>
|
|
<license>
|
|
<name>GPL2</name>
|
|
<url>http://www.gnu.org/licenses/gpl-2.0.html</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<!-- Dependencies -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.bukkit</groupId>
|
|
<artifactId>craftbukkit</artifactId>
|
|
<version>1.12.2-R0.1-SNAPSHOT</version>
|
|
<scope>system</scope>
|
|
<type>jar</type>
|
|
<systemPath>${basedir}/bukkit-build/bukkit.jar</systemPath>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.sshd</groupId>
|
|
<artifactId>sshd-core</artifactId>
|
|
<version>1.6.0</version>
|
|
<scope>compile</scope>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.mina</groupId>
|
|
<artifactId>mina-core</artifactId>
|
|
<version>2.0.16</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.25</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
<version>1.7.25</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>jline</groupId>
|
|
<artifactId>jline</artifactId>
|
|
<version>2.12.1</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<!-- Build -->
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>.</targetPath>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>plugin.yml</include>
|
|
<include>config.yml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<finalName>${project.name}-${project.version}</finalName>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Shade plugin -->
|
|
<!-- <plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<minimizeJar>true</minimizeJar>
|
|
</configuration>
|
|
</plugin> -->
|
|
|
|
<!-- Compile plugin -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<packaging>jar</packaging>
|
|
</project> |