-
Notifications
You must be signed in to change notification settings - Fork 201
/
pom.xml
229 lines (221 loc) · 11.6 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
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Hibernate OGM, Domain model persistence for NoSQL datastores
~
~ License: GNU Lesser General Public License (LGPL), version 2.1 or later
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-parent</artifactId>
<version>5.0.0.Final</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>hibernate-ogm-documentation-manual</artifactId>
<packaging>jdocbook</packaging>
<name>Hibernate OGM Manual</name>
<description>The Hibernate OGM reference manual</description>
<properties>
<!-- Skip artifact deployment -->
<maven.deploy.skip>true</maven.deploy.skip>
<docname>master</docname>
<bookname>Hibernate OGM</bookname>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>filter-asciidoc-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/asciidoc-prepared</outputDirectory>
<resources>
<resource>
<directory>src/main/asciidoc</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<executions>
<execution>
<id>create-docbook-xml</id>
<phase>process-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
</execution>
</executions>
<configuration>
<sourceDirectory>${project.build.directory}/asciidoc-prepared/en-US</sourceDirectory>
<sourceDocumentName>master.asciidoc</sourceDocumentName>
<outputDirectory>${basedir}/target/docbook/en-US</outputDirectory>
<headerFooter>true</headerFooter>
<compact>false</compact>
<imagesDir>images</imagesDir>
<toc>true</toc>
<backend>docbook</backend>
<doctype>book</doctype>
<goalPrefix>asciidoctor</goalPrefix>
<sourceHighlighter>highlightjs</sourceHighlighter>
<attributes>
<idprefix />
<sectanchors>true</sectanchors>
<toclevels>3</toclevels>
<numbered>true</numbered>
<icons>font</icons>
<docinfo>true</docinfo>
<experimental>true</experimental>
<hibernate-ogm-version>${project.version}</hibernate-ogm-version>
<hibernate-ogm-module-slot>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}</hibernate-ogm-module-slot>
<hibernate-orm-version>${hibernateVersion}</hibernate-orm-version>
<hibernate-search-version>${hibernateSearchVersion}</hibernate-search-version>
<hibernate-search-module-slot>${hibernate-search.module.slot}</hibernate-search-module-slot>
<hibernate-search-major-minor-version>${hibernate-search-major-minor-version}</hibernate-search-major-minor-version>
<infinispan-version>${infinispanVersion}</infinispan-version>
<jboss-jta-version>${narayanaVersion}</jboss-jta-version>
<ehcache-version>${ehcacheVersion}</ehcache-version>
<mongodb-version>${mongodbVersion}</mongodb-version>
</attributes>
</configuration>
</plugin>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<executions>
<execution>
<!--
here we are attaching the translate goal so that the translations are processed
before compilation so that the translated XML is also transformed during
generation
-->
<phase>process-resources</phase>
<goals>
<goal>translate</goal>
</goals>
</execution>
</executions>
<configuration>
<sourceDirectory>${project.basedir}/target/docbook</sourceDirectory>
<sourceDocumentName>master.xml</sourceDocumentName>
<masterTranslation>en-US</masterTranslation>
<translations>
<!-- <translation>de-DE</translation>
<translation>es-ES</translation>
<translation>fr-FR</translation>
<translation>ja-JP</translation>
<translation>pt-BR</translation>
<translation>zh-CN</translation> -->
</translations>
<imageResource>
<directory>${basedir}/src/main/asciidoc/en-US</directory>
<excludes>
<exclude>*.xml</exclude>
<exclude>*.asciidoc</exclude>
<exclude>**/*.asciidoc</exclude>
<exclude>*.ent</exclude>
<exclude>**/*.xml</exclude>
<exclude>*.zargo</exclude>
<exclude>**/*.zargo</exclude>
<exclude>**/*.graffle</exclude>
</excludes>
</imageResource>
<formats>
<format>
<formatName>html_single</formatName>
<stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>html</formatName>
<stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
<format>
<formatName>pdf</formatName>
<!-- stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/pdf.xsl</stylesheetResource -->
<stylesheetResource>classpath:/xslt/org/jboss/pressgang/pdf.xsl</stylesheetResource>
<finalName>hibernate_ogm_reference.pdf</finalName>
</format>
</formats>
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
<!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
<!-- could also locate the docbook dependency and inspect its version... -->
<!-- docbookVersion>1.72.0</docbookVersion -->
<localeSeparator>-</localeSeparator>
<applyStandardInjectionValues>false</applyStandardInjectionValues>
<transformerParameters>
<html.googleAnalyticsId>UA-45270411-3</html.googleAnalyticsId>
<html.googleTagManagerId>GTM-NJWS5L</html.googleTagManagerId>
<html.googleTagManagerChannel>Hibernate</html.googleTagManagerChannel>
</transformerParameters>
</options>
<!-- Always need an "injections" element to avoid an NPE in the maven-jdocbook-plugin -->
<injections />
<!-- profiling>
<enabled>true</enabled>
</profiling -->
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<versionRange>[0.1.3,)</versionRange>
<goals>
<goal>process-asciidoc</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<versionRange>[2.3.4,)</versionRange>
<goals>
<goal>generate</goal>
<goal>resources</goal>
<goal>translate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>