When i run surfire 2.2 with TestNG 4.7, the classpath will be set to
surefire-api-2.0.jar + plexus-utils-1.1.jar + surefire-booter-2.0.jar

The problem is that it does not include relevant dependencies like
target/classes. Currently i override the classpath with System#setProperty
inside my unit-test as simple workaround.

Whats the trick to get surefire to set up the correct classpath?
In my mind the cp would consist of all dependency jars + target/classes +
target/test-classes.

thx
Bernhard Neuhauser


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

Reply via email to