You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kristan Uccello <ku...@gmail.com> on 2008/04/10 17:37:59 UTC

Unit Testing with SureFire Classpath settings

Hello,

I am trying to specify the Sure Fire "additionalClasspathElements
Additional elements to be appended to the classpath." and being a
Maven2 newbe I am a bit lost when I'm told to set the plugin values as
a java.util.List.

=== FROM: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
"...
additionalClasspathElements  Additional elements to be appended to the
classpath.

    * Type: java.util.List
    * Required: No
..."

=================

I have gotten this far in setting up my POM

[The rest of my pom is fine]
...
 <plugin>
      	<groupId>org.apache.maven.plugins</groupId>
      	<artifactId>maven-surefire-plugin</artifactId>
      	<configuration>
      		<additionalClasspathElements>
      		?????????
      		</additionalClasspathElements>
      	</configuration>
      </plugin>
...

It is unclear to me what I am supposed to do to represent the
java.util.List of additional Class path elements here? Is it a comma
delimited list? or do I define it another way?
Some help here would be greatly appreciated

Cheers,

Kristan "Krispy" Uccello

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org