Can the tests be in a separate jar? If so they could include the original jar 
with the code to test but exclude dependencies as needed.

Steven

-----Original Message-----
From: Henrik [mailto:[email protected]] 
Sent: Thursday, May 07, 2009 6:04 AM
To: [email protected]
Subject: Exclude dependency from scope runtime test classpath

Hi,

I was wondering if there is a way to remove a dependency from the test 
classpath when using <scope>runtime</scope>
I want to make sure that the jar file is only used when running the 
application and not when testing it.

So it really comes down to, I want to have the dependency (jar file) but 
i don't want to add it to compile or test classpath.

Thanks,

Henrik

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to