-
Notifications
You must be signed in to change notification settings - Fork 107
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
Spurious failure due to too strict error checking for artifact resolution #284
Comments
Thanks for reporting this issue. Yes, you are right. The javadoc for the
I will only log exception and not break the build |
siom79
added a commit
that referenced
this issue
Mar 6, 2021
… logged, the build is not broken #283 the ignoreMissingArtifact option is evaluated properly when the artifact is missing
Fixed: 0.15.3 |
That worked! Thanks for the quick release! |
This was referenced Mar 15, 2021
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
First, thanks for making japicmp!
I have a pom with multiple repositories. One, of the repositories is inaccessible. The old version artifact is available from a repository further down the list. Maven's normal dependency resolution logic is fine with that, but japicmp is breaking the build. I think the problem is that the check at [1] is to strict. It checks if any errors occurred. In this case some errors occurred but the artifact was still resolved successfully. I think that line should just check if the artifact was resolved successfully. I've included below the debug output from maven which shows a successful download of the the old version artifact, and then japicmp breaking the build because it couldn't download the old version artifact.
Regards,
Evan
[1]
japicmp/japicmp-maven-plugin/src/main/java/japicmp/maven/JApiCmpMojo.java
Line 226 in f0f8452
The text was updated successfully, but these errors were encountered: