Skip to content
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

Java Maven Dependency Version 4.27.0 not in the maven repo #15878

Closed
DenisBytes opened this issue Feb 18, 2024 · 1 comment
Closed

Java Maven Dependency Version 4.27.0 not in the maven repo #15878

DenisBytes opened this issue Feb 18, 2024 · 1 comment
Assignees

Comments

@DenisBytes
Copy link

DenisBytes commented Feb 18, 2024

Proto --version : libprotoc 25.2
Language: Java
Os: Windows
Java -version: OpenJDK Runtime Environment Corretto-21.0.2.13.1 (build 21.0.2+13-LTS)
GCC version : gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 13.2.0

Tried to add the maven dependency put on github:
image

but gave this error:

com.google.protobuf:protobuf-java:jar:4.27.0 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced
Try to run Maven import with -U flag (force update snapshots)

Went on the maven repo to check, but not found the 4.27.0 version

image

@DenisBytes DenisBytes added the untriaged auto added to all issues by default when created. label Feb 18, 2024
@zhangskz
Copy link
Member

As in the error message, there is no Protobuf 4.27.0 released yet. The latest release is 4.26.0-RC2. 27.x series is scheduled to be cut in April. For now, please use 4.26.0-RC2 (latest RC) or 3.25.3.

We recently updated our release process to have the version on our main branch reflect the next version to be released which is why this is incorrect here: https://github.com/protocolbuffers/protobuf/blob/main/java/README.md.

@shaod2 Can you update these to reflect a valid version, or point to https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java for what version to use?

@zhangskz zhangskz removed the untriaged auto added to all issues by default when created. label Feb 20, 2024
copybara-service bot pushed a commit that referenced this issue Feb 21, 2024
… the the next, unreleased version.

#15878

PiperOrigin-RevId: 609081973
copybara-service bot pushed a commit that referenced this issue Feb 21, 2024
… the the next, unreleased version.

#15878

PiperOrigin-RevId: 609081973
copybara-service bot pushed a commit that referenced this issue Feb 21, 2024
… the the next, unreleased version.

#15878

PiperOrigin-RevId: 609081973
copybara-service bot pushed a commit that referenced this issue Feb 22, 2024
… the the next, unreleased version.

#15878

PiperOrigin-RevId: 609488730
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants