Removing task added previously leaving pom as before