Maven – Dependency Management
GIAN Tutorials
2:16 AM
In Maven, dependency is another archive—JAR, ZIP, and so on—which your current project needs in order to compile, build, test, and/or to run. The dependencies are gathered in the pom.xml file, inside of a <dependencies> tag. When you run a build or execute a maven goal, these dependencies are resolved, and are then loaded from the local repository. If they are not present there, then Maven will download them from a remote repository and store them in the local repository. You are allowed to manually install the dependencies as well. Read More: Local Repository Path en Dependency Example Before going further deep inside dependency management, let’s have a quick example having different elements which we will talk in this post. < dependencies > < dependency > < groupId >junit</ groupId > < arti...