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

[JENKINS-66324] Prepare Maven Repository Server for core Guava upgrade #5

Merged
merged 1 commit into from
Oct 3, 2021

Conversation

basil
Copy link
Member

@basil basil commented Aug 21, 2021

See JENKINS-66324 and JENKINS-65988. Jenkins core is using Guava 11.0.1, which was released on January 9, 2012. Jenkins core would like to upgrade to Guava 30.1.1, which was released on March 19, 2021. Plugins must be prepared to be compatible with both Guava 11.0.1 and Guava 30.1.1 in advance of this core transition.

In particular, this plugin has been identified as using the com.google.common.base.Objects#toStringHelper method, which existed in Guava 11.0.1 but was removed in later versions.

To facilitate the Jenkins core transition, this plugin must be prepared and released such that it works with both Guava 11.0.1 and latest. This PR migrates away from Objects#toStringHelper and rewrites the code to use the native functionality provided by the Java Platform.

CC @magnayn

@basil
Copy link
Member Author

basil commented Sep 26, 2021

@magnayn Would it be possible to take a look at this PR?

@magnayn
Copy link

magnayn commented Sep 29, 2021

TBF, I'm no longer really using Jenkins -- if you are still using the plugin, I'd be happy to pass over the maintainer role -- I can commit the change, but I'm guessing it'd need someone to marshal it through the release process..

@basil basil merged commit e185ddf into jenkinsci:master Oct 3, 2021
@basil basil deleted the JENKINS-66324 branch October 3, 2021 20:06
@basil
Copy link
Member Author

basil commented Oct 12, 2021

Released in 1.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants