Issue
I accidentally use the mvn clean command in java. However, I forget to store relevant files about testing information. It takes a lot of time to retest the project. Are there any ways to revoke this command?
Solution
No, there is not any way to do this through maven.
mvn clean
deletes the 'target' directory.
You would have to use facilities provided by either your operating system or an external program to to attempt to recover the deleted files in the same way that you would have to if you had manually deleted the files in question.
Answered By - GreyBeardedGeek
Answer Checked By - David Goodson (JavaFixing Volunteer)