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:[email protected]] Sent: Monday, July 12, 2010 7:20 PM To: [email protected] 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 <[email protected]> Infrastructure Systems Software Developer, ITS:IDG, Stanford University --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
