-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Stop using libs-*
repo in favour of consistent use of Maven Central
#23124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The problem with this approach is that there are a few optional libraries that are not available on Maven central, so we need a repo for those in any case. One approach would be to create a repo that only contains those. |
The following dependencies non available on Maven Central are currently required by the build:
For the doc resources, we had a similar problem in Spring Boot and decided to use a different mechanism to retrieve the doc resource (ping @bclozel). Looks like only |
@bclozel confirmed |
We can use https://repo.spring.io/ext-release-local/ for optional artifacts that aren't on Maven Central. |
Blocked on #23282 |
Prior to this commit, the reference documentation build with asciidoctor would get the common "spring-docs-resources" as a dependency and then use it when generating the docs. As seen in #23124, this can cause problems since we'd like to consistently resolve our dependencies. In this case, the "spring-doc-resources" archive is not published on maven central since it's not officially supported by the Spring team as an open source project. This commit updates the reference documentation build to get this archive as a simple download task and avoid resolving it as a dependency. See gh-23282
@snicoll this task is not blocked anymore from our asciidoc build's perspective. |
This commit makes sure the content of the local maven repository has no impact on the build See gh-23124
Unfortunately, we're using a new resource that is not on Maven Central, |
We have now a new virtual repo ( |
As we want to make sure we build and release against public artifacts available on Maven Central, let's stop using the
libs-*
repositories on repo.spring.io that are controlled by us and could potentially contain extra artifacts.The text was updated successfully, but these errors were encountered: