updated POM to actually copy XML

This commit is contained in:
Jochen Stärk
2020-06-18 17:48:09 +02:00
parent c6486a0a62
commit b5006c3161

View File

@@ -126,7 +126,7 @@
</pluginManagement> </pluginManagement>
<plugins> <plugins>
<!-- be able to generate XSLT from XRechnung Schematron--> <!-- be able to generate XSLT from XRechnung Schematron-->
<plugin> <!--plugin>
<groupId>com.helger.maven</groupId> <groupId>com.helger.maven</groupId>
<artifactId>ph-schematron-maven-plugin</artifactId> <artifactId>ph-schematron-maven-plugin</artifactId>
<version>5.6.0</version> <version>5.6.0</version>
@@ -141,7 +141,8 @@
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin -->
<!-- allow getImplementationVersion for the pom.xml --> <!-- allow getImplementationVersion for the pom.xml -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@@ -240,18 +241,18 @@
<executions> <executions>
<execution> <execution>
<id>copy-zf-schematron-xml-dependencies</id> <id>copy-zf-schematron-xml-dependencies</id>
<phase>validate</phase> <phase>compile</phase>
<goals> <goals>
<goal>copy-resources</goal> <goal>copy-resources</goal>
</goals> </goals>
<configuration> <configuration>
<outputDirectory>${basedir}/xslt/ZF_211/</outputDirectory> <outputDirectory>${basedir}/src/main/resources/xslt/ZF_211/</outputDirectory>
<resources> <resources>
<resource> <resource>
<directory>/schematron/ZF_211/</directory> <directory>${basedir}/src/main/resources/schematron/ZF_211/</directory>
<includes> <includes>
<include>*.xml</include> <include>**/*.xml</include>
</includes> </includes>
</resource> </resource>
</resources> </resources>