From 00d8b9c07c23e879c51227aa0cd6fd6e0a08921a Mon Sep 17 00:00:00 2001 From: johnnyhou327 <31071594+johnnyhou327@users.noreply.github.com> Date: Mon, 15 Jul 2019 20:10:01 +0800 Subject: [PATCH] Update pom.xml Change the pom.xml for the JDBC demo project so that users can directly compile and package an executable jar with all the dependencies. --- tests/examples/JDBC/JDBCDemo/pom.xml | 42 ++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/tests/examples/JDBC/JDBCDemo/pom.xml b/tests/examples/JDBC/JDBCDemo/pom.xml index c7e6acec75..1c62379af9 100644 --- a/tests/examples/JDBC/JDBCDemo/pom.xml +++ b/tests/examples/JDBC/JDBCDemo/pom.xml @@ -9,7 +9,45 @@ 1.0-SNAPSHOT jar + + + + org.apache.maven.plugins + maven-plugins + 30 + + + org.apache.maven.plugins + maven-assembly-plugin + 3.0.0 + + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.1.0 + + + + TSDBSyncSample + + + + jar-with-dependencies + + + + + make-assembly + package + + single + + + + org.apache.maven.plugins maven-compiler-plugin @@ -28,6 +66,4 @@ 1.0.0 - - - \ No newline at end of file +