-
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
mvn quarkus:dev aborts with UnknownHostException #2871
Comments
I just found the cause. The bug is already solved with #2470. |
When using mvnw instead of mvn this is still an open issue.
|
AFAICS, it's the Maven wrapper which can't download Maven so it has nothing to do with Quarkus itself. |
Okay, I got it. If the environment variable MVNW_REPOURL is set to my nexus maven repository the mvnw command works fine :-) |
Describe the bug
Running the application of the "Getting Started Guide" failed with java.net.UnknownHostException: repo.maven.apache.org
This happens at work behind a proxy.
It seams that the proxy is not used for accessing the maven repo.
Expected behavior
The application starts without errors.
Actual behavior
running maven:
mvn -X quarkus:dev
causes this error:
To Reproduce
Steps to reproduce the behavior:
Step 1 to 5 of the Getting Started Guide https://quarkus.io/guides/getting-started-guide
Configuration
Environment (please complete the following information):
uname -a
orver
:Microsoft Windows [Version 10.0.17134.829]
java -version
:openjdk version "1.8.0_192"
OpenJDK Runtime Environment (Zulu 8.33.0.2-win64) (build 1.8.0_192-b01)
OpenJDK 64-Bit Server VM (Zulu 8.33.0.2-win64) (build 25.192-b01, mixed mode)
The text was updated successfully, but these errors were encountered: