Per the docs, you need <forkMode/>.
http://maven.apache.org/plugins/maven-surefire-plugin/examples/forking.html

Wayne

On 2/28/07, Dees, Ian (GE Healthcare) <[EMAIL PROTECTED]> wrote:
Hi List,

I'm trying to run each test in a seperate class loader using the
forkMode=pertest option in the pom.xml file. Here's a clip from the pom:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.3-SNAPSHOT</version>
  <configuration>
    <forkmode>pertest</forkmode>
    <argLine>-Djava.library.path={snip}</argLine>
  </configuration>
</plugin>

Even with this flag set, the surefire plugin is not running the tests in
forked mode.

Are there any other tips to diagnosing this problem?

Thanks,
Ian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to