Refactoring parent pom and adding release plugin.