Hi, I need to be able to get access to the runtime class path in my tests when invoked from the maven-surefire-plugin.
I can set system properties for the surefire plugin but I can't find anyway that I can get access to the class path. For example I want to do something like the following to set some "runtime.classpath" system property (assuming maven provided a "maven.runtime.classpath" property): <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkMode>always</forkMode> <systemProperties> <property> <name>runtime.classpath</name> <value>${maven.runtime.classpath}</value> </property> </systemProperties> </configuration> <executions> ... </executions> </plugin> I can see that when running ant tasks the antrun plugin provides access to this type of information but I can't find anywhere where it is possible to get access to this information in a general way within Maven without writing my own plugin. Can anyone tell me whether it is possible to do what I want? Thanks, James. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org