-
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
Quarkus bypasses Nexus and downloads artefacts directly from maven central #2470
Comments
You could try defining your Nexus server as the mirror for everything ( |
It already is...
|
We are facing the same issue here. The (If we go back to 0.12 it works, probably because of #2203?) The normal build works fine but |
I hope that #2617 fix your problem |
fix: #2470 Use mirror to download dependencies if applicable
@famod @jycr I am also experiencing the same issue; however, I am on 0.16.0 which should contain the fix as outlined in #2617 . Prior to the
|
Could somebody of those experiencing the issue please verify whether the following helps?
Thanks. |
@aloubyansky looks like, even though I have my mirror defined in |
Same issue here with 0.16.1, only workaround is to set the in the project's pom. Issue should probably be re-opened |
@jycr did fix a related issue but not the one you are reporting here. So, yes, it's worth re-opening it. |
@rikcarve to set what in the pom? |
@dwamara setting an explicit |
@mgagliardo91 Thanks, just did and it worked. I just hope it will be fixed soon, I don't want to be touching all my poms to put the workaround in them. |
If anybody has a chance to try this change #2824 before it gets merged, I would highly appreciate it. Thanks a lot for your patience. |
@aloubyansky I tested #2824 locally and it appears to resolve the issue. |
Excellent. Thanks a lot @mgagliardo91 |
I merged the PR. Thanks everyone for the detailed reports and testing! |
The reported problem exists in v0.16.1 and I could workaround it with direct entry in my project pom.xml file. |
@ewcchan Yes, the fix is coming in a few hours with 0.17.0. |
@gsmet the issue is no longer shown and it is working with 0.17.0 release. Thanks! |
@ewcchan thanks for your confirmation! |
Good evening,
trying to work with Quarkus 0.15.0 from the office this afternoon, I realised that even though my Maven installation had our Nexus repository configured, Quarkus tried to download artefacts directly from Maven central, which didn't work as such a connection is prohibited at the office.
I thought that it was a misconfiguration of my Maven but working from home, also with Nexus as repository installed, the same behaviour happened and I can see if by taking a look at the output:
One can see that "quarkus:dev" seems to be the culprit.
Is my analysis of the problem correct? If yes, is there something to do to prevent this?
Regards,
Daniel W.
The text was updated successfully, but these errors were encountered: