Skip to content

Instantly share code, notes, and snippets.

@dkowis
Created January 12, 2015 20:43
Show Gist options
  • Save dkowis/531f42262e05f47a071a to your computer and use it in GitHub Desktop.
Save dkowis/531f42262e05f47a071a to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<transformationSet>
<dir>xsd</dir>
<includes>
<include>wadl.sch</include>
</includes>
<stylesheet>xsl/iso-sch/iso_dsdl_include.xsl</stylesheet>
</transformationSet>
<transformationSet>
<dir>target/generated-resources/xml/xslt</dir>
<includes>
<include>wadl.sch</include>
</includes>
<stylesheet>xsl/iso-sch/iso_abstract_expand.xsl</stylesheet>
</transformationSet>
<transformationSet>
<dir>target/generated-resources/xml/xslt</dir>
<includes>
<include>wadl.sch</include>
</includes>
<stylesheet>xsl/iso-sch/iso_svrl_custom_xslt2.xsl</stylesheet>
<parameters>
<parameter>
<name>select-contexts</name>
<value>key</value>
</parameter>
</parameters>
<fileMappers>
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
<targetExtension>.xsl</targetExtension>
</fileMapper>
</fileMappers>
</transformationSet>
</transformationSets>
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>9.4.0-9</version>
</dependency>
</dependencies>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment