17
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20
<artifactId>keycloak-docs-parent</artifactId>
21
<groupId>org.keycloak</groupId>
22
<version>999.0.0-SNAPSHOT</version>
23
<relativePath>../pom.xml</relativePath>
26
<modelVersion>4.0.0</modelVersion>
28
<name>Keycloak Guides</name>
29
<artifactId>keycloak-guides</artifactId>
30
<description>Keycloak Guides</description>
32
<packaging>jar</packaging>
36
<groupId>org.keycloak</groupId>
37
<artifactId>keycloak-guides-maven-plugin</artifactId>
38
<version>${project.version}</version>
45
<artifactId>maven-compiler-plugin</artifactId>
48
<artifactId>maven-resources-plugin</artifactId>
49
<version>3.3.0</version>
53
<phase>validate</phase>
55
<goal>copy-resources</goal>
58
<outputDirectory>${basedir}/target/generated-docs/images</outputDirectory>
61
<directory>${basedir}/images</directory>
67
<id>copy-attributes</id>
68
<phase>validate</phase>
70
<goal>copy-resources</goal>
73
<outputDirectory>${basedir}/target/generated-guides/</outputDirectory>
76
<directory>${basedir}/</directory>
78
<include>attributes.adoc</include>
85
<id>copy-included-files</id>
86
<phase>validate</phase>
88
<goal>copy-resources</goal>
91
<outputDirectory>${basedir}/target/generated-guides/</outputDirectory>
94
<directory>${basedir}/</directory>
96
<include>**/examples/**/*.*</include>
97
<include>**/partials/**/*.*</include>
106
<groupId>org.keycloak</groupId>
107
<artifactId>keycloak-guides-maven-plugin</artifactId>
108
<version>${project.version}</version>
111
<id>generate-asciidoc</id>
113
<goal>keycloak-guide</goal>
116
<sourceDir>${project.basedir}</sourceDir>
122
<groupId>org.asciidoctor</groupId>
123
<artifactId>asciidoctor-maven-plugin</artifactId>
125
<sourceDocumentName>index.adoc</sourceDocumentName>
126
<backend>html5</backend>
127
<sourceHighlighter>coderay</sourceHighlighter>
132
<sectanchors>true</sectanchors>
134
<idseparator>-</idseparator>
135
<docinfo1>true</docinfo1>
136
<imagesdir>../images</imagesdir>
137
<attribute-missing>warn</attribute-missing>
141
<severity>ERROR</severity>
147
<id>server-asciidoc-to-html</id>
148
<phase>generate-resources</phase>
150
<goal>process-asciidoc</goal>
153
<sourceDirectory>${basedir}/target/generated-guides/server</sourceDirectory>
154
<outputDirectory>${project.build.directory}/generated-docs/server</outputDirectory>
158
<id>operator-asciidoc-to-html</id>
159
<phase>generate-resources</phase>
161
<goal>process-asciidoc</goal>
164
<sourceDirectory>${basedir}/target/generated-guides/operator</sourceDirectory>
165
<outputDirectory>${project.build.directory}/generated-docs/operator</outputDirectory>
169
<id>migration-asciidoc-to-html</id>
170
<phase>generate-resources</phase>
172
<goal>process-asciidoc</goal>
175
<sourceDirectory>${basedir}/target/generated-guides/migration</sourceDirectory>
176
<outputDirectory>${project.build.directory}/generated-docs/migration</outputDirectory>
180
<id>getting-started-asciidoc-to-html</id>
181
<phase>generate-resources</phase>
183
<goal>process-asciidoc</goal>
186
<sourceDirectory>${basedir}/target/generated-guides/getting-started</sourceDirectory>
187
<outputDirectory>${project.build.directory}/generated-docs/getting-started</outputDirectory>
191
<id>high-availability-asciidoc-to-html</id>
192
<phase>generate-resources</phase>
194
<goal>process-asciidoc</goal>
197
<sourceDirectory>${basedir}/target/generated-guides/high-availability</sourceDirectory>
198
<outputDirectory>${project.build.directory}/generated-docs/high-availability</outputDirectory>
204
<artifactId>maven-assembly-plugin</artifactId>
207
<descriptor>assembly.xml</descriptor>
212
<id>create-archive</id>
213
<phase>package</phase>