2012-12-13 22:48:56 +01: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>
|
|
|
|
|
|
|
|
<!-- Informations -->
|
|
|
|
<groupId>fr.neatmonster</groupId>
|
2012-12-14 00:44:08 +01:00
|
|
|
<artifactId>nocheatplus</artifactId>
|
2012-12-13 22:48:56 +01:00
|
|
|
<name>NoCheatPlus</name>
|
2013-03-05 16:37:48 +01:00
|
|
|
<version>3.8.11</version>
|
2012-12-13 22:48:56 +01:00
|
|
|
<description>Detect and fight the exploitation of various flaws/bugs in Minecraft.</description>
|
|
|
|
<url>http://dev.bukkit.org/server-mods/nocheatplus</url>
|
|
|
|
|
2012-12-13 23:42:59 +01:00
|
|
|
<packaging>jar</packaging>
|
2012-12-13 22:48:56 +01:00
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>bukkit</id>
|
|
|
|
<name>Bukkit</name>
|
|
|
|
<url>http://repo.bukkit.org/content/groups/public/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
2013-01-31 07:05:28 +01:00
|
|
|
<version>1.4.7-R1.0</version>
|
2012-12-13 22:48:56 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.8.2</version>
|
|
|
|
</dependency>
|
2013-02-27 00:46:56 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpbuildbase</artifactId>
|
|
|
|
<version>static</version>
|
|
|
|
</dependency>
|
2012-12-21 10:44:28 +01:00
|
|
|
<dependency>
|
2012-12-13 22:48:56 +01:00
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpcommons</artifactId>
|
2013-01-20 04:18:08 +01:00
|
|
|
<version>static</version>
|
2012-12-13 22:48:56 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpcompat</artifactId>
|
2013-01-20 04:18:08 +01:00
|
|
|
<version>static</version>
|
2012-12-13 22:48:56 +01:00
|
|
|
</dependency>
|
2013-02-28 03:40:40 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpcompatbukkit</artifactId>
|
|
|
|
<version>static</version>
|
|
|
|
</dependency>
|
2012-12-21 10:44:28 +01:00
|
|
|
<dependency>
|
2012-12-13 22:48:56 +01:00
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpcompatcb2511</artifactId>
|
2013-01-20 04:18:08 +01:00
|
|
|
<version>static</version>
|
2012-12-13 22:48:56 +01:00
|
|
|
</dependency>
|
2012-12-21 10:44:28 +01:00
|
|
|
<dependency>
|
2012-12-13 22:48:56 +01:00
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpcompatcb2512</artifactId>
|
2013-01-20 04:18:08 +01:00
|
|
|
<version>static</version>
|
2012-12-13 22:48:56 +01:00
|
|
|
</dependency>
|
2012-12-21 10:44:28 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>fr.neatmonster</groupId>
|
2012-12-21 18:08:18 +01:00
|
|
|
<artifactId>ncpcompatcb2545</artifactId>
|
2013-01-20 04:18:08 +01:00
|
|
|
<version>static</version>
|
2012-12-21 10:44:28 +01:00
|
|
|
</dependency>
|
2013-02-28 03:21:38 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpcompatcb2602</artifactId>
|
|
|
|
<version>static</version>
|
|
|
|
</dependency>
|
2013-01-06 13:58:36 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>fr.neatmonster</groupId>
|
|
|
|
<artifactId>ncpcompatcbdev</artifactId>
|
2013-01-20 04:18:08 +01:00
|
|
|
<version>static</version>
|
2013-01-06 13:58:36 +01:00
|
|
|
</dependency>
|
2012-12-13 22:48:56 +01:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<!-- Building -->
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<defaultGoal>clean package</defaultGoal>
|
|
|
|
<directory>../target</directory> <!-- Build it one level up, because it is the one we care about -->
|
|
|
|
<finalName>NoCheatPlus</finalName>
|
|
|
|
<resources>
|
2013-03-01 15:12:14 +01:00
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>..</directory>
|
|
|
|
<includes>
|
|
|
|
<include>LICENSE.txt</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
2012-12-13 22:48:56 +01:00
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
2012-12-17 16:48:12 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.5.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-12-13 22:48:56 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
2013-02-27 00:46:56 +01:00
|
|
|
<include>fr.neatmonster:ncpbuildbase</include>
|
2012-12-13 23:42:59 +01:00
|
|
|
<include>fr.neatmonster:ncpcommons</include>
|
|
|
|
<include>fr.neatmonster:ncpcompat</include>
|
2013-02-28 03:40:40 +01:00
|
|
|
<include>fr.neatmonster:ncpcompatbukkit</include>
|
2012-12-13 23:42:59 +01:00
|
|
|
<include>fr.neatmonster:ncpcompatcb2511</include>
|
|
|
|
<include>fr.neatmonster:ncpcompatcb2512</include>
|
2012-12-21 18:08:18 +01:00
|
|
|
<include>fr.neatmonster:ncpcompatcb2545</include>
|
2013-02-28 03:21:38 +01:00
|
|
|
<include>fr.neatmonster:ncpcompatcb2602</include>
|
2013-01-06 13:58:36 +01:00
|
|
|
<include>fr.neatmonster:ncpcompatcbdev</include>
|
2012-12-13 23:42:59 +01:00
|
|
|
<!-- <include>fr.neatmonster:ncpplugin</include> -->
|
2012-12-13 22:48:56 +01:00
|
|
|
<!-- <include>fr.neatmonster:nocheatplus-parent</include> -->
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <build>
|
|
|
|
<defaultGoal>clean package</defaultGoal>
|
|
|
|
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
|
|
|
<include>LICENSE.txt</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.5.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<finalName>NoCheatPlus</finalName>
|
|
|
|
<archive>
|
|
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
|
|
<pomPropertiesFile>false</pomPropertiesFile>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
|
|
|
|
<addDefaultImplementationEntries>false</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>deploy-build</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<configuration>
|
|
|
|
<target if="deploy">
|
|
|
|
<property file="password.properties" prefix="password"/>
|
|
|
|
<scp todir="root:${password.value}@nocheatplus.org:/home/Minecraft/plugins/" file="target/NoCheatPlus.jar" sftp="yes" trust="yes" failonerror="no"/>
|
|
|
|
<sshexec host="nocheatplus.org" username="root" password="${password.value}" command="tmux send "reload" C-m" trust="yes" failonerror="no"/>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant-jsch</artifactId>
|
|
|
|
<version>1.8.4</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build> -->
|
|
|
|
|
|
|
|
<!-- Properties -->
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|