Quarkus build does not use the proxy settings in maven settings.xml
See original GitHub issueDescribe the bug
In case of changing the quarkus version the first build has to be called with implicit java proxy settings on the command line in order to get a build behind proxy.
Maven downloads all the necessary jars, but some of them are downloaded by the quarkus plugin which does not honor the setting.
Expected behavior
in case the setting is set in maven, every plugin should honor it.
Actual behavior
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ sc-datasource-rest ---
[INFO] Tests will run in random order. To reproduce ordering use flag -Dsurefire.runOrder.random.seed=201451074564952
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running RestDataSourceTest
Downloading from central: https://repo.maven.apache.org/maven2/io/quarkus/quarkus-resteasy-reactive-kotlin/2.12.1.Final/quarkus-resteasy-reactive
Stuck here and times out.
How to Reproduce?
Delete quarkus version and rebuild something with tests inside.
Output of uname -a
or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.12.1.Final
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Building applications with Maven - Quarkus
In this mode the command will continuously rebuild the local application, so you can use an external tool such as odo or rsync...
Read more >Configuring Your Application - Quarkus
In this guide, we will learn how to configure a Quarkus application. ... want to build a native executable (or Docker if you...
Read more >All configuration options - Quarkus
AWS Lambda Type Default
AWS Lambda Common Type Default
AWS Lambda Gateway REST API Type Default
Agroal ‑ Database connection pool Type Default
Read more >Tips for writing native applications - Quarkus
The vast majority of Quarkus XML users don't need to deserialize images, so there shouldn't be a need for users applications to include...
Read more >HTTP Reference - Quarkus
If you are using webjars, like the following JQuery one: pom.xml. build.gradle ... If you want to change this you can use the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Haven’t been able to reproduce it so far. Here is what I tried:
8085
999-SNAPSHOT
to the local Nexussettings.xml
withtarget/local-repo
to make sure it’s cleaned withmvn clean test
8083
instead of8085
(having nothing running on8083
)localhost:8083
and redirects them tolocalhost:8085
mvn clean test -s settings.xml
The idea was that if the Quarkus resolver was not applying the proxy settings to the configured repos I would see a request to a Maven repo with port
8083
which would fail because nothing is listening on that port. That didn’t happen though. I get a successful test run.I see it’s failing on
quarkus-resteasy-reactive-kotlin
in your case. Which is a conditional dependency that gets activated havingquarkus-resteasy-reactive
andquarkus-kotlin
in the project, which I also have and seequarkus-resteasy-reactive-kotlin
being downloaded through my proxy.