forked from ASF-inhambane/dhis2docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
db-pom.xml
82 lines (82 loc) · 2.43 KB
/
db-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
<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.hisp.dhis</groupId>
<artifactId>dhis-documentation-docbook</artifactId>
<name>DHIS2 Documentation</name>
<version>2.22</version>
<description>DHIS 2 Documentation</description>
<packaging>pom</packaging>
<prerequisites>
<maven>3.0.0</maven>
</prerequisites>
<pluginRepositories>
<pluginRepository>
<id>docbkx.snapshots</id>
<name>Maven Plugin Snapshots</name>
<url>http://docbkx-tools.sourceforge.net/snapshots/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<properties>
<docbkx.plugin.version>2.0.15</docbkx.plugin.version>
<docbook.source>${project.basedir}/src/docbkx</docbook.source>
<docbook.target>${project.basedir}/target/site</docbook.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>${docbkx.plugin.version}</version>
<configuration>
<xincludeSupported>true</xincludeSupported>
</configuration>
<executions>
<execution>
<id>webhelp-docs-en</id>
<phase>package</phase>
<goals>
<goal>generate-webhelp</goal>
</goals>
<configuration>
<webhelpIndexerLanguage>en</webhelpIndexerLanguage>
<webhelpIncludeSearchTab>1</webhelpIncludeSearchTab>
<includes>content/database/schema.xml</includes>
<sourceDirectory>${docbook.source}/en/</sourceDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-fop-support</artifactId>
<version>${docbkx.plugin.version}</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<ansi>false</ansi>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>