2011-11-19 00:41:57 +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>
|
2012-04-05 18:24:39 +02:00
|
|
|
|
|
|
|
<!-- Informations -->
|
|
|
|
<name>NoCheatPlus</name>
|
2012-08-03 16:48:06 +02:00
|
|
|
<version>3.7</version>
|
2012-04-05 18:24:39 +02:00
|
|
|
<description>Detect and fight the exploitation of various flaws/bugs in Minecraft.</description>
|
|
|
|
<url>http://dev.bukkit.org/server-mods/nocheatplus</url>
|
|
|
|
|
2012-04-26 23:36:43 +02:00
|
|
|
<groupId>fr.neatmonster.nocheatplus</groupId>
|
|
|
|
<artifactId>NoCheatPlus</artifactId>
|
2011-11-19 00:41:57 +01:00
|
|
|
<packaging>jar</packaging>
|
2012-04-05 18:24:39 +02:00
|
|
|
|
|
|
|
<!-- License -->
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>GNU General Public License v3</name>
|
|
|
|
<url>http://www.gnu.org/licenses/gpl-3.0.html</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<!-- Source code -->
|
|
|
|
<scm>
|
|
|
|
<developerConnection>scm:git:git@github.com:NeatMonster/${project.name}.git</developerConnection>
|
|
|
|
<connection>scm:git:git://github.com/NeatMonster/${project.name}.git</connection>
|
|
|
|
<url>https://github.com/NeatMonster/${project.name}</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<!-- Repositories -->
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>bukkit</id>
|
|
|
|
<name>Bukkit</name>
|
|
|
|
<url>http://repo.bukkit.org/content/groups/public/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<!-- Dependencies -->
|
2011-11-19 00:41:57 +01:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>craftbukkit</artifactId>
|
2012-08-03 16:48:06 +02:00
|
|
|
<version>1.3.1-R0.1-SNAPSHOT</version>
|
2011-11-23 19:23:16 +01:00
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
2011-11-19 00:41:57 +01:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2012-01-25 17:04:07 +01:00
|
|
|
|
2012-04-05 18:24:39 +02:00
|
|
|
<!-- Building -->
|
2011-11-19 00:41:57 +01:00
|
|
|
<build>
|
2012-08-03 16:48:06 +02:00
|
|
|
<defaultGoal>clean package</defaultGoal>
|
2011-11-19 00:41:57 +01:00
|
|
|
<sourceDirectory>${basedir}/src</sourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
2012-04-05 18:24:39 +02:00
|
|
|
<directory>${basedir}</directory>
|
2011-11-19 00:41:57 +01:00
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
2012-04-05 18:24:39 +02:00
|
|
|
<include>LICENSE.txt</include>
|
2012-02-01 00:10:14 +01:00
|
|
|
<include>Instructions.txt</include>
|
2011-11-19 00:41:57 +01:00
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2012-08-03 16:48:06 +02:00
|
|
|
<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>
|
|
|
|
<property file="auth.properties" prefix="auth" />
|
|
|
|
<scp todir="${auth.user}:${auth.pass}@${auth.host}:${auth.path}"
|
|
|
|
file="target/NoCheatPlus.jar" sftp="yes" trust="yes"
|
|
|
|
failonerror="no" />
|
|
|
|
<sshexec host="${auth.host}" username="${auth.user}"
|
|
|
|
password="${auth.pass}" command="${auth.cmd}" 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>
|
2011-11-19 00:41:57 +01:00
|
|
|
</build>
|
2012-04-05 18:24:39 +02:00
|
|
|
|
|
|
|
<!-- Properties -->
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
2011-11-19 00:41:57 +01:00
|
|
|
</project>
|