-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
103 lines (101 loc) · 3.85 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.umd.mith.mishnah</groupId>
<artifactId>mishnah</artifactId>
<version>0.1</version>
<name>Digital Mishnah</name>
<packaging>pom</packaging>
<modules>
<module>validation</module>
<module>cocoon</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<phase>validate</phase>
<id>install-saxon9he</id>
<configuration>
<file>${basedir}/lib/saxon9he.jar</file>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon</artifactId>
<version>9.2</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
</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>${basedir}/data/odd/</dir>
<includes>
<include>mishnah-reference.odd</include>
</includes>
<excludes>
<exclude>mishnah-witness.odd</exclude>
</excludes>
<stylesheet>${basedir}/cocoon/text/src/main/resources/roma/xsl/odds2/odd2odd.xsl</stylesheet>
<fileMappers>
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
<pattern>\.odd$</pattern>
<replacement>.odd-simple.xml</replacement>
</fileMapper>
</fileMappers>
<outputDir>${basedir}/data/derivative/odd</outputDir>
</transformationSet>
<transformationSet>
<dir>${basedir}/data/derivative/odd</dir>
<stylesheet>${basedir}/cocoon/text/src/main/resources/roma/xsl/odds2/odd2relax.xsl</stylesheet>
<fileMappers>
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
<pattern>\.odd-simple\.xml$</pattern>
<replacement>.rng</replacement>
</fileMapper>
</fileMappers>
<outputDir>${basedir}/data/derivative/rng</outputDir>
</transformationSet>
<transformationSet>
<dir>${basedir}/data/derivative/odd</dir>
<stylesheet>${basedir}/cocoon/text/src/main/resources/roma/xsl/odds2/extract-isosch.xsl</stylesheet>
<fileMappers>
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
<pattern>\.odd-simple\.xml$</pattern>
<replacement>.isosch</replacement>
</fileMapper>
</fileMappers>
<outputDir>${basedir}/data/derivative/isosch</outputDir>
</transformationSet>
</transformationSets>
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon</artifactId>
<version>9.2</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>