diff --git a/all/pom.xml b/all/pom.xml index 156a45b20e..d7de1dbd45 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -292,7 +292,7 @@ run - + diff --git a/example/pom.xml b/example/pom.xml index d09c478776..e5b48d5dad 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -108,20 +108,17 @@ - org.codehaus.mojo - exec-maven-plugin + maven-antrun-plugin - ${java.home}/bin/java - - ${argLine.common} - ${argLine.bootcp} - ${argLine.leak} - ${argLine.coverage} - -classpath %classpath - ${argLine.example} - ${exampleClass} - - runtime + + + + + + + diff --git a/pom.xml b/pom.xml index 07618aaeac..4c866efcaf 100644 --- a/pom.xml +++ b/pom.xml @@ -858,7 +858,7 @@ run - + @@ -1066,11 +1066,6 @@ build-helper-maven-plugin 1.8 - - org.codehaus.mojo - exec-maven-plugin - 1.3 - org.fusesource.hawtjni maven-hawtjni-plugin diff --git a/run-example.sh b/run-example.sh index 03d4519c3d..79e7263382 100755 --- a/run-example.sh +++ b/run-example.sh @@ -60,5 +60,5 @@ fi cd "`dirname "$0"`"/example echo "[INFO] Running: $EXAMPLE ($EXAMPLE_CLASS $EXAMPLE_ARGS)" -exec mvn -nsu compile exec:exec -DargLine.example="$EXAMPLE_ARGS" -DexampleClass="$EXAMPLE_CLASS" +exec mvn -nsu compile antrun:run -Dcheckstyle.skip=true -Dantfile=src/antrun/run-example.xml -DargLine.example="$EXAMPLE_ARGS" -DexampleClass="$EXAMPLE_CLASS"