#1 - Improving test infrastructure.

Added Hamcrest library in 1.2.1. Set up JUnit dependency to 4.10 and
not include dependencies. Set up surefire plugin to use this artifact
for test execution.
This commit is contained in:
Oliver Gierke
2012-06-06 14:55:34 +02:00
parent 1c6ee93d9e
commit ac6d3eab8d

24
pom.xml
View File

@@ -46,10 +46,17 @@
</dependency>
<!-- Test -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<artifactId>junit-dep</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
@@ -110,4 +117,17 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<junitArtifactName>junit:junit-dep</junitArtifactName>
</configuration>
</plugin>
</plugins>
</build>
</project>