Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Hardcoded HTTP url to remote repository causes Maven build to fail #56

Closed
fgrilli opened this issue Jan 28, 2020 · 0 comments
Closed

Hardcoded HTTP url to remote repository causes Maven build to fail #56

fgrilli opened this issue Jan 28, 2020 · 0 comments

Comments

@fgrilli
Copy link
Contributor

fgrilli commented Jan 28, 2020

As of 15 January 2020, Maven will no longer support requests over HTTP. https://blog.sonatype.com/central-repository-moving-to-https

Since com.vaadin.framework8.migrate.MavenResolver hardcodes the url to remote central Maven repo as http://central.maven.org/maven2/, this has recently started to cause build failures in one of our projects.
I provided a fix PR.

[ERROR] Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.vaadin:vaadin-compatibility-server:pom:8.1.5 from/to central (http://central.maven.org/maven2/): HTTPS Required (501) [ERROR] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444) [ERROR] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) [ERROR] at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223) [ERROR] at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)

fgrilli pushed a commit to fgrilli/framework8-migration-tool that referenced this issue Jan 31, 2020
fgrilli added a commit to fgrilli/framework8-migration-tool that referenced this issue Jan 31, 2020
fgrilli added a commit to fgrilli/framework8-migration-tool that referenced this issue Jan 31, 2020
fgrilli added a commit to fgrilli/framework8-migration-tool that referenced this issue Jan 31, 2020
fgrilli added a commit to fgrilli/framework8-migration-tool that referenced this issue Jan 31, 2020
fgrilli added a commit to fgrilli/framework8-migration-tool that referenced this issue Mar 18, 2020
fgrilli added a commit to fgrilli/framework8-migration-tool that referenced this issue Mar 18, 2020
@Legioth Legioth closed this as completed in 28fd062 Aug 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant