My POM declared a dependency to a DLL:

 

<dependency>

                <groupId>net.sf.jacob-project</groupId>

                <artifactId>jacob-runtime</artifactId>

                <type>dll</type>

                <classifier>x64</classifier>

                <version>1.17-M2</version>

                <scope>runtime</scope>

</dependency>

 

(1)    How can I tell Maven that when doing "mvn test", that DLL shall
be found on java.library.path, so that the JVM can load native classes
from it (using JNI)?

 

(2)    How can I tell Maven that it shall not statically be "x64", but
instead it depends on the architecture of the system actually executing
"mvn test" (e. g. "x86")?

 

Thanks! J

-Markus

Reply via email to