2011-12-13 05:11:15 +00:00
|
|
|
<!--
|
|
|
|
Maven build file for WorldEdit
|
|
|
|
Copyright (c) 2011 sk89q <http://www.sk89q.com>
|
|
|
|
WorldEdit is available under the GNU General Public License v3
|
|
|
|
-->
|
|
|
|
<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.sk89q</groupId>
|
|
|
|
<artifactId>worldedit</artifactId>
|
2012-02-11 23:55:08 +00:00
|
|
|
<version>5.3-SNAPSHOT</version>
|
2011-12-13 05:11:15 +00:00
|
|
|
<name>WorldEdit</name>
|
|
|
|
<description>WorldEdit allows for editing the Minecraft SMP world
|
|
|
|
en-masse, de-griefing, and fixing issues.</description>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git://github.com/sk89q/worldedit.git</connection>
|
|
|
|
<url>https://github.com/sk89q/worldedit</url>
|
|
|
|
<developerConnection>scm:git:git@github.com:sk89q/worldedit.git</developerConnection>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>sk89q-mvn2</id>
|
|
|
|
<url>http://mvn2.sk89q.com/repo</url>
|
|
|
|
</repository>
|
2011-12-25 21:41:01 +00:00
|
|
|
<repository>
|
2012-01-21 07:46:36 +00:00
|
|
|
<id>bukkit-repo</id>
|
|
|
|
<url>http://repo.bukkit.org/content/groups/public</url>
|
2011-12-25 21:41:01 +00:00
|
|
|
</repository>
|
2012-01-06 04:53:01 +00:00
|
|
|
<repository>
|
2012-01-21 07:46:36 +00:00
|
|
|
<id>spout-repo</id>
|
|
|
|
<url>http://repo.getspout.org</url>
|
2012-01-06 04:53:01 +00:00
|
|
|
</repository>
|
2011-12-13 05:11:15 +00:00
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
2012-01-20 05:36:47 +00:00
|
|
|
<!-- Used for Permissions support (this version has both the legacy API
|
|
|
|
and the new Permissions API to compile against -->
|
2011-12-13 05:11:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q</groupId>
|
|
|
|
<artifactId>dummypermscompat</artifactId>
|
2012-01-23 05:11:54 +00:00
|
|
|
<version>1.6</version>
|
2011-12-13 05:11:15 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Bukkit -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
2012-03-02 04:47:19 +00:00
|
|
|
<version>1.1-R6</version>
|
2011-12-13 05:11:15 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Archive reading library for snapshots -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.schlichtherle</groupId>
|
|
|
|
<artifactId>truezip</artifactId>
|
|
|
|
<version>6.8.3</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JavaScript library -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>rhino</groupId>
|
|
|
|
<artifactId>js</artifactId>
|
|
|
|
<version>1.7R2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Time related functions, used for snapshots. This is NOT the original
|
|
|
|
jchronic as it has been modified to have some extra timezone related methods
|
|
|
|
(which were hacked in) -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q</groupId>
|
|
|
|
<artifactId>jchronic</artifactId>
|
|
|
|
<version>0.2.4a </version>
|
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2011-12-13 07:17:00 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>1.9.0-rc1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-01-06 04:53:01 +00:00
|
|
|
|
|
|
|
<!-- Spout -->
|
|
|
|
<dependency>
|
2012-01-09 01:05:35 +00:00
|
|
|
<groupId>org.spout</groupId>
|
2012-01-06 04:53:01 +00:00
|
|
|
<artifactId>spoutapi</artifactId>
|
|
|
|
<version>dev-SNAPSHOT</version>
|
|
|
|
</dependency>
|
2011-12-13 05:11:15 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<sourceDirectory>${basedir}/src/main/java/</sourceDirectory>
|
|
|
|
|
|
|
|
<!-- Resources -->
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}/src/main/resources/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
2012-01-06 05:15:59 +00:00
|
|
|
<include>spoutplugin.yml</include>
|
2011-12-13 05:11:15 +00:00
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<targetPath>defaults/</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}/src/main/resources/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>config.yml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<!-- Plugins -->
|
|
|
|
<plugins>
|
|
|
|
<!-- Compile plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- JAR creation plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<addMavenDescriptor>true</addMavenDescriptor>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<Class-Path>truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar</Class-Path>
|
|
|
|
<!-- This is a legacy manifest entry for older versions of
|
|
|
|
WorldEdit (like really old) -->
|
|
|
|
<WorldEdit-Version>${project.version}</WorldEdit-Version>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Assembly -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.2-beta-2</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptor>${basedir}/src/main/assembly/default.xml</descriptor>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Shade -->
|
|
|
|
<!-- We want to bundle in some dependencies -->
|
|
|
|
<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>
|
|
|
|
<!-- We want to bundle in the modified jchronic library -->
|
|
|
|
<includes>
|
|
|
|
<include>com.sk89q:jchronic</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Release -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2012-01-17 03:45:24 +00:00
|
|
|
<version>2.2.2</version>
|
2011-12-13 05:11:15 +00:00
|
|
|
<configuration>
|
|
|
|
<preparationGoals>assembly:assembly</preparationGoals>
|
|
|
|
<goals>assembly:assembly</goals>
|
2012-01-17 03:45:24 +00:00
|
|
|
<tagNameFormat>@{project.version}</tagNameFormat>
|
2011-12-13 05:11:15 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-12-25 21:41:45 +00:00
|
|
|
|
|
|
|
<!-- Exclude non-tests -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2012-01-06 04:53:01 +00:00
|
|
|
<version>2.7.2</version>
|
2011-12-25 21:41:45 +00:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/TestOfflinePermissible.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-12-13 05:11:15 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-12-25 21:41:45 +00:00
|
|
|
</project>
|