0 Replies Latest reply on Mar 14, 2018 6:57 AM by angelo.rlcosta

    arquillian-core-1.1.2.Final-wildfly-1 error when building project

    angelo.rlcosta

      Hi Guys,

       

      I have downloaded from github version arquillian-core-1.1.2.Final-wildfly-1 and trying to build the project using mvn clean install -DskipTests=true but getting an error

       

       

      Caused by: java.io.IOException: Cannot run program "mvn" (in directory "<mydirectory>\arquillian-core-1.1.2.Final-wildfly-1\testenrichers\ejb"): CreateProcess error=2, The system cannot find the file specified

              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

              at java.lang.Runtime.exec(Runtime.java:620)

              at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)

              at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:254)

              at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:319)

              at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)

              at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)

              at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)

              ... 22 more

      Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified

              at java.lang.ProcessImpl.create(Native Method)

              at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)

              at java.lang.ProcessImpl.start(ProcessImpl.java:137)

              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

              ... 29 more

       

      Any ideas on how to solve this?

       

       

      Regards,

      Ângelo Costa