From e8c75e10dc8a49aa11da021eda4045e6d341e018 Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 20 Nov 2009 18:02:08 +0000 Subject: the maven-antrun-plugin was causing the itest/distribution tests to fail when run from the top level. The symptom as reported was inability to find javac as though JAVA-HOME was incorrectly set. I don't know what the actual problem is but replacing the maven-antrun-plugin with the exec-maven-plugin seems to improve matters git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882662 13f79535-47bb-0310-9956-ffa450edef68 --- .../implementation-java-calculator/pom.xml | 61 ++++++++-------------- 1 file changed, 23 insertions(+), 38 deletions(-) (limited to 'java/sca/itest/distribution/implementation-java-calculator/pom.xml') diff --git a/java/sca/itest/distribution/implementation-java-calculator/pom.xml b/java/sca/itest/distribution/implementation-java-calculator/pom.xml index 584b7ca5e9..37b811ee8a 100644 --- a/java/sca/itest/distribution/implementation-java-calculator/pom.xml +++ b/java/sca/itest/distribution/implementation-java-calculator/pom.xml @@ -39,44 +39,29 @@ - - org.apache.maven.plugins - maven-antrun-plugin - 1.3 - - - - ant - ant-trax - 1.6.5 - - - - sun.jdk - tools - 1.6 - system - ${java.home}/../lib/tools.jar - - - - - - run-samples - verify - - run - - - - - - - - - - - + + org.codehaus.mojo + exec-maven-plugin + + + run-sample + test + + exec + + + + + ant + ./ + + -Djava.home + ${java.home} + -Dtuscany.version + ${version} + + + -- cgit v1.2.3