I'm getting an error building the 2.0.7-snapshot invoker: Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.861 sec <<< FAILURE! testBuildShouldFail(org.apache.maven.shared.invoker.DefaultInvokerTest) Time elapsed: 3.782 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<1> but was:<0>
InvocationResult result = invoker.execute( request ); assertEquals( 1, result.getExitCode() ); I'm using m2.0.7 to run this on XP. I know there were some issues around 2.0.7 at one point not returning the correct exit code. Is anyone else seeing this issue with Invoker? BTW..I'm really just trying to dig into the invoker to test why it fails to find the maven executable when running through cygwin on windows: Tests run: 29, Failures: 0, Errors: 29, Skipped: 0, Time elapsed: 4.689 sec <<< FAILURE! testProject01(org.apache.maven.plugin.eclipse.EclipsePluginTest) Time elapsed: 0.126 sec <<< ERROR! java.lang.NullPointerException at org.apache.maven.shared.invoker.MavenCommandLineBuilder.findMavenExecuta ble(MavenCommandLineBuilder.java:367) at org.apache.maven.shared.invoker.MavenCommandLineBuilder.build(MavenComma ndLineBuilder.java:33) at org.apache.maven.shared.invoker.DefaultInvoker.execute(DefaultInvoker.ja va:88) at org.apache.maven.shared.test.plugin.BuildTool.executeMaven(BuildTool.jav a:89) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]