~dhis2-documenters/dhis2/dhis2-docbook-docs-fr

« back to all changes in this revision

Viewing changes to pom.xml

  • Committer: jason-p-pickering
  • Date: 2010-09-07 04:24:14 UTC
  • Revision ID: jason-p-pickering-20100907042414-n7kbeques2fji97u
Initial commit of french language files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<project>
 
3
  <modelVersion>4.0.0</modelVersion>
 
4
  <groupId>org.hisp.dhis</groupId>
 
5
  <artifactId>dhis-documentation-docbook</artifactId>
 
6
  <name>DHIS 2 Documentation</name>
 
7
  <version>2.0.4-SNAPSHOT</version>
 
8
  <description>DHIS 2 Documentation</description>
 
9
  <packaging>pom</packaging>
 
10
 
 
11
  <properties>
 
12
    <docbook.source>${project.basedir}/src/docbkx</docbook.source>
 
13
    <docbook.target>${project.basedir}/target/site</docbook.target>
 
14
  </properties>
 
15
  <build>
 
16
    <plugins>
 
17
      <plugin>
 
18
        <groupId>com.agilejava.docbkx</groupId>
 
19
        <artifactId>docbkx-maven-plugin</artifactId>
 
20
        <version>2.0.10</version> 
 
21
        <configuration>
 
22
          <xincludeSupported>true</xincludeSupported>
 
23
        </configuration>
 
24
 
 
25
        <executions>
 
26
          <execution>
 
27
            <id>chunked-html-docs-en</id>
 
28
            <phase>package</phase>
 
29
            <goals>
 
30
              <goal>generate-html</goal>
 
31
            </goals>
 
32
            <configuration>
 
33
              <htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
 
34
              <glossaryCollection>resources/glossary_en.xml</glossaryCollection>
 
35
              <sectionAutolabel>1</sectionAutolabel>
 
36
              <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
 
37
              <chunkedOutput>true</chunkedOutput>
 
38
              <includes>dhis2_user_manual_en.xml</includes>
 
39
              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
 
40
              <postProcess>
 
41
                <copy todir="${docbook.target}/en/">
 
42
                  <fileset dir="target/docbkx/">
 
43
                    <include name="**/*.html"/>
 
44
                  </fileset>
 
45
                </copy>
 
46
                <copy todir="${docbook.target}/en/html/resources/images">
 
47
                  <fileset dir="src/docbkx/en/resources/images">
 
48
                    <include name="**/*.png"/>
 
49
                    <include name="**/*.gif"/>
 
50
                    <include name="**/*.jpg"/>
 
51
                  </fileset>
 
52
                </copy>
 
53
                <copy todir="${docbook.target}/en/html/resources/css">
 
54
                  <fileset dir="src/docbkx/en/resources/css">
 
55
                    <include name="**/*.css"/>
 
56
                  </fileset>
 
57
                </copy>
 
58
                <!-- delete the file to force the regeneration in the next phase -->
 
59
                <delete file="target/docbkx/html/dhis2_user_manual_en.html"/>
 
60
              </postProcess>
 
61
            </configuration>
 
62
          </execution>
 
63
          <execution>
 
64
            <id>html-docs-en</id>
 
65
            <phase>package</phase>
 
66
            <goals>
 
67
              <goal>generate-html</goal>
 
68
            </goals>
 
69
            <configuration>
 
70
              <htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
 
71
              <glossaryCollection>resources/glossary_en.xml</glossaryCollection>
 
72
              <sectionAutolabel>1</sectionAutolabel>
 
73
              <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
 
74
              <chunkedOutput>false</chunkedOutput>
 
75
              <includes>dhis2_user_manual_en.xml</includes>
 
76
              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
 
77
              <postProcess>
 
78
                <move file="target/docbkx/html/dhis2_user_manual_en.html" tofile="target/docbkx/html/dhis2_user_manual_full.html"/>
 
