> -----Original Message----- > From: Michael Meyer [mailto:[EMAIL PROTECTED] > Sent: Friday, July 20, 2007 10:43 AM > To: Maven Users List > Subject: Re: configuring separate filter for testResources > > Hi Brian, > Do I understand you right that you want to define two property files. > One for src/test/resources and one for src/main/resources? If > so I would > try using the maven-antrun-plugin and the ant replace task.
That's correct, Michael. The antrun plugin would work, but it seems to me that since src/test/resources and src/test/filters are part of the standard Maven project directory structure, and since the testResources goal has a separate filters list, I should be able to do this in Maven without having to drop out to Ant. I think a <testFilters /> element at the same level as <filters /> in pom.xml would be appropriate here, but that doesn't currently exist. Plan B is to specifically configure the testResources goal, but I can't figure out how to do that, either. Thanks for the fall-back solution, however. :-)
