Ported Maven Profile API to Forge 2.
Merge pull request #376 from VineetReynolds/maven-profile-api

Ported Maven Profile API to Forge 2.
Fixed code format