michael-o commented on pull request #645:
URL: https://github.com/apache/maven/pull/645#issuecomment-1003602899


   > Both issues are correct but are rather follow-ups to 
[MNG-7375](https://issues.apache.org/jira/browse/MNG-7375). My question is 
about how to deal with a missing prefix within `Metadata.merge` (this can 
happen even if the XSD would say it is mandatory, e.g. by a bug like in this 
case through `staging-maven-plugin`). Would a validator really prevent `null` 
being passed to `Metadata.merge`?
   
   The validator would fail the build with an appropriate error message before 
anything being merged. I.e., source and target are validated upfront before 
merge happens.


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