add standart plugin

This commit is contained in:
etreschenkov 2022-10-12 16:59:22 +03:00
parent ab407edb8c
commit 5323229c29

View file

@ -94,6 +94,37 @@
<finalName>${project.artifactId}</finalName>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<transformationSet>
<dir>src/data/meta</dir>
<excludes>
<exclude>src/data/meta/meta.server.html</exclude>
<exclude>src/data/meta/meta.server.json</exclude>
<exclude>src/data/meta/meta.server.xslt</exclude>
</excludes>
<stylesheet>src/data/meta/meta.server.xslt</stylesheet>
<fileMappers>
<fileMapper
implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
<targetExtension>.json</targetExtension>
</fileMapper>
</fileMappers>
</transformationSet>
</transformationSets>
</configuration>
</plugin>
</plugins>
</build>
</project>