That sounds to me like you want to just create a different set of property files for every profile, something like this:
<profiles>
<profile>
<id>group1</id>
<build>
<filters>
<filter>src/main/resources/propertyfile1.txt</filter>
<filter>src/main/resources/propertyfile2.txt</filter>
</filters>
</build>
</profile>
<profile>
<id>group2</id>
<build>
<filters>
<filter>src/main/resources/propertyfile3.txt</filter>
<filter>src/main/resources/propertyfile4.txt</filter>
</filters>
</build>
</profile>
</profiles>
Now each profile gives you different values in resource filtering.
If you also need the values in the pom, you will have to do some more processing, probably using the maven properties plugin or something similar. Put the meat of the plugin definition in the main build element:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
</execution>
</executions>
</plugin>
And configure the loaded files in the individual profiles:
<profile>
<id>group1</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<configuration>
<files>
<file>src/main/resources/propertyfile1.txt</file>
<file>src/main/resources/propertyfile2.txt</file>
</files>
</configuration>
</plugin>
</plugins>
</build>
</profile>