-
Notifications
You must be signed in to change notification settings - Fork 214
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
Daemon forgets about maven settings on reuse #490
Comments
mvnd still sometimes downloads from maven central instead of our nexus. It works fine on a small project (7 modules). I run with
|
Same issue here with mvnd 0.6.0; we apply such settings with an |
Unfortunately still happening with
(But I guess that was to be expected, given the 👍 ) |
The 👍 was mainly about the analysis : the fact that an |
Can confirm, we also use |
@rkraneis @Postremus I can't reproduce the problem with |
We also see the issue 0.7.1. |
The issue seems to happen only in multi module projects. |
I get the same problem using Anyways, I cloned the project and did some debugging (on the 0.7.1 release commit using the GraalVM 11 jdk), here what I found out: On the first request (I executed a While on the second request (another This means that once it enters the configure method (on the second request) it thinks that the user has provided a custom processor and it looks for a processor which isn't a SettingsXmlConfigurationProcessor, but since both of them are, none of the processors get executed: So, I was wondering why on the second round a new settings processor shows up. I saw that the configurationProcessors map is a Now, I don't have much overview on the project and on Plexus/Sisu, so I don't know if simply removing duplicate processors from the Map could be the right solution, or if this is a sign of a "broader" problem (maybe of how classes are being loaded). I hope this gives some more info on the problem. Edit: I attach the quarkus quickstart project so it's not necessary to have quarkus installed. |
I get the same problem using |
Has this problem been solved? I am 0.9.0 and still have qualified extra puzzles |
A PR with an integration test would be really nice to diagnose / debug this issue... |
@Min-200 Can you provide a simple reproducer project with basic instructions ? |
Is there a parameter that will allow me to stop the daemon if the mvnd build fails |
no |
That's somewhat related to #374. |
I have a custom settings.xml which points to our company nexus.
On first start of the daemon, the settings get applied. Dependencies are downloaded from nexus.
On subsequent uses of the daemon however, the mirrors setting is not getting used. The daemon tries to download from maven central.
I now have to
mvnd --stop
, and then run the build again.Log from subsequent runs:
Settings.xml:
My mvnd.properties:
The text was updated successfully, but these errors were encountered: