Closed GediminasVaistai closed 1 year ago
Hi,
I tried to use this maven-plugin, but it didn't produce any file or any other information. So how to use correctly this maven plugin at build time? Should I do something more than just place this code in pom.xml? How to activate this plugin?
<plugins> <plugin> <groupId>com.helger.maven</groupId> <artifactId>ph-schematron-maven-plugin</artifactId> <version>7.0.1</version> <executions> <execution> <goals> <goal>convert</goal> </goals> </execution> </executions> <configuration> <schematronDirectory>${basedir}/src/main/schematron</schematronDirectory> <xsltDirectory>${basedir}/src/main/xslt</xsltDirectory> <schematronPattern>**/*.xml</schematronPattern> </configuration> </plugin> </plugins> </build>`
That looks good in general. Try running mvn generate-resources to get it build (part of mvn package and mvn install).
mvn generate-resources
mvn package
mvn install
hth
Hi,
I tried to use this maven-plugin, but it didn't produce any file or any other information. So how to use correctly this maven plugin at build time? Should I do something more than just place this code in pom.xml? How to activate this plugin?