-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
245 lines (245 loc) · 13.6 KB
/
pom.xml
File metadata and controls
245 lines (245 loc) · 13.6 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<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">
<groupId>com.netapp.openstack.docs</groupId>
<artifactId>pom</artifactId>
<version>juno</version>
<modelVersion>4.0.0</modelVersion>
<name>NetApp and OpenStack: Deployment and Operations Guide - </name>
<!-- ################################################## -->
<!-- USE "mvn clean generate-resources" to run this POM -->
<!-- ################################################## -->
<build>
<plugins>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.15</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>generate-pdf</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>5.0-all</version>
<type>zip</type>
<classifier>resources</classifier>
</dependency>
<dependency>
<groupId>net.sf.offo</groupId>
<artifactId>fop-hyph</artifactId>
<version>1.2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<generateToc>
appendix title
article/appendix nop
article toc,title
book toc,title,figure,table
chapter title
section toc
</generateToc>
<bodyFontFamily>Arial</bodyFontFamily>
<fonts>
<font>
<name>Arial</name>
<style>normal</style>
<weight>normal</weight>
<embedFile>${basedir}/src/fonts/Arial.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-metrics.xml</metricsFile>
</font>
<font>
<name>Arial</name>
<style>italic</style>
<weight>normal</weight>
<embedFile>${basedir}/src/fonts/Arial-Italic.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-Italic-metrics.xml</metricsFile>
</font>
<font>
<name>Arial</name>
<style>normal</style>
<weight>bold</weight>
<embedFile>${basedir}/src/fonts/Arial-Bold.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-Bold-metrics.xml</metricsFile>
</font>
<font>
<name>Arial</name>
<style>italic</style>
<weight>bold</weight>
<embedFile>${basedir}/src/fonts/Arial-Bold-Italic.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-Bold-Italic-metrics.xml</metricsFile>
</font>
</fonts>
<foCustomization>foCustomization.xsl</foCustomization>
<hyphenate>false</hyphenate>
<headerRule>0</headerRule>
<footerRule>0</footerRule>
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
<sectionAutolabel>1</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
<xincludeSupported>true</xincludeSupported>
<sourceDirectory>.</sourceDirectory>
<includes>bk-deployment-ops-guide.xml</includes>
<showXslMessages>true</showXslMessages>
<admonGraphics>1</admonGraphics>
<admonGraphicsExtension>.jpg</admonGraphicsExtension>
<admonGraphicsPath>images/</admonGraphicsPath>
<linenumberingExtension>true</linenumberingExtension>
<calloutGraphicsExtension>.png</calloutGraphicsExtension>
<calloutGraphicsNumberLimit>15</calloutGraphicsNumberLimit>
<!--<ulinkShow>0</ulinkShow>-->
</configuration>
</plugin>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-fop-support</artifactId>
<version>2.0.15</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<ansi>true</ansi>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.rackspace.cloud.api</groupId>
<artifactId>clouddocs-maven-plugin</artifactId>
<version>2.0.3</version>
<executions>
<execution>
<id>generate-webhelp</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<enableDisqus>false</enableDisqus>
<enableGoogleAnalytics>1</enableGoogleAnalytics>
<googleAnalyticsId>UA-51693000-1</googleAnalyticsId>
<googleAnalyticsDomain>netapp.github.io</googleAnalyticsDomain>
<generateToc>
appendix toc,title
article/appendix nop
article toc,title
book toc,title,figure,table,example,equation
chapter toc,title
section toc
part toc,title
qandadiv toc
qandaset toc
reference toc,title
set toc,title
</generateToc>
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
</configuration>
</execution>
</executions>
<configuration>
<bodyFontFamily>Arial</bodyFontFamily>
<fonts>
<font>
<name>Arial</name>
<style>normal</style>
<weight>normal</weight>
<embedFile>${basedir}/src/fonts/Arial.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-metrics.xml</metricsFile>
</font>
<font>
<name>Arial</name>
<style>italic</style>
<weight>normal</weight>
<embedFile>${basedir}/src/fonts/Arial-Italic.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-Italic-metrics.xml</metricsFile>
</font>
<font>
<name>Arial</name>
<style>normal</style>
<weight>bold</weight>
<embedFile>${basedir}/src/fonts/Arial-Bold.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-Bold-metrics.xml</metricsFile>
</font>
<font>
<name>Arial</name>
<style>italic</style>
<weight>bold</weight>
<embedFile>${basedir}/src/fonts/Arial-Bold-Italic.ttf</embedFile>
<metricsFile>${basedir}/target/fonts/Arial-Bold-Italic-metrics.xml</metricsFile>
</font>
</fonts>
<foCustomization>foCustomization.xsl</foCustomization>
<hyphenate>false</hyphenate>
<headerRule>0</headerRule>
<footerRule>0</footerRule>
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
<sectionAutolabel>1</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
<xincludeSupported>true</xincludeSupported>
<sourceDirectory>.</sourceDirectory>
<includes>bk-deployment-ops-guide.xml</includes>
<showXslMessages>true</showXslMessages>
<linenumberingExtension>true</linenumberingExtension>
<calloutGraphicsExtension>.png</calloutGraphicsExtension>
<calloutGraphicsNumberLimit>15</calloutGraphicsNumberLimit>
<branding>netapp</branding>
<makePdf>false</makePdf>
<pdfUrl>http://netapp.github.io/openstack-deploy-ops-guide/${project.version}/openstack-deployment-ops-guide.pdf</pdfUrl>
<highlightSource>true</highlightSource>
<failOnValidationError>no</failOnValidationError>
<preProcess>
<copy todir="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide/content/images">
<fileset dir="${basedir}/images">
<include name="na_logo_hrz_2c_rgb.png"/>
<include name="favicon-netapp.ico"/>
</fileset>
</copy>
<copy todir="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide/common/">
<fileset dir="${basedir}/src">
<include name="**/*.js"/>
</fileset>
</copy>
<copy todir="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide/common/css">
<fileset dir="${basedir}/src">
<include name="**/*.css"/>
</fileset>
</copy>
<move file="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide/content/images/na_logo_hrz_2c_rgb.png" tofile="target/docbkx/webhelp/bk-deployment-ops-guide/common/images/netapp-logo.png" failonerror="false"/>
<move file="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide/content/images/favicon-netapp.ico" tofile="target/docbkx/webhelp/bk-deployment-ops-guide/common/images/favicon-netapp.ico" failonerror="false"/>
</preProcess>
<postProcess>
<copy todir="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide-external/">
<fileset dir="${basedir}/target/docbkx/pdf">
<include name="**/*.pdf"/>
</fileset>
</copy>
<move file="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide-external/bk-deployment-ops-guide.pdf" tofile="target/docbkx/webhelp/bk-deployment-ops-guide-external/openstack-deployment-ops-guide.pdf" failonerror="false"/>
<replace dir="${basedir}/target/docbkx/webhelp/bk-deployment-ops-guide-external/content">
<include name="**/*.html"/>
<replacefilter token="Rackspace Manuals" value="OpenStack @ NetApp"/>
<replacefilter token="Rackspace Documentation" value="NetApp Documentation"/>
<replacefilter token="http://docs.rackspace.com/api/" value="http://www.netapp.com/openstack"/>
<replacefilter token="http://www.rackspace.com" value="http://www.netapp.com"/>
<replacefilter token="width="157" height="47"" value=""/>
</replace>
</postProcess>
</configuration>
</plugin>
</plugins>
</build>
</project>