mojohaus / xml-maven-plugin

XML Maven Plugin
https://www.mojohaus.org/xml-maven-plugin/
Apache License 2.0
23 stars 21 forks source link

Fixed #19 (New 'catalogHandling' setting) #30

Closed rosslamont closed 7 years ago

rosslamont commented 7 years ago

Justification: Current implementation will resolve entities that are not in a catalog by resolving system / public id URLs. This introduces external build dependencies which are non-deterministic as those resources can change or be hacked. Solution: Introduce new 'catalogHandling' setting which allows the developer to control how a catalog miss is handled. Options are 'passThrough' (default , current behaviour), 'local' (resolve local file or relative URLS), 'strict' (fail any catalog miss).

rosslamont commented 7 years ago

Most of the changes are additional test files and documentation.

jochenw commented 7 years ago

Applied, thank you!