3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-22 06:20:06 +01:00

Add support for junit testing

Dieser Commit ist enthalten in:
Andrew Ardill 2011-09-23 00:35:09 +10:00
Ursprung b0ab686964
Commit 18437f6819

13
pom.xml
Datei anzeigen

@ -10,6 +10,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<api.version>unknown</api.version> <api.version>unknown</api.version>
<junit.version>4.10</junit.version>
</properties> </properties>
<scm> <scm>
<connection>scm:git:git://github.com/Bukkit/CraftBukkit.git</connection> <connection>scm:git:git://github.com/Bukkit/CraftBukkit.git</connection>
@ -104,6 +105,11 @@
<type>jar</type> <type>jar</type>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
</dependencies> </dependencies>
<!-- This builds a completely 'ready to start' jar with all dependencies inside --> <!-- This builds a completely 'ready to start' jar with all dependencies inside -->
<build> <build>
@ -194,6 +200,13 @@
<target>1.5</target> <target>1.5</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<workingDirectory>${basedir}/target/test-server</workingDirectory>
</configuration>
</plugin>
</plugins> </plugins>
<pluginManagement> <pluginManagement>
<plugins> <plugins>