diff options
author | Andrew Ardill <andrew.ardill@gmail.com> | 2011-09-23 00:35:09 +1000 |
---|---|---|
committer | Andrew Ardill <andrew.ardill@gmail.com> | 2011-12-20 00:22:25 +1100 |
commit | 18437f681952e217cc2a3bf9ebfca87b51c81f04 (patch) | |
tree | 9d870dd7b819402d597153365b709516fb3217e6 /pom.xml | |
parent | b0ab686964e1ea9657efc51bc07fdc621e7512fc (diff) | |
download | craftbukkit-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.xml | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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> |