what is .m2 folder in maven code example
Example: Where does maven store all dependencies in computer folder structure?
- .m2
- .m2 is a hidden file where maven stores all the dependencies.
- in some cases when you have problem with dependencies,
you might have to locate ~/.m2 file and delete everything.
Then re-import project. Sometimes solves the pom.xml file related issues.