(Let's try this again... sent this response 2hrs ago and it bounced
due to DNS problems...)

Maven plus TestNG has been and continues to be a source of difficulty.
Only specific versions of Surefire (Snapshots, iirc) and TestNG will
work together.

Send us your pom for further review, and the URL with the instructions
you followed to construct your pom etc.

Wayne

On 8/14/07, Philip S. Constantinou <[EMAIL PROTECTED]> wrote:
> Hi folks -
>
> I'm getting an exception running the "test" goal. I'm using testNG
> following all the instructions (hopefully correctly) both on the Maven2
> site and testNG maven site. Google hasn't turned up anything useful so I
> figured I'd turn to the experts.
>
> I've run both on Linux and Windows using Java 6.
> The Tests and Classes compile fine.
>
> Any help would be greatly appreciated.
>
> Regards -
> Phil
>
>
> Stack trace follows:
>
> [INFO] Trace
> java.lang.IllegalArgumentException
>        at java.lang.ProcessImpl.<init>(ProcessImpl.java:69)
>        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
>        at java.lang.Runtime.exec(Runtime.java:591)
>        at
> org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:653)
>        at
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:102)
>        at
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:89)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.fork(SurefireBooter.java:591)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.forkSuites(SurefireBoooter.java:422)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkOnce(SurefireBooter.java:322)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:212)
>        at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:397)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>        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:585)
>        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)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to