Added maven profile support.
Merge pull request #8 from ScrapCodes/maven-profile-support

Added maven profile support.