Can you include the command line param -DskipTests=true Dave - sent via G1
On Apr 29, 2009 12:54 PM, "David Nemer" <[email protected]> wrote: Hello Everyone, I'm running Maven through my Java code. It builds the POM.XML file. But it also runs the test scripts. I was wondering if there is a way to skip the test scripts. This is my code: request.setGoals(Collections.singletonList("install")); Invoker invoker = new DefaultInvoker(); File mavenHome = new File(mavenHomePath); invoker.setMavenHome(mavenHome); InvocationResult result = null; result = invoker.execute(request); Thank you. -- David Nemer Sent from Kaiserslautern, RP, Germany
