slachiewicz opened a new pull request, #196:
URL: https://github.com/apache/maven-resolver-ant-tasks/pull/196

   When `settings.xml` cannot be parsed, `AntRepoSys.getSettings()` logs a 
warning and leaves the settings `null`, so the decryption step right after it 
throws a `NullPointerException`. It now continues with empty settings, which is 
what the warning already promises.
   
   Found while porting to the Maven 4 API; part of apache/maven#13309.
   
   Verified: the new `testUnreadableSettingsAreIgnored` fails without the fix 
with `Cannot invoke "Settings.getServers()" because "this.settings" is null`.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to