mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-26 04:05:57 +01:00
bc5acab41d
Stop Actions will is the replacement for both the Auto Restart and Temporary flags. To define that the server should restart on stop, use the RESTART keyword. To get the same result that you would get using the temporary flag, use the REMOVE_SERVER keyword. Additionally, there is now a DELETE_SERVER keyword. This keyword does the same thing as the REMOVE_SERVER keyword, except it deletes the directory on the server ran from. If you would like nothing special to happen when the server stops, use the NONE keyword.
122 lines
4.9 KiB
XML
122 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>net.ME1312.SubServers</groupId>
|
|
<artifactId>SubServers.Client.Sponge</artifactId>
|
|
<version>-PLACEHOLDER</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>sponge-repo</id>
|
|
<url>https://repo.spongepowered.org/maven</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.spongepowered</groupId>
|
|
<artifactId>spongeapi</artifactId>
|
|
<version>7.0.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.msgpack</groupId>
|
|
<artifactId>msgpack-core</artifactId>
|
|
<version>0.8.16</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<directory>../../out/compile/target/SubServers.Client.Sponge</directory>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.7.0</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<mkdir dir="${project.build.directory}" />
|
|
<copy file="${basedir}/../config.yml" todir="${project.build.directory}/classes" />
|
|
<copy file="${basedir}/../../LICENSE" todir="${project.build.directory}/classes" />
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.2-beta-5</version>
|
|
<configuration>
|
|
<finalName>SubServers.Client.Sponge</finalName>
|
|
<outputDirectory>../../Artifacts</outputDirectory>
|
|
<archive>
|
|
<manifestFile>src/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>javadoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<windowtitle>SubServers.Client.Sponge Javadoc</windowtitle>
|
|
<doctitle>SubServers.Client.Sponge Javadoc</doctitle>
|
|
<destDir>./</destDir>
|
|
<outputDirectory>${basedir}/../../Javadoc/SubServers.Client.Sponge</outputDirectory>
|
|
<reportOutputDirectory>${basedir}/../../Javadoc/SubServers.Client.Sponge</reportOutputDirectory>
|
|
<additionalOptions>-Xdoclint:none</additionalOptions>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |