michael-o commented on issue #277: [MNG-6732] - 
DefaultArtifactDescriptorReader.loadPom to check IGNORE_MISSING policy upon 
ArtifactTransferException
URL: https://github.com/apache/maven/pull/277#issuecomment-575800199
 
 
   > 
   > 
   > > I believe that the current code is broken and your PR simply reveals 
this bug.
   > 
   > I agree. The policy for the artifact should not have 
ArtifactDescriptorPolicy.IGNORE_MISSING. I see dependency setup is very normal. 
If the artifact is missing, the build should fail.
   > 
https://github.com/apache/maven-integration-testing/blob/master/core-it-suite/src/test/resources/mng-3470/pom.xml#L37
   
   The problem is that transfer is fine, the file is there, but checksum is 
intentionally wrong. So ignore missing does not apply here. It could be 
`IGNORE_INVALID`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to