Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between search.maven.org and mvnrepository.com

Tags:

maven

What's the difference between https://search.maven.org/ and https://mvnrepository.com/?

like image 259
zyxue Avatar asked Jul 13 '20 18:07

zyxue


People also ask

What is Mvnrepository com?

A maven repository is a directory of packaged JAR file with pom. xml file. Maven searches for dependencies in the repositories.

What are the different types of maven repositories?

In Maven terminology, a repository is a directory where all the project jars, library jar, plugins or any other project specific artifacts are stored and can be used by Maven easily. Maven repository are of three types. The following illustration will give an idea regarding these three types.

What is Maven Apache org?

A repository in Maven holds build artifacts and dependencies of varying types. There are exactly two types of repositories: local and remote: the local repository is a directory on the computer where Maven runs. It caches remote downloads and contains temporary build artifacts that you have not yet released.

What is the URL of maven central repository?

Maven Central can be accessed from https://repo.maven.apache.org/maven2/.


1 Answers

The first one is the official central search engine of Central Repository handled and very well maintained by

  • Sonatype Inc.
  • with support etc. https://central.sonatype.org/
  • Status Information about Central: https://status.maven.org/

Whereas the part https://repo.maven.apache.org/maven2/ is the real Central repository (distributed world wide via CDN) which is being used by default by Apache Maven, Gradle etc.

The second one is a search engine (not always up to date) and sometimes misused as a repository, which does not work cause it's only a search engine. Not really visible by whom it's being maintained/used etc.

like image 146
khmarbaise Avatar answered Oct 06 '22 06:10

khmarbaise