Add maven surefire plugin to run unit tests
This commit is contained in:
parent
b46d155267
commit
3b3980e959
18
pom.xml
18
pom.xml
@ -5,8 +5,11 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<properties>
|
||||
<!-- https://maven.apache.org/general.html#encoding-warning -->
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<surefire.version>3.0.0-M1</surefire.version>
|
||||
</properties>
|
||||
|
||||
<groupId>org.example</groupId>
|
||||
@ -22,7 +25,7 @@
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>local-maven-repo</id>
|
||||
<url>file:./lib/</url>
|
||||
<url>file://${project.basedir}/lib/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
@ -49,4 +52,15 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
<build>
|
||||
<finalName>maven-unit-test</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${surefire.version}</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user