79
                <copy todir="${docbook.target}/en/">
 
80
                  <fileset dir="target/docbkx/">
 
81
                    <include name="**/dhis2_user_manual_full.html"/>
 
82
                  </fileset>
 
83
                </copy>
 
84
              </postProcess>
 
85
            </configuration>
 
86
          </execution>
 
87
          <execution>
 
88
            <id>pdf-docs-en</id>
 
89
            <phase>package</phase>
 
90
            <goals>
 
91
              <goal>generate-pdf</goal>
 
92
            </goals>
 
93
            <configuration>
 
94
              <argLine>-Xmx1024m</argLine>
 
95
              <foCustomization>${docbook.source}/en/resources/xsl/fop-cust.xsl</foCustomization>
 
96
              <doubleSided>1</doubleSided>
 
97
              <includes>*.xml</includes>
 
98
              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
 
99
              <postProcess>
 
100
                <copy todir="target/site/en">
 
101
                  <fileset dir="target/docbkx/">
 
102
                    <include name="**/*.pdf"/>
 
103
                  </fileset>
 
104
                </copy>
 
105
              </postProcess>
 
106
            </configuration>
 
107
          </execution>
 
108
          <execution>
 
109
            <id>xhtml-docs-en</id>
 
110
            <phase>package</phase>
 
111
            <goals>
 
112
              <goal>generate-xhtml</goal>
 
113
            </goals>
 
114
            <configuration>
 
115
              <includes>dhis2_user_manual_en.xml</includes>
 
116
              <sourceDirectory>${docbook.source}/en/</sourceDirectory>
 
117
              <xhtmlCustomization>${docbook.source}/en/resources/xsl/html-inline-help.xsl</xhtmlCustomization>
 
118
              <postProcess>
 
119
                <move file="target/docbkx/xhtml/dhis2_user_manual_en.xhtml" tofile="target/docbkx/xhtml/dhis2_user_manual_full.xhtml"/>
 
120
                <copy todir="${docbook.target}/en/">
 
121
                  <fileset dir="target/docbkx/">
 
122
                    <include name="**/dhis2_user_manual_full.xhtml"/>
 
123
                  </fileset>
 
124
                </copy>
 
125
              </postProcess>
 
126
            </configuration>
 
127
          </execution>
 
128
          <execution>
 
129
            <id>chunked-html-docs-vn</id>
 
130
            <phase>package</phase>
 
131
            <goals>
 
132
              <goal>generate-html</goal>
 
133
            </goals>
 
134
            <configuration>
 
135
              <htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
 
136
              <glossaryCollection>resources/glossary_vn.xml</glossaryCollection>
 
137
              <sectionAutolabel>1</sectionAutolabel>
 
138
              <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
 
139
              <chunkedOutput>true</chunkedOutput>
 
140
              <includes>dhis2_user_manual_vn.xml</includes>
 
141
              <sourceDirectory>${docbook.source}/vn/</sourceDirectory>
 
142
              
 
143
              <postProcess>
 
144
                <copy todir="${docbook.target}/vn/">
 
145
                  <fileset dir="target/docbkx/">
 
146
                    <include name="**/*.html"/>
 
147
                  </fileset>
 
148
                </copy>
 
149
                <copy todir="${docbook.target}/vn/html/resources/images">
 
150
                  <fileset dir="src/docbkx/vn/resources/images">
 
151
                    <include name="**/*.png"/>
 
152
                    <include name="**/*.gif"/>
 
153
                    <include name="**/*.jpg"/>
 
154
                  </fileset>
 
155
                </copy>
 
156
                <copy todir="${docbook.target}/vn/html/resources/css">
 
157
                  <fileset dir="src/docbkx/vn/resources/css">
 
158
                    <include name="**/*.css"/>
 
159
                  </fileset>
 
160
                </copy>
 
161
                <!-- delete the file to force the regeneration in the next phase -->
 
