Rearranged POM files.

Child POM have been set to a deeper group than the parent POM, for the sake of convention.