You should probably look at using profiles. You can set an enviroment variable that is passed into the call for the build that will activate the profile you want. One profile will be for windows, and one for linux.
See http://maven.apache.org/guides/introduction/introduction-to-profiles.html for more info... Frank Russo Senior Developer FX Alliance, LLC -----Original Message----- From: Bedin, Stephane (GE Healthcare) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 8:46 AM To: Maven Users List Subject: [m2] os dependency Hi, I have a java library to is a wrapper (uses JNI). ex: myjarforwin.jar (associated with myjarforwin.dll) and myjarforlinux.jar (associated with myjarforlinux.so). Is it a way to explain in pom.xml that - on windows that dependency is on myjarforwin.jar and shall set a system property named 'mc3adv.library.path' linked to myjarforwin.dll for unit testing - on linux that dependency is on myjarforlinux.jar and shall set a system property named 'mc3adv.library.path' linked to myjarforlinux.so for unit testing Thanks for your inputs. Stéphane --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