162
                <delete file="target/docbkx/html/dhis2_user_manual_vn.html"/>
 
163
              </postProcess>
 
164
            </configuration>
 
165
          </execution>
 
166
          <execution>
 
167
            <id>html-docs-vn</id>
 
168
            <phase>package</phase>
 
169
            <goals>
 
170
              <goal>generate-html</goal>
 
171
            </goals>
 
172
            <configuration>
 
173
              <htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
 
174
              <glossaryCollection>resources/glossary_vn.xml</glossaryCollection>
 
175
              <sectionAutolabel>1</sectionAutolabel>
 
176
              <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
 
177
              <chunkedOutput>false</chunkedOutput>
 
178
              <includes>dhis2_user_manual_vn.xml</includes>
 
179
              <sourceDirectory>${docbook.source}/vn/</sourceDirectory>
 
180
              <postProcess>
 
181
                <move file="target/docbkx/html/dhis2_user_manual_vn.html" tofile="target/docbkx/html/dhis2_user_manual_full.html"/>
 
182
                <copy todir="${docbook.target}/vn/">
 
183
                  <fileset dir="target/docbkx/">
 
184
                    <include name="**/dhis2_user_manual_full.html"/>
 
185
                  </fileset>
 
186
                </copy>
 
187
              </postProcess>
 
188
            </configuration>
 
189
          </execution>
 
190
          <execution>
 
191
            <id>pdf-docs-vn</id>
 
192
            <phase>package</phase>
 
193
            <goals>
 
194
              <goal>generate-pdf</goal>
 
195
            </goals>
 
196
            <configuration>
 
197
              <argLine>-Xmx1024m</argLine>
 
198
              <foCustomization>${docbook.source}/vn/resources/xsl/fop-cust.xsl</foCustomization>
 
199
              <doubleSided>1</doubleSided>
 
200
              <includes>*.xml</includes>
 
201
              <sourceDirectory>${docbook.source}/vn/</sourceDirectory>
 
202
              <postProcess>
 
203
                <copy todir="target/site/vn">
 
204
                  <fileset dir="target/docbkx/">
 
205
                    <include name="**/*.pdf"/>
 
206
                  </fileset>
 
207
                </copy>
 
208
              </postProcess>
 
209
            </configuration>
 
210
          </execution>
 
211
          <execution>
 
212
            <id>xhtml-docs-vn</id>
 
213
            <phase>package</phase>
 
214
            <goals>
 
215
              <goal>generate-xhtml</goal>
 
216
            </goals>
 
217
            <configuration>
 
218
              <includes>dhis2_user_manual_vn.xml</includes>
 
219
              <sourceDirectory>${docbook.source}/vn/</sourceDirectory>
 
220
              <xhtmlCustomization>${docbook.source}/vn/resources/xsl/html-inline-help.xsl</xhtmlCustomization>
 
221
              <postProcess>
 
222
                <move file="target/docbkx/xhtml/dhis2_user_manual_vn.xhtml" tofile="target/docbkx/xhtml/dhis2_user_manual_full.xhtml"/>
 
223
                <copy todir="${docbook.target}/vn/">
 
224
                  <fileset dir="target/docbkx/">
 
225
                    <include name="**/dhis2_user_manual_full.xhtml"/>
 
226
                  </fileset>
 
227
                </copy>
 
228
              </postProcess>
 
229
            </configuration>
 
230
          </execution>
 
231
        </executions>
 
232
 
 
233
        <dependencies>
 
234
          <dependency>
 
235
            <groupId>org.docbook</groupId>
 
236
            <artifactId>docbook-xml</artifactId>
 
237
            <version>4.4</version>
 
238
            <scope>runtime</scope>
 
239
          </dependency>
 
240
        </dependencies>
 
241
      </plugin>
 
242
 
 
243
    </plugins>
 
244
  </build>
 
245
</project>