when I use the command: mvn test, maven uses the main resources instead of the test ones in src/test/resources.
How can i make maven use the test resources rather th
Please check your target/test-classes directory for resource.xml. Your file should be here. If you find this file, I think the same name is the problem. Try rename the file for example to test-resource.xml. If the file doesn't exists in the test-classes directory, you should configure resource management in the maven pom.xml. Use maven-resouce-plugin. Hope it helps.