Requests for Maven packages that are not found on GitLab should be forwarded to maven-central

Problem to solve

Java developers often use a combination of private, in-house built packages and packages that are publically available in the Maven central repository.

However, we do not currently help users with pulling packages from this popular, remote repository.

Intended users

User experience goal

  • By default (although an Admin can turn the feature off) GitLab will look for packages first in the project/group/instance level maven repository, but if a package is not found, we will look in maven-central to see if it can be resolved.

Proposal

When a user tries to download a Maven package using their Project/Group/Instance-level endpoint and the package is NOT found, forward the request to Maven-central and, if possible, download the package.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

Links / references

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