Where is Maven Central Repository?

By default, Maven will get project dependencies from Maven Local Repository, if it is not found, Maven will get it from the Maven Central Repository

  1. Maven Central Repository URL – https://repo.maven.apache.org/maven2
  2. Maven Central Repository Search – https://search.maven.org/

This is how the Maven central repository search website looks like :

History

This is how the Maven Central Repository website looks like in the old days :

Maven center repository
maven center repository search

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

avatar
7 Comment threads
3 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
8 Comment authors
Karsten UmbrotStefano TerragniImran RajjadNanukJose Segovia Cuadrado Recent comment authors
newest oldest most voted
Karsten Umbrot
Guest
Karsten Umbrot

you can also search on this site: http://jar-download.com/jar-maven-dependency-search.php

here you have also the possibility to download the dependencies directly

Imran Rajjad
Guest
Imran Rajjad

any idea how can I use this url for Artifactory?

Nanuk
Guest
Nanuk

maven download jar to /m2 folder?

Amine
Guest
Amine

when i go in http://repo1.maven.org/maven2/ then i get:
————————–
Browsing for this directory has been disabled.

View this directory’s contents on http://search.maven.org instead.

Find out more about The Central Repository.

————————–
what is the problem please ?

RoarLion
Guest
RoarLion

The maven center repository website is revamped, directory browsing is no longer available. Instead, you will be redirected to http://search.maven.org/. It’s much better, now you have a search function :)

Jose Segovia Cuadrado
Guest
Jose Segovia Cuadrado

Hi, how i redirect the new url of maven repository into the eclipse IDE.? please I tried to configure the url of maven (http://repo.maven.apache.org/maven2) but i havent good luck, help me .

Stefano Terragni
Guest
Stefano Terragni

I have the same problem as Jose, how do i import, how do i use this repository in Eclipse IDE? I thought was similar to GitHub… Could anyone help us? Thank you so much

trackback
How to download from Maven remote repository?

[…] from the central repository. In Maven, when you need some libraries that are NOT EXITS the Maven center repository, the process will stopped and output error messages to your Maven […]

trackback
Maven Tutorials

[…] Maven central repository Maven central repository is the default location to download all the project dependency libraries. […]

Baruch Sadogursky
Guest
Baruch Sadogursky

While Maven Central does its best to prevent you from getting information about the packages (e.g. blocking browsing, providing no useful information about packages, etc), you can use Bintray’s JCenter as your Maven repository.

Not only Bintray’s JCenter allows directory browsing at all levels, it also has a
larger collection of artifacts and better search functionality anyway
(for example, module descriptions are also indexed and search indexes
are updated immediately).