-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
102 lines (102 loc) · 4.71 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.galtm</groupId>
<artifactId>xspectacles</artifactId>
<version>0.1.0-SNAPSHOT</version>
<name>XSpectacles</name>
<description>Examples from https://medium.com/@xspectacles</description>
<scm>
<url>https://github.com/galtm/xspectacles</url>
<developerConnection>scm:git:https://github.com/galtm/xspectacles</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<saxon.version>12.4</saxon.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<version>1.1.0</version>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<transformationSet>
<dir>src/sch-in-relaxng/rng</dir>
<stylesheet>src/sch-in-relaxng/lib-dmj/extract-schematron.xsl</stylesheet>
<fileMappers>
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
<targetExtension>.sch</targetExtension>
</fileMapper>
</fileMappers>
</transformationSet>
</transformationSets>
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>${saxon.version}</version>
</dependency>
</dependencies>
</plugin>
<!-- "mvn test" runs XSpec tests -->
<!-- https://github.com/nkutsche/xspec-maven-plugin does not seem to have
the issue logged in https://github.com/xspec/xspec-maven-plugin-1/issues/65 -->
<plugin>
<groupId>com.nkutsche</groupId>
<artifactId>xspec-maven-plugin</artifactId>
<version>2.0.1</version>
<executions>
<execution>
<id>run-xspec</id>
<goals>
<goal>run-xspec</goal>
</goals>
<phase>test</phase>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>${saxon.version}</version>
</dependency>
<dependency>
<groupId>io.xspec</groupId>
<artifactId>xspec</artifactId>
<version>3.1.2</version>
<classifier>enduser-files</classifier>
<type>zip</type>
</dependency>
</dependencies>
<configuration>
<addDependenciesToClasspath>true</addDependenciesToClasspath>
<generateSurefireReport>true</generateSurefireReport>
<testDir>${project.basedir}/src</testDir>
<excludes>
<!-- Exclude tests that fail deliberately. -->
<exclude>pending/pending-error-xq.xspec</exclude>
<exclude>schxslt-in-xspec/schxslt-in-xspec-mistakes.xspec</exclude>
<exclude>space-actual/problem/space-actual-problem.xspec</exclude>
<exclude>space-actual/problem-variation/space-actual-problem.xspec</exclude>
<!-- Exclude tests that run only with BaseX -->
<exclude>ixml/ixml-design1.xspec</exclude>
<exclude>ixml/ixml-design2.xspec</exclude>
<exclude>relaxng/relaxng-test.xspec</exclude>
<exclude>helper-comments-xquf/helper-remove-comments-xquf.xspec</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>