Since my command shell doesn't have "screens", I'll have to assume you're having a problem with an
IDE. And I can't tell which IDE it was.
Note "mvn clean" normally just deletes the project's
target directory and everything under it. Windows cannot delete directories that are currently serving as the current (working) directory for any command shell that might be running on the system because Windows locks based on the file path name. Unix-like systems lock on inodes not names, so you can delete in cases where Windows wouldn't let you, but you'll still probably wish you hadn't. So before doing a clean always make sure that you don't have any open connections to files or directories under
/target.