Yes, src/main/resources for the prod version, src/test/resources. Maven puts test stuff on the classpath first, so your app will find that file first.
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html -----Original Message----- From: Digant C Kasundra [mailto:dig...@stanford.edu] Sent: Monday, July 12, 2010 7:20 PM To: users@maven.apache.org Subject: bean xml for tests using Maven? Hello everyone, I'm very new to Maven. I've got a test suite that needs to use a different beans.xml file (so that dummy test beans are injected) from the rest of the code. These files do get filtered but rather than set everything as a property, can I tell maven to use one source directory by default but a different one when running tests? -- DK -- Digant C Kasundra <dig...@stanford.edu> Infrastructure Systems Software Developer, ITS:IDG, Stanford University --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org