summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorAndrew Ardill <andrew.ardill@gmail.com>2011-09-23 00:35:09 +1000
committerAndrew Ardill <andrew.ardill@gmail.com>2011-12-20 00:22:25 +1100
commit18437f681952e217cc2a3bf9ebfca87b51c81f04 (patch)
tree9d870dd7b819402d597153365b709516fb3217e6 /pom.xml
parentb0ab686964e1ea9657efc51bc07fdc621e7512fc (diff)
downloadcraftbukkit-18437f681952e217cc2a3bf9ebfca87b51c81f04.tar
craftbukkit-18437f681952e217cc2a3bf9ebfca87b51c81f04.tar.gz
craftbukkit-18437f681952e217cc2a3bf9ebfca87b51c81f04.tar.lz
craftbukkit-18437f681952e217cc2a3bf9ebfca87b51c81f04.tar.xz
craftbukkit-18437f681952e217cc2a3bf9ebfca87b51c81f04.zip
Add support for junit testing
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index e3d0658b..97769c03 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,6 +10,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<api.version>unknown</api.version>
+ <junit.version>4.10</junit.version>
</properties>
<scm>
<connection>scm:git:git://github.com/Bukkit/CraftBukkit.git</connection>
@@ -104,6 +105,11 @@
<type>jar</type>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
+ </dependency>
</dependencies>
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
<build>
@@ -194,6 +200,13 @@
<target>1.5</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <workingDirectory>${basedir}/target/test-server</workingDirectory>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>