Index: SurefirePlugin.java =================================================================== --- SurefirePlugin.java (revision 450668) +++ SurefirePlugin.java (working copy) @@ -121,6 +121,13 @@ private List classpathElements; /** + * Additional classpath elements of the project being tested. + * + * @parameter + */ + private List additionalClasspathElements; + + /** * Base directory where all reports are written to. * * @parameter expression="${project.build.directory}/surefire-reports" @@ -586,7 +593,19 @@ surefireBooter.addClassPathUrl( classpathElement ); } + if (additionalClasspathElements != null) + { + for ( Iterator i = additionalClasspathElements.iterator(); i.hasNext(); ) + { + String additionalClasspathElement = (String) i.next(); + getLog().debug( " " + additionalClasspathElement ); + + surefireBooter.addClassPathUrl( additionalClasspathElement ); + } + } + + // ---------------------------------------------------------------------- // Forking // ----------------------------------------------------------------------