From 4f6ba6f1f73883041a89d98a9658e1132122ced1 Mon Sep 17 00:00:00 2001 From: Kun Liu Date: Tue, 8 Jan 2019 16:24:56 +0800 Subject: [PATCH] Revert "remove antrun plugin and use maven-jar-plugin (#564)" This reverts commit 3c0a2bbb77f3a80141cdc6b4dc747c09491011ab. --- iotdb-cli/pom.xml | 33 ++++++++++++++++++++++++++------- iotdb/pom.xml | 35 ++++++++++++++++++++++++++++------- 2 files changed, 54 insertions(+), 14 deletions(-) diff --git a/iotdb-cli/pom.xml b/iotdb-cli/pom.xml index ddf062600..11ad2cec4 100644 --- a/iotdb-cli/pom.xml +++ b/iotdb-cli/pom.xml @@ -47,6 +47,7 @@ maven-clean-plugin + 3.1.0 @@ -62,6 +63,7 @@ org.apache.maven.plugins maven-dependency-plugin + 2.10 copy-dependencies @@ -75,13 +77,30 @@ - - org.apache.maven.plugins - maven-jar-plugin - - ${project.basedir}/cli/lib - - + + org.apache.maven.plugins + maven-antrun-plugin + 1.7 + + + copy-native-libraries + package + + run + + + + + + + + + + + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/iotdb/pom.xml b/iotdb/pom.xml index b9fa712bc..0b7310130 100644 --- a/iotdb/pom.xml +++ b/iotdb/pom.xml @@ -81,6 +81,7 @@ maven-clean-plugin + 3.1.0 @@ -110,6 +111,7 @@ org.apache.maven.plugins maven-dependency-plugin + 2.10 copy-dependencies @@ -123,13 +125,7 @@ - - org.apache.maven.plugins - maven-jar-plugin - - ${project.basedir}/iotdb/lib - - + org.apache.maven.plugins maven-surefire-plugin @@ -144,6 +140,31 @@ + + + org.apache.maven.plugins + maven-antrun-plugin + 1.7 + + + copy-native-libraries + package + + run + + + + + + + + + + + + + +