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

Add mavenCentral as plugin repository #629

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

trivikr
Copy link
Contributor

@trivikr trivikr commented Nov 7, 2022

Issue #, if available:
Internal JS-3822

Description of changes:

CI build are failing with:

A problem occurred configuring project ':smithy-typescript-codegen-test'.
> Could not resolve all artifacts for configuration ':smithy-typescript-codegen-test:classpath'.
   > Could not resolve software.amazon.smithy:smithy-cli:[1.26.0,1.27.0[.
     Required by:
         project :smithy-typescript-codegen-test
      > Failed to list versions for software.amazon.smithy:smithy-cli.
         > Unable to load Maven meta-data from https://plugins.gradle.org/m2/software/amazon/smithy/smithy-cli/maven-metadata.xml.
            > Could not get resource 'https://plugins.gradle.org/m2/software/amazon/smithy/smithy-cli/maven-metadata.xml'.
               > Could not GET 'https://jcenter.bintray.com/software/amazon/smithy/smithy-cli/maven-metadata.xml'.
                  > Read timed out
   > Could not resolve software.amazon.smithy:smithy-gradle-plugin:0.6.0.
     Required by:
         project :smithy-typescript-codegen-test > software.amazon.smithy:software.amazon.smithy.gradle.plugin:0.6.0
      > Skipped due to earlier error

This is happening due to jCenter being shutdown.

The mavenCentral was added as plugin repository in other places in smithy-typescript, and in smithy project in smithy-lang/smithy#1189. This PR adds mavenCentral for smithy-typescript.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr requested a review from a team as a code owner November 7, 2022 20:03
@trivikr trivikr merged commit 78133e4 into smithy-lang:main Nov 7, 2022
@trivikr trivikr deleted the plugin-maven-central branch November 7, 2022 20:05
milesziemer pushed a commit to milesziemer/smithy-typescript that referenced this pull request Dec 14, 2022
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
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.

2 participants