Hi all,

First all an happy new year to everyone!

I have an issue with my brand new Mac ( :))) ). The EAR plugin tests
do not work when ran within IDEA (stacktrace below). The funny thing
is that it does not work either when I run mvn from IDEA using the
external tools functionnality.

When ran from the command line, everyting works OK. M2_HOME and the
path to mvn is specified in /etc/profile

Any idea what's going on? Jason, Brett, anyone, could you please run
the ear tests in IDEA to check if you have the problem as well?

Thanks,
Stéphane


org.apache.maven.it.VerificationException:
org.apache.maven.it.util.cli.CommandLineException: Error while
executing process.
        at org.apache.maven.it.Verifier.executeGoals(Verifier.java:907)
        at org.apache.maven.it.Verifier.executeGoal(Verifier.java:780)
        at org.apache.maven.it.Verifier.executeGoal(Verifier.java:774)
        at 
org.apache.maven.plugin.ear.AbstractEarPluginTestCase.executeMojo(AbstractEarPluginTestCase.java:84)
        at 
org.apache.maven.plugin.ear.EarMojoTest.testProject026(EarMojoTest.java:291)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at 
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
Caused by: org.apache.maven.it.util.cli.CommandLineException: Error
while executing process.
        at 
org.apache.maven.it.util.cli.Commandline.execute(Commandline.java:737)
        at 
org.apache.maven.it.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:101)
        at 
org.apache.maven.it.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:87)
        at org.apache.maven.it.Verifier.executeGoals(Verifier.java:901)
        ... 24 more
Caused by: java.io.IOException: mvn: not found
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
        at java.lang.ProcessImpl.start(ProcessImpl.java:91)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
        at java.lang.Runtime.exec(Runtime.java:591)
        at 
org.apache.maven.it.util.cli.Commandline.execute(Commandline.java:732)
        ... 27 more

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

Reply via email to