Maven profiles for pom hierarchy