Jon, If you are using m1.1 beta 2, can you try the snapshot of the beta 3 I just uploaded here : http://people.apache.org/~aheritier/maven/1.X/snapshots/20060508/ It contains this new plugin and fixes some problems with xml parsers APIs.
Thanks Arnaud On 5/8/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
Hi Jon, what is your maven version ?? and your jdk ? I'm afraid we have a problem of compatibililty with xml parsers API. This is a fake NullPointerException due to a bug in ant : http://issues.apache.org/bugzilla/show_bug.cgi?id=36733 Arnaud. On 5/8/06, Jon Strayer <[EMAIL PROTECTED] > wrote: > > I just installed this plugin an now my builds fail with this exception: > > Any ideas? > > java.lang.NullPointerException > at > > org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.formatOutput > (XMLJUnitResultFormatter.java:253) > at > > org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.setSystemOutput > (XMLJUnitResultFormatter.java:92) > at > > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.sendOutAndErr > ( > JUnitTestRunner.java:435) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run ( > JUnitTestRunner.java:319) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM( > JUnitTask.java:1072) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute( > JUnitTask.java:682) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue( > JUnitTask.java:1434) > at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute( > JUnitTask.java :632) > at org.apache.tools.ant.Task.perform(Task.java:364) > at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java > :195) > at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) > > at org.apache.commons.jelly.impl.ScriptBlock.run( > ScriptBlock.java > :95) > at org.apache.commons.jelly.TagSupport.invokeBody( > TagSupport.java > :186) > at org.apache.commons.jelly.tags.core.IfTag.doTag (IfTag.java > :42) > at org.apache.commons.jelly.impl.TagScript.run(TagScript.java > :247) > at org.apache.commons.jelly.impl.ScriptBlock.run( > ScriptBlock.java > :95) > at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag ( > MavenGoalTag.java:78) > at > > org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction > (MavenGoalTag.java:109) > at org.apache.maven.werkz.Goal.fire(Goal.java:656) > at org.apache.maven.werkz.Goal.attain(Goal.java:592) > at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:505) > at org.apache.maven.werkz.Goal.attain(Goal.java:590) > at org.apache.maven.plugin.PluginManager.attainGoals ( > PluginManager.java:693) > at org.apache.maven.MavenSession.attainGoals(MavenSession.java > :263) > at org.apache.maven.cli.App.doMain(App.java:511) > at org.apache.maven.cli.App.main(App.java:1258) > 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 com.werken.forehead.Forehead.run(Forehead.java:551) > at com.werken.forehead.Forehead.main(Forehead.java :581) > > > On 5/8/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > > > > We are pleased to announce the Maven Test Plugin 1.8 release! > > > > http://maven.apache.org/maven-1.x/plugins/test/ > > > > Run JUnit tests. > > > > > > > =============================================================================== > > > > Changes in this version include: > > > > New Features: > > > > o Set junit's showoutput attribute if Maven is executed in debug (-X) > > mode. > > Fixes MPTEST-43. > > o Allow to add additional elements to the test classpath, new property > > > maven.test.classpath. Fixes MPTEST-47. Thanks to Henning > > Schmiedehausen. > > o Display a warning if some tests do not pass (and > > maven.test.failure.ignore=true). Fixes MPTEST-36. > > o Add timeouts to the test plugin, new property maven.junit.timeout. > Fixes > > MPTEST-10. > > o Add ability to fail the build on test errors, new property > > maven.test.error.ignore. Fixes MPTEST-58. Thanks to Mauro Botelho. > > o Add maven.test.excludeXmlApis property to avoid duplicated Xerces. > Fixes > > MPTEST-55. Thanks to Eric Hartmann. > > > > Fixed bugs: > > > > o test:test should honour the maven.test.compile.src.set variable. > Fixes > > MPTEST-49. > > o Do not execute test:test-resources and test:compile unless tests > will > > be run. > > Fixes MPTEST-46. > > o test:single should ignore maven.test.skip=true. Fixes MPTEST-59. > > o Test failure doesn't halt execution of test suite. Fixes MPTEST-39. > > > > Changes: > > > > o Upgrade to Xerces 2.8.0. Replace the deprecated xmlParserAPIs by > > xml-apis > > 1.3.03. Add the xml-resolver dependency for xerces. Fixes > MAVEN-1753. > > o Upgrade to Junit 3.8.2. > > o Update dependencies to match ones in maven 1.1 core and to unify > them > > between plugins. Fixes MAVEN-1712. > > > > > > > =============================================================================== > > > > > > > To automatically install the plugin, type the following on a single > line: > > > > maven plugin:download > > > > -Dmaven.repo.remote=http://www.ibiblio.org/maven, > > http://cvs.apache.org/repository/ > > -DgroupId=maven > > -DartifactId=maven-test-plugin > > -Dversion=1.8 > > > > For a manual installation, you can download the plugin here: > > > > > http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-test-plugin-1.8.jar > > > > > > Have fun! > > -The Maven Test Plugin development team > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Esse quam videri > (to be rather than to seem) > >
