Try with compile option or test option :) Thanks & Regards, A.S.KRISHNAN, AZTEC, BANGALORE.
-----Original Message----- From: Tim Davies [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 6:17 PM To: users@maven.apache.org Subject: [M2] Runtime dependencies not being found Hi, Ive got a set of classes that access databases and so need a jdbc driver on the classpath. Ive written a set of junit tests for these classes which obviously need access to these drivers. I can run the junit tests fine from eclipse but when I try to run them with maven they fail because the driver cannot be found. I have the jdbc driver jar in my pom with scope set to runtime. Has anyone else had this problem or have any advice? Its going to be pretty frustrating if I cant run these tests with maven. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************** The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email ************************************************************ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]