Added double activation logic for couchdb profile in root pom.xml. Need to investigate how to properly refactor this