Removing unnecessary plugin and correcting pom properties expression