Clearing the Local Maven Repository
The dependency packages downloaded during the compilation and installation are stored in the local Maven repository /root/.m2/. To recompile and install the packages, you need to clear the local Maven repository.
- Check the local Maven repository.
ls /root/.m2/
- Delete the local Maven repository.
rm -rf /root/.m2/
Parent topic: Common Operations