Based on Jing.
This plugin takes one or more specified RelaxNG Schemas and outputs a simplified schema according to the Simplified RelaxNG Specification
This plugin does nothing by itself.
It just calls Jing to do the job.
You can find a sample utilisation project here : https://github.com/labo-jim/Maven-RelaxNg-simplifier-exemple
You can optionally use
OASIS XML Catalogs files
for URI resolutions via the catalogs/catalog
tags.
Here is an little exemple of plugin usage :
<execution>
<goals>...</goals>
<configuration>
<catalogs>
<catalog>my-catalog-file.xml</catalog>
</catalogs>
<schemas>
<schema>
<sourcePath>src/test/my-schema.rng</sourcePath>
<targetPath>src/test/simple.srng</targetPath>
<!-- paths are relative to project -->
</schema>
<schema>
<sourcePath>src/main/grammar.rng</sourcePath>
<!-- default targetPath is {sourcePath}.simplified.rng -->
</schema>
</schemas>
</configuration>
</execution>