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

Cannot download JAR from maven using the README guide #10019

Closed
marktoman opened this issue Jan 31, 2020 · 2 comments
Closed

Cannot download JAR from maven using the README guide #10019

marktoman opened this issue Jan 31, 2020 · 2 comments

Comments

@marktoman
Copy link

Description

The Prerequisites guide in README.md doesn't work.

When using wget, I get:

 501 HTTPS Required

After changing it to https:

ERROR: no certificate subject alternative name matches
        requested host name 'central.maven.org'.
To connect to central.maven.org insecurely, use `--no-check-certificate'.

After adding the switch:

403 Use https://repo1.maven.org

After changing the url:

404 Not Found

I've tried other variations to no avail.

The above is true for any version. More importantly, I had no success finding the 3.0.16 jar on any other maven repository.

@marktoman
Copy link
Author

Found it:

iwr -out swagger-codegen-cli.jar https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.16/swagger-codegen-cli-3.0.16.jar

frantuma added a commit that referenced this issue Feb 2, 2020
frantuma added a commit that referenced this issue Feb 2, 2020
frantuma added a commit that referenced this issue Feb 2, 2020
refs #10019 - update maven central URLs (3.0.0)
@frantuma
Copy link
Member

frantuma commented Feb 2, 2020

Thanks for reporting this, fixed in #10021 and #10022

@frantuma frantuma closed this as completed Feb 2, 2020
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

No branches or pull requests

2 participants