geforkt von Mirrors/FastAsyncWorldEdit
280 Zeilen
8.7 KiB
XML
280 Zeilen
8.7 KiB
XML
<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>
|
|
<version>5.4.3</version>
|
|
<name>WorldEdit</name>
|
|
<description>WorldEdit allows for editing the Minecraft SMP world
|
|
en-masse, de-griefing, and fixing issues.</description>
|
|
<licenses>
|
|
<license>
|
|
<name>GNU General Public License 2.0</name>
|
|
<url>LICENSE.txt</url>
|
|
<distribution>repo</distribution>
|
|
<comments>License on all old contributions</comments>
|
|
</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>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<connection>scm:git:git://github.com/sk89q/worldedit.git</connection>
|
|
<url>https://github.com/sk89q/worldedit</url>
|
|
<tag>5.4.3</tag>
|
|
<developerConnection>scm:git:git@github.com:sk89q/worldedit.git</developerConnection>
|
|
</scm>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
<repositories>
|
|
<repository>
|
|
<id>sk89q-repo</id>
|
|
<url>http://maven.sk89q.com/repo/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>bukkit-repo</id>
|
|
<url>http://repo.bukkit.org/content/groups/public</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spout-repo</id>
|
|
<url>http://repo.spout.org/</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>
|
|
<version>1.6</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- Bukkit -->
|
|
<dependency>
|
|
<groupId>org.bukkit</groupId>
|
|
<artifactId>bukkit</artifactId>
|
|
<version>1.3.1-R2.0</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bukkit</groupId>
|
|
<artifactId>craftbukkit</artifactId>
|
|
<version>1.3.1-R2.0</version>
|
|
<optional>true</optional>
|
|
</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>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>1.9.0-rc1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Spout -->
|
|
<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>
|
|
<distributionManagement>
|
|
<site>
|
|
<id>sk89q-docs-upload</id>
|
|
<url>ftp://sk89q-maven-deploy/worldedit/</url>
|
|
</site>
|
|
<repository>
|
|
<id>maven.sk89q.com</id>
|
|
<url>http://maven.sk89q.com/artifactory/libs-release-local</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
<build>
|
|
<sourceDirectory>${basedir}/src/main/java/</sourceDirectory>
|
|
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ftp</artifactId>
|
|
<version>1.0-beta-6</version>
|
|
</extension>
|
|
</extensions>
|
|
|
|
<!-- Resources -->
|
|
<resources>
|
|
<resource>
|
|
<targetPath>.</targetPath>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources/</directory>
|
|
<includes>
|
|
<include>plugin.yml</include>
|
|
<include>properties.yml</include>
|
|
</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>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</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.7.1</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.3.2</version>
|
|
<configuration>
|
|
<preparationGoals>assembly:assembly</preparationGoals>
|
|
<goals>assembly:assembly</goals>
|
|
<tagNameFormat>@{project.version}</tagNameFormat>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Exclude non-tests -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.7.2</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/TestOfflinePermissible.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Site generation -->
|
|
<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>
|
|
</plugins>
|
|
</build>
|
|
</project>
|