Joerg, How you refer to the artifact depends on how it was installed or deployed to your repository. My guess is you want <type>dll</type> with no classifier. The dependency plugin does not not add the artifacts to the classpath, so surefire won't put it on the classpath. There may be some other way to accomplish this, but I'm not sure off the top of my head.
--Brian -----Original Message----- From: Joerg Hohwiller [mailto:[EMAIL PROTECTED] Sent: Sunday, April 01, 2007 8:10 AM To: Maven Users List Subject: Re: dependency on system library -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Brian, > 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. Thanks for your response. I have already used this plugin, but how do I specify that the dependency is a dll? <classifier>dll</classifier>? But would e.g. maven-surefire add it to the library path when running tests? Thanks Jörg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGD6EbmPuec2Dcv/8RAlwiAJ42Oq4CWsSvVEaP/iRM2sF3fwmpxACeJsIA WDlts4uy2G9PNTGG0/+4OLc= =sed+ -----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]
