Package caches
Maven local repository
Downloaded dependencies Maven keeps, plus any artifact you built and installed locally with mvn install.
- Label in AmpleCapacity
- Ask me
- Comes back on its own
- Yes
- Plan that clears it
- Developer plan
Where it is
~/.m2/repository/
~ means your home folder.
Does it come back?
Yes. Downloaded dependencies are fetched again. An artifact you built and installed locally has to be rebuilt from its own source.
What changes for you if it goes
Your next build re-downloads public dependencies. A locally-installed artifact with no other source is gone until you rebuild it.
How to remove it yourself
- In Finder, choose Go > Go to Folder, or press Shift-Command-G. Type the location and press Return.
- Go to
~/.m2/repository. Move everything inside it to the Trash. - Empty the Trash. Until you do, the files still take up space. Emptying the Trash cannot be undone.
How AmpleCapacity handles it
AmpleCapacity moves it to its recovery vault instead of deleting it. You can put it back for seven days. The space comes back when those seven days end, or sooner if you empty the vault yourself.
It is labelled Ask me, so the app never picks it for you. It moves only if you choose it.
Scanning is free. Moving it to the vault needs the Developer plan.
See what is on your Mac
The scan is free and changes nothing. It shows every item it finds, what made it, and what happens if it goes. You pay once, only if you want AmpleCapacity to clear it.
More in Package caches
- Python virtual environments Ask me
- Rust build output Ask me
- Swift package build output Ask me
- Next.js build output Ask me
- npm cache Safe
- Yarn cache Safe
- pip cache Safe
- pnpm content-addressable store Safe
- Cargo registry cache Safe
- Go build cache Safe
- Go module cache Safe
- Homebrew download cache Safe
- CocoaPods cache Safe
- Gradle cache Safe
- node_modules in dormant projects Ask me
- Playwright browsers Ask me
- uv cache Ask me
- conda package downloads Safe
- Bun install cache Safe
- Deno module cache Safe