Description: always running tests, and giving the path of the shared library
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2022-01-07

--- a/pom.xml
+++ b/pom.xml
@@ -333,6 +333,9 @@
 
         <profile>
             <id>native</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
             <build>
                 <plugins>
                     <plugin>
@@ -364,6 +367,7 @@
                         <artifactId>maven-surefire-plugin</artifactId>
                         <version>${surefire.version}</version>
                         <configuration>
+                            <argLine>-Djava.library.path=${project.basedir}/target/sqlite-${sqlite.version}-Linux-${build.architecture}</argLine>
                             <excludes>
                                 <!--  Cannot run in native mode, classes under test cannot be found, class path is empty  -->
                                 <exclude>**/MultipleClassLoaderTest.java</exclude>
