2012-10-20 12:01:44 +08: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">
|
2011-12-13 13:11:15 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.sk89q</groupId>
|
|
|
|
<artifactId>worldedit</artifactId>
|
2012-10-20 09:34:17 +08:00
|
|
|
<version>5.4.4-SNAPSHOT</version>
|
2011-12-13 13:11:15 +08:00
|
|
|
<name>WorldEdit</name>
|
|
|
|
<description>WorldEdit allows for editing the Minecraft SMP world
|
|
|
|
en-masse, de-griefing, and fixing issues.</description>
|
2012-08-11 14:41:10 +08:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>GNU General Public License 2.0</name>
|
|
|
|
<url>LICENSE.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
2012-10-20 12:01:44 +08:00
|
|
|
<comments>License on WorldEdit</comments>
|
2012-08-23 06:53:39 +08:00
|
|
|
</license>
|
|
|
|
<license>
|
|
|
|
<name>GNU Lesser General Public License 3.0</name>
|
|
|
|
<url>LICENSE_LGPL.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
<comments>License on all new contributions</comments>
|
2012-08-11 14:41:10 +08:00
|
|
|
</license>
|
|
|
|
</licenses>
|
2011-12-13 13:11:15 +08:00
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git://github.com/sk89q/worldedit.git</connection>
|
|
|
|
<url>https://github.com/sk89q/worldedit</url>
|
2012-10-20 09:34:17 +08:00
|
|
|
<tag>master</tag>
|
2011-12-13 13:11:15 +08:00
|
|
|
<developerConnection>scm:git:git@github.com:sk89q/worldedit.git</developerConnection>
|
|
|
|
</scm>
|
2012-08-11 14:41:10 +08:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
2011-12-13 13:11:15 +08:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
2012-08-11 14:41:10 +08:00
|
|
|
<id>sk89q-repo</id>
|
|
|
|
<url>http://maven.sk89q.com/repo/</url>
|
2011-12-13 13:11:15 +08:00
|
|
|
</repository>
|
2011-12-26 05:41:01 +08:00
|
|
|
<repository>
|
2012-01-21 15:46:36 +08:00
|
|
|
<id>bukkit-repo</id>
|
|
|
|
<url>http://repo.bukkit.org/content/groups/public</url>
|
2011-12-26 05:41:01 +08:00
|
|
|
</repository>
|
2012-01-06 12:53:01 +08:00
|
|
|
<repository>
|
2012-01-21 15:46:36 +08:00
|
|
|
<id>spout-repo</id>
|
2012-03-21 08:53:48 +08:00
|
|
|
<url>http://repo.spout.org/</url>
|
2012-01-06 12:53:01 +08:00
|
|
|
</repository>
|
2011-12-13 13:11:15 +08:00
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
2012-03-18 06:24:30 +08:00
|
|
|
<!-- Used for Permissions support (this version has both the legacy API
|
2012-01-20 13:36:47 +08:00
|
|
|
and the new Permissions API to compile against -->
|
2011-12-13 13:11:15 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q</groupId>
|
|
|
|
<artifactId>dummypermscompat</artifactId>
|
2012-01-23 13:11:54 +08:00
|
|
|
<version>1.6</version>
|
2012-10-20 12:01:44 +08:00
|
|
|
<scope>compile</scope>
|
2012-08-03 20:21:27 +08:00
|
|
|
<optional>true</optional>
|
2011-12-13 13:11:15 +08:00
|
|
|
</dependency>
|
2012-10-17 22:50:49 +08:00
|
|
|
|
2011-12-13 13:11:15 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>de.schlichtherle</groupId>
|
|
|
|
<artifactId>truezip</artifactId>
|
|
|
|
<version>6.8.3</version>
|
2012-10-20 12:01:44 +08:00
|
|
|
<scope>compile</scope>
|
2011-12-13 13:11:15 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>rhino</groupId>
|
|
|
|
<artifactId>js</artifactId>
|
|
|
|
<version>1.7R2</version>
|
2012-10-20 12:01:44 +08:00
|
|
|
<scope>compile</scope>
|
2011-12-13 13:11:15 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q</groupId>
|
2012-10-20 12:01:44 +08:00
|
|
|
<artifactId>jchronic</artifactId> <!-- not original library -->
|
|
|
|
<version>0.2.4a</version>
|
2011-12-13 13:11:15 +08:00
|
|
|
<type>jar</type>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2011-12-13 15:17:00 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>1.9.0-rc1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-10-17 22:50:49 +08:00
|
|
|
|
2012-10-20 12:01:44 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
|
|
|
<version>1.3.1-R2.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>craftbukkit</artifactId>
|
|
|
|
<version>1.3.1-R2.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2011-12-13 13:11:15 +08:00
|
|
|
</dependencies>
|
2012-08-11 14:41:10 +08:00
|
|
|
<distributionManagement>
|
|
|
|
<site>
|
|
|
|
<id>sk89q-docs-upload</id>
|
|
|
|
<url>ftp://sk89q-maven-deploy/worldedit/</url>
|
|
|
|
</site>
|
2012-08-24 21:57:00 +08:00
|
|
|
<repository>
|
|
|
|
<id>maven.sk89q.com</id>
|
|
|
|
<url>http://maven.sk89q.com/artifactory/libs-release-local</url>
|
|
|
|
</repository>
|
2012-08-11 14:41:10 +08:00
|
|
|
</distributionManagement>
|
2011-12-13 13:11:15 +08:00
|
|
|
<build>
|
2012-10-20 12:01:44 +08:00
|
|
|
<defaultGoal>install</defaultGoal>
|
2011-12-13 13:11:15 +08:00
|
|
|
<sourceDirectory>${basedir}/src/main/java/</sourceDirectory>
|
2012-10-17 22:50:49 +08:00
|
|
|
|
2012-08-11 15:01:37 +08:00
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-ftp</artifactId>
|
|
|
|
<version>1.0-beta-6</version>
|
|
|
|
</extension>
|
|
|
|
</extensions>
|
2011-12-13 13:11:15 +08:00
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<targetPath>.</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}/src/main/resources/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>plugin.yml</include>
|
2012-07-05 04:19:57 +08:00
|
|
|
<include>properties.yml</include>
|
2011-12-13 13:11:15 +08: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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
2012-03-03 03:23:24 +08:00
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
</configuration>
|
2011-12-13 13:11:15 +08:00
|
|
|
</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>
|
2012-03-18 06:24:30 +08:00
|
|
|
<!-- This is a legacy manifest entry for older versions of
|
2011-12-13 13:11:15 +08:00
|
|
|
WorldEdit (like really old) -->
|
|
|
|
<WorldEdit-Version>${project.version}</WorldEdit-Version>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.2-beta-2</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptor>${basedir}/src/main/assembly/default.xml</descriptor>
|
|
|
|
</configuration>
|
2012-10-20 12:01:44 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>release</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2011-12-13 13:11:15 +08:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2012-08-24 21:57:00 +08:00
|
|
|
<version>1.7.1</version>
|
2011-12-13 13:11:15 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactSet>
|
|
|
|
<includes>
|
|
|
|
<include>com.sk89q:jchronic</include>
|
|
|
|
</includes>
|
|
|
|
</artifactSet>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
2012-08-24 21:57:00 +08:00
|
|
|
<version>2.3.2</version>
|
2011-12-13 13:11:15 +08:00
|
|
|
<configuration>
|
|
|
|
<preparationGoals>assembly:assembly</preparationGoals>
|
|
|
|
<goals>assembly:assembly</goals>
|
2012-01-17 11:45:24 +08:00
|
|
|
<tagNameFormat>@{project.version}</tagNameFormat>
|
2011-12-13 13:11:15 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-12-26 05:41:45 +08:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2012-01-06 12:53:01 +08:00
|
|
|
<version>2.7.2</version>
|
2011-12-26 05:41:45 +08:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/TestOfflinePermissible.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-10-17 22:50:49 +08:00
|
|
|
|
2012-08-11 14:41:10 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<reportPlugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>license</report>
|
|
|
|
<report>index</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.8.1</version>
|
|
|
|
</plugin>
|
|
|
|
</reportPlugins>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-12-13 13:11:15 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2012-10-29 03:35:24 +08:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>spout</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spout</groupId>
|
|
|
|
<artifactId>spoutapi</artifactId>
|
|
|
|
<version>dev-SNAPSHOT</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.spout</groupId>
|
|
|
|
<artifactId>vanilla</artifactId>
|
|
|
|
<version>1.3.2-SNAPSHOT</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-sources</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${basedir}/src/spout/java</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2011-12-26 05:41:45 +08:00
|
|
|
</project>
|