2006/3/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Anita,
>
> I don't know whether it's related to the error(s) you're seeing, but I
> believe that the version of Maven that you want is 2.0.3-SNAPSHOT, not
> 2.1-SNAPSHOT.

Thanks Ian as I didn't notice it before. Although it might've added
some additional burden, I think the real issue was with the version of
the maven-surefire-plugin as the stack trace seemed to indicate:

java.lang.NullPointerException
       at java.util.Hashtable.put(Hashtable.java:393)
       at java.util.Properties.setProperty(Properties.java:102)
       at java.lang.System.setProperty(System.java:656)
       at
org.apache.maven.test.SurefirePlugin.processSystemProperties(SurefirePlugin.java:408)

When I took a look at the failing class the hashtable wasn't
initialized whereas the one that backs up environmentVariables (or
-Properties, I don't remember atm) was. When I built the
maven-surefire-plugin yourself, it started to work fine. I wish the
plugins were published more often.

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl

Reply via email to