nDependency- is a reference to a specific artifact that resides in a repository. In order for Maven to attempt
to satisfy a dependency,
Maven needs to know what the repository
to look in as well as the dependency’s coordinates. A dependency is uniquely identified by the following identifiers: groupId, artifactId and version.
nIn the POM
you are not telling Maven where the dependencies physically is, you are simply telling Maven what a
specific project expects.
nWhen a dependency is declared, Maven tries to satisfy
that dependency by looking in
all of the remote repositories that are available, within the context of your project, for
artifacts that match the
dependency request. If matching artifact is located, it transports it from remote repository to your local for
general use.