Trim whitespace from args to be compatible with maven2