From 92faba1832974e2a8258ca3d5205bbd2011cdd37 Mon Sep 17 00:00:00 2001 From: "Pfifer, Justin" Date: Wed, 20 Jul 2016 14:59:06 -0700 Subject: [PATCH] Copy sqlite Native Libraries, and Use for Testing Copies all the native library version for sqlite during the test compile phase. The sqlite native libraries are only needed to run the unit tests. --- pom.xml | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/pom.xml b/pom.xml index 194d8134..20fb6d58 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,9 @@ 1.11.14 + 1.0.392 + libsqlite4java + ${project.build.directory}/test-lib @@ -139,6 +142,12 @@ **/*IntegrationTest.java + + + sqlite4java.library.path + ${sqlite4java.libpath} + + @@ -159,6 +168,74 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + copy + test-compile + + copy + + + + + + com.almworks.sqlite4java + ${sqlite4java.native}-osx + ${sqlite4java.version} + dylib + true + ${sqlite4java.libpath} + + + + + + com.almworks.sqlite4java + ${sqlite4java.native}-linux-i386 + ${sqlite4java.version} + so + true + ${sqlite4java.libpath} + + + + + com.almworks.sqlite4java + ${sqlite4java.native}-linux-amd64 + ${sqlite4java.version} + so + true + ${sqlite4java.libpath} + + + + + + com.almworks.sqlite4java + sqlite4java-win32-x86 + ${sqlite4java.version} + dll + true + ${sqlite4java.libpath} + + + + + com.almworks.sqlite4java + sqlite4java-win32-x64 + ${sqlite4java.version} + dll + true + ${sqlite4java.libpath} + + + + + +