I believe that the <testResources> get copied into the /target/test-classes directory and are therefore available to the unit tests (as resources) when they run. Unlike resources in /target/classes, they don't get added to the generated jar.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:40 AM To: [email protected] Subject: [m2] Where to place resources for unit tests? Hello, I need some config files/resources for unit test, so I place them in"src/test/resources", but I don't want to include them in generated jar. The description of <testResource> element of pom.xml states thatresources are used to complete the jar or to run unit test. How can use this resources in test phase, but not include them in jar ? Thanks. _______________ Siebel IT'S ALL ABOUT THE CUSTOMER Visit www.siebel.com This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
