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

[Backport 1.2] Replace JCenter with Maven Central. (#1057) and update plugin repository order. #1894

Merged
merged 2 commits into from
Jan 12, 2022

Conversation

mch2
Copy link
Member

@mch2 mch2 commented Jan 12, 2022

This is a backport of #1057 to the 1.2 branch. It also includes a change to update plugin repository order in settings.gradle so that plugin dependencies attempt to fetch from maven central before defaulting to the default set by gradlePluginPortal, which is bintray.

adnapibar and others added 2 commits January 12, 2022 13:25
On February 3 2021, JFrog [announced](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/) the shutdown of JCenter. Later on April 27 2021, an update was provided that the repository will only be read only and new package and versions are no longer accepted on JCenter.  This means we should no longer use JCenter for our central artifacts repository.

This change replaces JCenter with Maven Central as per the Gradle recommendation - https://blog.gradle.org/jcenter-shutdown

Signed-off-by: Rabi Panda <[email protected]>
@mch2 mch2 changed the title [Backport 1.x] Replace JCenter with Maven Central. (#1057) and update plugin repository order. [Backport 1.2] Replace JCenter with Maven Central. (#1057) and update plugin repository order. Jan 12, 2022
@opensearch-ci-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure c8519a6
Log 1885

Reports 1885

@mch2
Copy link
Member Author

mch2 commented Jan 12, 2022

start gradle check

@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure c8519a6
Log 1886

Reports 1886

@mch2
Copy link
Member Author

mch2 commented Jan 12, 2022

start gradle check

@mch2
Copy link
Member Author

mch2 commented Jan 12, 2022

Gradle checks here failing for unrelated reasons - trying again...

14:46:34 org.opensearch.plugins.InstallPluginCommandTests > testOfficialPlatformPluginStaging {p0=com.google.common.jimfs.JimfsFileSystem@58b74905 p1=org.opensearch.plugins.InstallPluginCommandTests$1Parameter$$Lambda$227/0x0000000800d86378@3e615cda} FAILED
14:46:34     java.lang.Exception: Test abandoned because suite timeout was reached.
14:46:34         at __randomizedtesting.SeedInfo.seed([B13D29500A8A0D81]:0)

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success c8519a6
Log 1890

Reports 1890

@CEHENKLE CEHENKLE merged commit afdaae4 into opensearch-project:1.2 Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants