maven compile with dependencies code example
Example: where does maven store dependencies
- .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.