I have used below command to deploy a proxy.
mvn clean install -Ptest -Dusername=username -Dpassword=password -Doptions=override
The command deploying the new revision to apigee successfully but not clearing the previous revision from UI. Please find attached image for details.