-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Build failure in 0.13.3 due to proxy configuration #2203
Comments
@aloubyansky it looks like a bootstrap issue. Do you take into account the potential proxy settings for Central? |
@pauljaxson as a workaround, will it work if you move your proxy settings to your settings.xml? Thanks. |
Also which Maven version are you using? |
I think I found the origin of problem. But, Quarkus do not configure proxy for remoteRepository (from repoSession) |
fix: #2203 Update proxy settings of each remote repositories if applicable
I am unable to build a quarkus project (version 0.13.3) due to failures to download from the maven repository. The Bootstrap resolver does not appear to be honouring my proxy settings which are set in a MAVEN_OPTS environment variable. The settings that I have work correctly in version 0.12. This seems to have been introduced in version 0.13.0.
[INFO] Running org.acme.quickstart.GreetingResourceTest [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 28.832 s <<< FAILURE! - in org.acme.quickstart.GreetingResourceTest [ERROR] testHelloEndpoint Time elapsed: 0.021 s <<< ERROR! org.junit.jupiter.api.extension.TestInstantiationException: TestInstanceFactory [io.quarkus.test.junit.QuarkusTestExtension] failed to instantiate test class [org.acme.quickstart.GreetingResourceTest]: Failed to create the boostrap class loader Caused by: java.lang.IllegalStateException: Failed to create the boostrap class loader Caused by: io.quarkus.bootstrap.BootstrapException: Failed to create a deployment classloader for org.acme:getting-started::jar:1.0-SNAPSHOT Caused by: io.quarkus.bootstrap.resolver.AppModelResolverException: Failed to inject extension deployment dependencies for org.acme:getting-started:jar:1.0-SNAPSHOT Caused by: io.quarkus.bootstrap.resolver.maven.DeploymentInjectionException: io.quarkus.bootstrap.resolver.AppModelResolverException: Failed to collect dependencies for io.quarkus:quarkus-resteasy-deployment:jar:0.13.3Caused by: io.quarkus.bootstrap.resolver.AppModelResolverException: Failed to collect dependencies for io.quarkus:quarkus-resteasy-deployment:jar:0.13.3 Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for io.quarkus:quarkus-resteasy-deployment:jar:0.13.3 Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for io.quarkus:quarkus-resteasy-deployment:jar:0.13.3 Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact io.quarkus:quarkus-resteasy-deployment:pom:0.13.3 from/to central (https://repo.maven.apache.org/maven2): Resource temporarily unavailable (connect failed) Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact io.quarkus:quarkus-resteasy-deployment:pom:0.13.3 from/to central (https://repo.maven.apache.org/maven2): Resource temporarily unavailable (connect failed) Caused by: java.net.ConnectException: Resource temporarily unavailable (connect failed)
The text was updated successfully, but these errors were encountered: