You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Davide Zerbetto <ze...@gmail.com> on 2006/03/20 13:04:29 UTC
Problem using maven surefire plugin in "pertest" fork mode in Windows environment
Hi!
I have a problem using maven surefire plugin in "pertest" fork mode in
Windows environment (in Linux it works properly).
Tests use DBUnit 2.1: the db is a HSQLDB file.
Here below a fragment of my pom.xml:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<systemProperties>
....
</systemProperties>
<excludes>
....
</excludes>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
I launch the command "mvn surefire-report:report" or "mvn test" from command
line.
I got an exception like "the database is already in use by another process"
and all (or nearly all) tests fail.
Can anyone help me?
Thank you
Davide Zerbetto