beyond Properies and Resource Filtering

2009-06-23 Thread Robert Glover
I have read chapter 13 of Maven: The Definitive Guide and did not find my question answered there. Here is what I need to do. I have two subdirectories as follows: src/main/resources/foo src/main/resources/bar I have the same file in each of those two directories:

Re: beyond Properies and Resource Filtering

2009-06-23 Thread David Weintraub
This should help: http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html And over here: http://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html (Note the Examples links on the left side. They can provide you with specific pom.xml examples).

Re: beyond Properies and Resource Filtering

2009-06-23 Thread Mick Knutson
I use Annotations to instantiate my Spring context in my tests: @ContextConfiguration(locations = {classpath:*applicationContext-test.xml* }) public class UserWebServiceTest extends AbstractSpringTest { Then when I do not have to modify my Maven config in order to switch from test, to