Take a look here: http://maven.apache.org/guides/mini/guide-attached-tests.html
You can deploy the tests (which include resources) for a model, then depend on that as well. On 8/18/06, Kapil Gupta(CT) <[EMAIL PROTECTED]> wrote:
Hi, I have a multi module project with two modules A and B (depends on A). Can I use a resource (XML) file which is available in test\resources folder of module A while running test cases of module B? I receive FileNotFoundException on loading the XML from module B. I tried to use test scope instead of default compile while setting dependency on A in the pom of module B but without any luck. The problem goes away if I copy the resource file in the target\classes folder of module A instead of target\test-classes? Does it mean that target\test-classes folder is not added in classpath while building a multi-module project? Thanks Kapil
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
