Automatic dependencies is one of the powerful feature of Apache maven and its one of the reason Maven is very popular in developer community. Maven resolve the dependent library from local repository which is again connected with central repository or remote repository. thus we can say that Maven has 3 kinds of repository concept.
1. Local repository e.g $USER_HOME/.m2
2. Central repository e.g http://repo.maven.apache.org/maven2/ Read more click here
Reference:- This article was originally posted on scmGalaxy.com

Really helpful walk-through on wiring Maven with a Nexus repo. I like how you first explain the local/central/private repository flow and only then jump into tweaking settings.xml and pom.xml—it makes the mirror and credentials part feel much more intuitive. This is the kind of post I’d send to a teammate who’s setting up their first private Maven repo 😊
ReplyDelete