- Use maven profile to detect OS arch and set it into a maven property - Use maven-dependcy-plugin to down all requires dll. Make sure to take advantage of the property set in step 1
- Configure maven-surefire-plugin to set PATH env variable into the download directory Good luck -D On Wed, Feb 27, 2013 at 6:58 AM, Markus Karg <k...@quipsy.de> wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org