Reason and solution-
Everything happens for a reason :)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean (default-clean) on project
Solution- 1) Check the war and jar (also check jar if any running in background), terminate it.
2) if u have opened command prompt (cmd), and are using that path to execute the jar, close it or change the path in cmd. This was the reason in my case. Do check this.
Once u do this , u would be able to delete the contents of the target folder and and can also perform maven clean and maven install.