You can use mvn dependency:copy or unpack and directly list an artifact to be 
copied or unpacked. 
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html It should be 
able to handle dlls etc.

-----Original Message-----
From: Joerg Hohwiller [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 29, 2007 4:14 PM
To: Maven Users List
Subject: dependency on system library

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I am using maven for a project based on SWT (I also have the same problem with 
a dependency on GWT).
As you might know, SWT requires a native library in order to work (scope 
runtime).
Is there a way to define a dependency that does NOT go on the classpath but 
onto java.library.path or at all that is no jar but a *.dll or *.so?

Especially when I deploy the project I would like that the native library is 
included (e.g. when I use the maven-dependency-plugin).

Thanks for your help...
  Jörg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGDB4PmPuec2Dcv/8RAsVTAJ4jOFFSwKGlRTsOv49SCEQcbi1C1ACgiTXn
2V0ugWCt+C6weM+3c9dMJh8=
=DwG8
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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]

Reply via email to