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
Maven metadata in central wrong for project #1309
Comments
I picked up a similar issue a few months back with another Google repo that ended up being a Sonatype issue. Related issue: Sonatype issue: Maybe it's related. Maybe not. |
guice-parent is also affected: https://repo.maven.apache.org/maven2/com/google/inject/guice-parent/maven-metadata.xml
and the extensions: https://repo.maven.apache.org/maven2/com/google/inject/extensions/guice-assistedinject/
but the bom looks fine: https://repo.maven.apache.org/maven2/com/google/inject/guice-bom/maven-metadata.xml
|
I've opened https://issues.sonatype.org/browse/OSSRH-56420 to request a rebuild of the metadata on central to hopefully get things back in sync. BTW, what build tool are you using and how are you describing your Guice dependencies? The incomplete maven metadata shouldn't affect builds if you use a specific dependency version in your project, which is recommended for reproducible builds. |
OK, metadata has been updated on central |
We use nexus as a maven central proxy/mirror. It looks like it relies upon the metadata from the upstream to define exactly what artifacts/versions exist for a given dependency. The workaround, while this was busted, was to use a different mirror. |
Nexus itself doesn't rely on maven metadata to filter upstream artifact requests, but something in the build pipeline probably relied on knowing the 'latest' version (disclaimer: I work on Nexus.) Anyway, central now has the right metadata. |
Thanks for letting us know. Something must not be quite right somewhere in our dependencies. |
Central proxy is currently returning maven metadata that does not contain current versions of Guice. Beaking all of our builds:
https://repo.maven.apache.org/maven2/com/google/inject/guice/maven-metadata.xml
The text was updated successfully, but these errors were encountered: