Mobile App Development - Maven

Back to Course

Lesson Description

Lession - #413 Maven Repositories

An repository in Maven holds build artifacts and dependencies of changing types.

There are exactly two types of repositories:
  • local and
  • remote.

    The local repository is an directory on the PC where Maven runs. It stores remote maven downloads and contains temporary build artifacts that you have not yet released.

    The remote repository refer to some other sort of repository, got to by an variety of protocolss like file://and https://. These repositories may be a genuinely remote repository set up by an third party to give their artifacts to downloading (for instance, repo.maven.apache.org>

    maven central

    Maven central is repository given by Maven people group. It contains countless regularly utilized libraries. Whenever Maven observes no reliance in neighborhood archive, it begins looking in focal storehouse utilizing following URL − https://repo1.maven.org/maven2/

    maven install

    mvn install. adds all artifact (dependencies>
    indicated in pom, to the repository(from remote sources>