Conditional check to use maven clean