Cleaned up pom.xml and updated CommandBook to 2.1.

This commit is contained in:
sk89q 2012-10-19 16:47:55 -07:00
parent 94937e41ef
commit 3d1012ba94

47
pom.xml
View File

@ -1,9 +1,12 @@
<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"> <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> <modelVersion>4.0.0</modelVersion>
<groupId>com.sk89q</groupId> <groupId>com.sk89q</groupId>
<artifactId>worldguard</artifactId> <artifactId>worldguard</artifactId>
<version>5.5.5-SNAPSHOT</version> <version>5.5.5-SNAPSHOT</version>
<name>WorldGuard</name> <name>WorldGuard</name>
<packaging>jar</packaging>
<description>WorldGuard protects your Minecraft servers.</description> <description>WorldGuard protects your Minecraft servers.</description>
<licenses> <licenses>
<license> <license>
@ -23,14 +26,14 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<repositories> <repositories>
<repository>
<id>zml-repo</id>
<url>http://files.zachsthings.com/repo</url>
</repository>
<repository> <repository>
<id>sk89q-repo</id> <id>sk89q-repo</id>
<url>http://maven.sk89q.com/repo/</url> <url>http://maven.sk89q.com/repo/</url>
</repository> </repository>
<repository>
<id>zml-repo</id>
<url>http://files.zachsthings.com/repo</url>
</repository>
<repository> <repository>
<id>bukkit-repo</id> <id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public</url> <url>http://repo.bukkit.org/content/groups/public</url>
@ -41,37 +44,47 @@
<groupId>com.sk89q</groupId> <groupId>com.sk89q</groupId>
<artifactId>worldedit</artifactId> <artifactId>worldedit</artifactId>
<version>5.4</version> <version>5.4</version>
<scope>compile</scope>
</dependency> </dependency>
<!-- Bukkit -->
<dependency> <dependency>
<groupId>org.bukkit</groupId> <groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId> <artifactId>bukkit</artifactId>
<version>1.3.2-R1.0</version> <version>1.3.2-R1.0</version>
<scope>compile</scope>
</dependency> </dependency>
<!-- CommandBook -->
<dependency> <dependency>
<groupId>com.sk89q</groupId> <groupId>com.sk89q</groupId>
<artifactId>commandbook</artifactId> <artifactId>commandbook</artifactId>
<version>2.0</version> <version>2.1</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.zachsthings.libcomponents</groupId>
<artifactId>libcomponents-bukkit</artifactId>
</exclusion>
<exclusion>
<groupId>org.spout</groupId>
<artifactId>spoutapi</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- Additional libraries -->
<dependency> <dependency>
<groupId>com.nijikokun</groupId> <groupId>com.nijikokun</groupId>
<artifactId>iconomy</artifactId> <artifactId>iconomy</artifactId>
<version>5.0</version> <version>5.0</version>
<scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.khelekore</groupId> <groupId>org.khelekore</groupId>
<artifactId>prtree</artifactId> <artifactId>prtree</artifactId>
<version>1.4</version> <version>1.4</version>
<scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sf.opencsv</groupId> <groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId> <artifactId>opencsv</artifactId>
<version>2.0</version> <version>2.0</version>
<scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -87,6 +100,7 @@
</site> </site>
</distributionManagement> </distributionManagement>
<build> <build>
<defaultGoal>install</defaultGoal>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory> <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<extensions> <extensions>
@ -97,7 +111,6 @@
</extension> </extension>
</extensions> </extensions>
<!-- Resources -->
<resources> <resources>
<resource> <resource>
<targetPath>.</targetPath> <targetPath>.</targetPath>
@ -120,7 +133,6 @@
</resources> </resources>
<plugins> <plugins>
<!-- Compile plugin -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
@ -131,7 +143,6 @@
</configuration> </configuration>
</plugin> </plugin>
<!-- JAR creation plugin -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
@ -150,8 +161,6 @@
</configuration> </configuration>
</plugin> </plugin>
<!-- Shade -->
<!-- We want to bundle in some dependencies -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
@ -164,7 +173,6 @@
</goals> </goals>
<configuration> <configuration>
<artifactSet> <artifactSet>
<!-- We want to bundle in the modified CSV library -->
<includes> <includes>
<include>net.sf.opencsv:opencsv</include> <include>net.sf.opencsv:opencsv</include>
</includes> </includes>
@ -174,7 +182,6 @@
</executions> </executions>
</plugin> </plugin>
<!-- Assembly -->
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-2</version> <version>2.2-beta-2</version>
@ -192,7 +199,6 @@
</executions> </executions>
</plugin> </plugin>
<!-- Release -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
@ -204,7 +210,6 @@
</configuration> </configuration>
</plugin> </plugin>
<!-- Site generation -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>