Added maven profile support.