-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpom.xml
87 lines (85 loc) · 2.47 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
<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>org.illumos.docs</groupId>
<artifactId>docbooks</artifactId>
<version>1.0-SNAPSHOT</version>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>com.thaiopensource</groupId>
<artifactId>jing</artifactId>
<version>20091111</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Configuration for validating books to RELAX NG schema -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<executableDependency>
<groupId>com.thaiopensource</groupId>
<artifactId>jing</artifactId>
</executableDependency>
<mainClass>com.thaiopensource.relaxng.util.Driver</mainClass>
<arguments>
<argument>src/rng/illumos.rng</argument>
<argument>raw/dtrace/dtrace.book</argument>
<argument>raw/lgrps/lgrps.book</argument>
<argument>raw/mdb/mdb.book</argument>
<argument>raw/wdd/wdd.book</argument>
<argument>raw/zfs-admin/zfs-admin.book</argument>
</arguments>
</configuration>
</plugin>
<!-- Configuration for building HTML using XSL -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
<configuration>
<transformationSets>
<transformationSet>
<dir>raw/</dir>
<includes>
<include>${target.book}/*.book</include>
</includes>
<outputDir>${target.outdir}</outputDir>
<stylesheet>src/xslt/transform.xsl</stylesheet>
<parameters>
<parameter>
<name>outdir</name>
<value>${target.outdir}</value>
</parameter>
</parameters>
</transformationSet>
</transformationSets>
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>9.6.0-6</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>