Simplified the profiles in pom.

References #662.