Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
MacOsX
Description
When i use the verifier in Intellij IDEA, the verifier is unable to find mvn in the path. I don't have the problem on Linux/Windows XP.
The path is set properly
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.AbstractEarPluginTestCase.executeMojo(AbstractEarPluginTestCase.java:114) at org.apache.maven.plugin.ear.AbstractEarPluginTestCase.doTestProject(AbstractEarPluginTestCase.java:132) at org.apache.maven.plugin.ear.AbstractEarPluginTestCase.doTestProject(AbstractEarPluginTestCase.java:161) at org.apache.maven.plugin.ear.EarMojoTest.testProject038(EarMojoTest.java:411) 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) ... 23 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) ... 26 more