Hi, I have a file config.xml that should be alongside its corresponding (TestCase) class file when the tests are run.
Source is like this: src/test/java/com/example/db/config.xml src/test/java/com/example/db/MyTest.java (expects to find config.xml in same package) I tried adding this to the surefire config in my pom: <additionalClasspathElements> <additionalClasspathElement>src/test/java/com/example/db/config.xml</additionalClasspathElement> </additionalClasspathElements> But that didn't help. What I really want is for config.xml to be in: target/test-classes/com/example/db/ when the test is run. Any pointers appreciated. Thanks, D. -- View this message in context: http://www.nabble.com/Resource-file-needed-on-classpath-for-unit-test-tp17644825p17644825.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
