fixed mvn errors for extra whitespace

Maven crashed with an error: '[ERROR] Unknown lifecycle phase "".' when the goals contained extra whitespaces like " package ".