-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
MNG-7758 workaround #1095
base: master
Are you sure you want to change the base?
MNG-7758 workaround #1095
Conversation
…wing whether there are other exceptions or not
Here is a non-sense exception message since it uses only the the first result and the first exception:
Message w/o the patch:
No word about the second missing dependency. |
Why are ITs failing? |
Explanation provided above. |
Am really unsure about all this: IMHO it is completely enough for resolver to state "unable to resolve GAV" (something that is absent or present in local repo, and that message is already present), instead to go great lengths and try to figure out instead of user. As you listed, there are MANY tricky situations, like lack oof (or wrong) auth credentials, but again, that does NOT guarantee that if fixed, artifact will be resolved. IMHO, we should just increase the level of logged causes (maybe even for all tried repositories) and let user figure out? |
This is why I have asked. How should be an absent dependency defined? Only not found or anything else too? That is why this is a draft. |
This has been intentionally broken up into two commits/issues:
ArtifactResult
. No more first wins.Two IT failures:
file:target/null
) , the behavioral change is that the POM is now considered missing and the JAR fails. Previously, it failed already with the POM.file:target/null
).See output: https://gist.github.com/michael-o/c9932567ac004a30021d44a464a37dbf
One of the general questions is: When is an artifact consindered not to be found? When ALL repos say not found, or is one sufficient? What if one repo is technically offline which could or could not contain it, then rest does not contain? Why fail the build?
Important reads:
Let me know what you think.