where maven store dependencies code example

Example 1: 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.

Example 2: 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.

Tags:

Misc Example