On Friday, September 7, 2007, 7:24:36 AM, Robo <[EMAIL PROTECTED]> wrote:

> Hello,

> Any idea?

> [INFO] Trace
> java.lang.NullPointerException
>         at
> org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(SurefirePlugin.ja
> va:594)

It's a bug in the Maven Surefire plugin V2.3 that shows up if there's
a src/test/java tree but neither JUnit or TestNG in the dependencies.

Simplest fix is to add

<dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.2</version>
        <scope>provided</scope>
</dependency>

 to the generated pom.xml's <dependencies> section.  I've added it to
 the code for the archetype in SVN, but can't do anything about the
 one already published in beta3.

/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to