What's the difference between https://search.maven.org/ and https://mvnrepository.com/?
search.maven.org
is the official central search engine of Central Repository handled and very well maintained by
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.
mvnrepository.com
is a search engine (not always up to date) and sometimes misused as a repository, which does not work because it's only a search engine. The site says it is maintained by Twitter user @frodriguez whose profile identifies them as Fernando Rodriguez Olivera.