2011-05-01 13:51:32 +08:00
|
|
|
<!--
|
|
|
|
Maven build file for WorldEdit
|
|
|
|
Copyright (c) 2011 sk89q <http://www.sk89q.com>
|
|
|
|
WorldEdit is available under the GNU General Public License v3
|
|
|
|
-->
|
2011-05-01 13:54:46 +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-05-01 10:04:03 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.sk89q</groupId>
|
|
|
|
<artifactId>worldedit</artifactId>
|
2011-06-05 13:35:49 +08:00
|
|
|
<version>4.7-SNAPSHOT</version>
|
2011-05-01 10:04:03 +08:00
|
|
|
<name>WorldEdit</name>
|
|
|
|
<description>WorldEdit allows for editing the Minecraft SMP world
|
|
|
|
en-masse, de-griefing, and fixing issues.</description>
|
2011-06-22 22:33:36 +08:00
|
|
|
<properties>
|
2011-06-23 06:28:56 +08:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2011-06-22 22:33:36 +08:00
|
|
|
</properties>
|
2011-05-01 10:04:03 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Used for Permissions support (this version has both the legacy API
|
|
|
|
and the new Permissions API to compile against -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sk89q</groupId>
|
|
|
|
<artifactId>dummypermscompat</artifactId>
|
2011-08-25 14:56:29 +08:00
|
|
|
<version>1.4</version>
|
2011-05-01 10:04:03 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Bukkit -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bukkit</groupId>
|
|
|
|
<artifactId>bukkit</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</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>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2011-05-01 16:30:33 +08:00
|
|
|
<sourceDirectory>${basedir}/src/main/java/</sourceDirectory>
|
2011-05-01 10:04:03 +08:00
|
|
|
|
|
|
|
<!-- Resources -->
|
|
|
|
<resources>
|
|
|
|
<resource>
|
2011-05-01 11:08:14 +08:00
|
|
|
<targetPath>.</targetPath>
|
2011-05-01 10:04:03 +08:00
|
|
|
<filtering>true</filtering>
|
2011-05-01 11:08:14 +08:00
|
|
|
<directory>${basedir}/src/main/resources/</directory>
|
2011-05-01 10:04:03 +08:00
|
|
|
<includes>
|
2011-05-01 11:08:14 +08:00
|
|
|
<include>plugin.yml</include>
|
2011-05-01 10:04:03 +08:00
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<targetPath>defaults/</targetPath>
|
|
|
|
<filtering>true</filtering>
|
2011-05-01 11:08:14 +08:00
|
|
|
<directory>${basedir}/src/main/resources/</directory>
|
2011-05-01 10:04:03 +08:00
|
|
|
<includes>
|
2011-05-01 11:08:14 +08:00
|
|
|
<include>config.yml</include>
|
2011-05-01 10:04:03 +08:00
|
|
|
</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>
|
|
|
|
<pomPropertiesFile>true</pomPropertiesFile>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
2011-05-01 15:02:28 +08:00
|
|
|
<Class-Path>truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar</Class-Path>
|
2011-05-01 10:04:03 +08:00
|
|
|
<!-- 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>
|
2011-05-01 11:08:14 +08:00
|
|
|
<descriptor>${basedir}/src/main/assembly/default.xml</descriptor>
|
2011-05-01 10:04:03 +08:00
|
|
|
</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>
|
|
|
|
<version>2.1</version>
|
2011-05-01 13:13:45 +08:00
|
|
|
<configuration>
|
2011-05-02 09:18:34 +08:00
|
|
|
<preparationGoals>assembly:assembly</preparationGoals>
|
2011-05-01 13:13:45 +08:00
|
|
|
<goals>assembly:assembly</goals>
|
|
|
|
</configuration>
|
2011-05-01 10:04:03 +08:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|