continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Iskandar" <>
Subject Classpaths behaviour in mvn
Date Mon, 03 Sep 2007 13:04:15 GMT

While I was running this command "D:/proyek/mvn verify", I was hoping to
find my surefire tests runs having in one of it's classpaths the path

I tested this by invoking the code in one of it's test classes:
URL url = ClassLoader.getSystemResource("file-to-find.xml");
String file = url==null?null:url.getFile();
But only to find that the variable file was null;

I made sure the existence of the

Is there anyway that I could do in the pom.xml file or any other maven
configs to actually adjust the classpath. Cuz, I'd prefer not to declare
it in the mvn command or the shell environment..


Here's my pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""

View raw message