fix bug with profiles in maven 3.2.2
Merge pull request #1036 from dwightguth/profile

fix bug with profiles in maven 3.2.2