I want to have different spring configuration files for different maven profiles. [Filtering](http://www.sonatype.com/books/mvnref-book/reference/resource-filtering-sect-description.html) is close to what i want, but it change only properties inside one file. What i want is include/exclude and rename files depending on profile. For example i have files profile1-config.xml and profile2-config.xml. For profile1 build profile1-config.xml is renamed to config.xml and profile2-config.xml is excluded from build. For profile2 build profile2-config.xml is renamed to config.xml and profile1-config.xml is excluded from build.
 Is this possible in maven?