I need some assistance in how to add a folder to the classpath for JUnit testing.
My situation is this...we use Spring to wire most of our stuff together. I would like to have some JUnits that use a test configuration for Spring. The Spring config file(s) are located in <root>/src/test/resources, and the test code itself is in <root>/src/test/java. I would like the JUnit to use the ClasspathXmlApplicationContext, which looks to the classpath for a given XML file for context configuration, but I have not found a way to add the <root>/src/test/resources folder to the classpath for just the 'test' phase. I am also not sure I am going down the right path. For reference, I have attached my POM: http://www.nabble.com/file/p11967682/pom.xml pom.xml -- View this message in context: http://www.nabble.com/Spring-XML-files-and-classpaths-for-JUnit-tf4207069s177.html#a11967682 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]