I am trying to do the same thing, but get a slightly different error.
I have this in my pom
<reporting>
<plugins
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
</plugin>
...
Maven builds my project fine, using the distributed surefire report
plugin (though it produces an empty report). If I 'mvn install' the
tarball available off of svn.mojo.codehaus.org, and then build my
project again, I get:
...
[DEBUG] surefire-report-maven-plugin: resolved to version 2.0-beta-2-
SNAPSHOT from local repository
[DEBUG] Skipping disabled repository central
[DEBUG] surefire-report-maven-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
null:surefire-report-maven-plugin:maven-plugin:2.0-beta-2-SNAPSHOT
[DEBUG] surefire-report-maven-plugin: using locally installed snapshot
[INFO]
------------------------------------------------------------------------
----
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] null
[INFO]
------------------------------------------------------------------------
----
[DEBUG] Trace
java.lang.NullPointerException
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports
(DefaultLifecycleExecutor.java:645)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports
(DefaultLifecycleExecutor.java:622)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:501)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:469)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:448)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:301)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:268)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
which seems like a rather nasty error. Any ideas?
J
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]