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 repostory e.g $USER_HOME/.m2
2. Central repostory e.g http://repo.maven.apache.org/maven2/
3. Private repostory e.g Sonatype Nexus, Artifactory, Archiva etc.
The diagram shown below represent how maven resolve the dependendency. Read more click here
Reference:- This article was originally posted on scmGalaxy.com

This article about how to configure Sonatype Nexus was easy to read and understand. I liked how it explained the steps in simple words so anyone can follow, even if they are new to Nexus or DevOps tools. The clear points made it easy to see what to do first and what comes next, which makes the setup feel less confusing. It helped me learn how Nexus can be set up for storing and managing software packages in real work. This post is good for beginners who want real guidance and want to try the steps on their own. Thank you for writing this in a clear and simple way — it made the topic easier to learn and think about.
ReplyDelete