19
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<artifactId>keycloak-parent</artifactId>
23
<groupId>org.keycloak</groupId>
24
<version>999.0.0-SNAPSHOT</version>
25
<relativePath>../pom.xml</relativePath>
27
<modelVersion>4.0.0</modelVersion>
29
<artifactId>keycloak-services</artifactId>
30
<name>Keycloak REST Services</name>
34
<version.swagger.doclet>1.1.2</version.swagger.doclet>
35
<maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version>
36
<maven.compiler.release>17</maven.compiler.release>
37
<maven.compiler.source>17</maven.compiler.source>
38
<maven.compiler.target>17</maven.compiler.target>
43
<groupId>org.keycloak</groupId>
44
<artifactId>keycloak-core</artifactId>
47
<groupId>org.keycloak</groupId>
48
<artifactId>keycloak-core</artifactId>
53
<groupId>org.keycloak</groupId>
54
<artifactId>${keycloak.crypto.artifactId}</artifactId>
58
<groupId>org.freemarker</groupId>
59
<artifactId>freemarker</artifactId>
60
<scope>provided</scope>
63
<groupId>jakarta.mail</groupId>
64
<artifactId>jakarta.mail-api</artifactId>
67
<groupId>org.eclipse.angus</groupId>
68
<artifactId>angus-mail</artifactId>
71
<groupId>org.keycloak</groupId>
72
<artifactId>keycloak-common</artifactId>
75
<groupId>org.keycloak</groupId>
76
<artifactId>keycloak-server-spi</artifactId>
77
<scope>provided</scope>
80
<groupId>org.keycloak</groupId>
81
<artifactId>keycloak-server-spi-private</artifactId>
82
<scope>provided</scope>
85
<groupId>org.twitter4j</groupId>
86
<artifactId>twitter4j-core</artifactId>
90
<groupId>org.jboss.logging</groupId>
91
<artifactId>jboss-logging</artifactId>
94
<groupId>org.jboss.logging</groupId>
95
<artifactId>jboss-logging-annotations</artifactId>
96
<scope>provided</scope>
99
<groupId>org.jboss.logging</groupId>
100
<artifactId>jboss-logging-processor</artifactId>
101
<scope>provided</scope>
102
<optional>true</optional>
106
<groupId>org.jboss.resteasy</groupId>
107
<artifactId>resteasy-core</artifactId>
111
<groupId>io.quarkus.resteasy.reactive</groupId>
112
<artifactId>resteasy-reactive</artifactId>
113
<scope>provided</scope>
116
<groupId>io.quarkus.resteasy.reactive</groupId>
117
<artifactId>resteasy-reactive-common</artifactId>
118
<scope>provided</scope>
121
<groupId>org.apache.httpcomponents</groupId>
122
<artifactId>httpclient</artifactId>
123
<scope>provided</scope>
126
<groupId>jakarta.ws.rs</groupId>
127
<artifactId>jakarta.ws.rs-api</artifactId>
130
<groupId>jakarta.transaction</groupId>
131
<artifactId>jakarta.transaction-api</artifactId>
134
<groupId>jakarta.xml.soap</groupId>
135
<artifactId>jakarta.xml.soap-api</artifactId>
138
<groupId>org.jboss.resteasy</groupId>
139
<artifactId>resteasy-core-spi</artifactId>
142
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
143
<artifactId>owasp-java-html-sanitizer</artifactId>
146
<groupId>com.fasterxml.jackson.core</groupId>
147
<artifactId>jackson-core</artifactId>
150
<groupId>com.fasterxml.jackson.core</groupId>
151
<artifactId>jackson-databind</artifactId>
154
<groupId>com.fasterxml.jackson.core</groupId>
155
<artifactId>jackson-annotations</artifactId>
158
<groupId>javax.annotation</groupId>
159
<artifactId>javax.annotation-api</artifactId>
162
<groupId>com.fasterxml.jackson.datatype</groupId>
163
<artifactId>jackson-datatype-jdk8</artifactId>
166
<groupId>com.fasterxml.woodstox</groupId>
167
<artifactId>woodstox-core</artifactId>
168
<version>${woodstox.version}</version>
172
<groupId>com.google.zxing</groupId>
173
<artifactId>javase</artifactId>
176
<groupId>org.keycloak</groupId>
177
<artifactId>keycloak-saml-core-public</artifactId>
178
<scope>provided</scope>
181
<groupId>org.keycloak</groupId>
182
<artifactId>keycloak-saml-core</artifactId>
183
<scope>provided</scope>
186
<groupId>commons-io</groupId>
187
<artifactId>commons-io</artifactId>
188
<scope>provided</scope>
191
<groupId>junit</groupId>
192
<artifactId>junit</artifactId>
196
<groupId>org.hamcrest</groupId>
197
<artifactId>hamcrest</artifactId>
201
<groupId>com.icegreen</groupId>
202
<artifactId>greenmail</artifactId>
206
<groupId>org.slf4j</groupId>
207
<artifactId>slf4j-api</artifactId>
212
<groupId>com.webauthn4j</groupId>
213
<artifactId>webauthn4j-core</artifactId>
216
<groupId>com.github.ua-parser</groupId>
217
<artifactId>uap-java</artifactId>
220
<groupId>org.eclipse.microprofile.openapi</groupId>
221
<artifactId>microprofile-openapi-api</artifactId>
224
<groupId>io.smallrye.common</groupId>
225
<artifactId>smallrye-common-annotation</artifactId>
228
<groupId>org.keycloak</groupId>
229
<artifactId>keycloak-model-storage-private</artifactId>
236
<groupId>org.apache.maven.plugins</groupId>
237
<artifactId>maven-compiler-plugin</artifactId>
240
-AgeneratedTranslationFilesPath=${project.build.directory}/generated-translation-files
249
<id>jboss-release</id>
254
<artifactId>maven-resources-plugin</artifactId>
257
<id>copy-resources</id>
258
<phase>validate</phase>
260
<goal>copy-resources</goal>
263
<outputDirectory>target/docs</outputDirectory>
266
<directory>src/docs</directory>
267
<filtering>true</filtering>
273
<id>copy-raw-openapi-definition</id>
274
<phase>package</phase>
276
<goal>copy-resources</goal>
279
<outputDirectory>${project.basedir}/target/apidocs-rest/output</outputDirectory>
282
<directory>${project.build.directory}/apidocs-rest/swagger/apidocs</directory>
284
<include>**/openapi.yaml</include>
285
<include>**/openapi.json</include>
289
<overwrite>true</overwrite>
295
<groupId>io.smallrye</groupId>
296
<artifactId>smallrye-open-api-maven-plugin</artifactId>
298
<scanProfiles>admin</scanProfiles>
299
<outputDirectory>${project.build.directory}/apidocs-rest/swagger/apidocs</outputDirectory>
300
<infoTitle>Keycloak Admin REST API</infoTitle>
301
<infoDescription>This is a REST API reference for the Keycloak Admin REST API.</infoDescription>
306
<goal>generate-schema</goal>
312
<groupId>org.openapitools</groupId>
313
<artifactId>openapi-generator-maven-plugin</artifactId>
316
<id>generate-ascii-docs</id>
317
<phase>prepare-package</phase>
319
<goal>generate</goal>
323
<apiDocs>true</apiDocs>
324
<apiModels>true</apiModels>
325
<apiTests>false</apiTests>
326
<modelTests>false</modelTests>
327
<verbose>false</verbose>
329
<inputSpec>${project.build.directory}/apidocs-rest/swagger/apidocs/openapi.yaml</inputSpec>
330
<output>${project.basedir}/target/docs/asciidoc/</output>
331
<generatorName>asciidoc</generatorName>
332
<generateApiDocumentation>true</generateApiDocumentation>
333
<generateModelDocumentation>true</generateModelDocumentation>
334
<generateSupportingFiles>true</generateSupportingFiles>
335
<groupId>${project.groupId}</groupId>
336
<artifactId>${project.artifactId}</artifactId>
337
<templateDirectory>src/docs/openapi-generator-templates/keycloak-admin-api</templateDirectory>
339
<useIntroduction>true</useIntroduction>
340
<delegatePattern>false</delegatePattern>
341
<useMethodAndPath>true</useMethodAndPath>
342
<prependFormOrBodyParameters>false</prependFormOrBodyParameters>
343
<skipExamples>true</skipExamples>
345
<skipValidateSpec>true</skipValidateSpec>
352
<groupId>org.asciidoctor</groupId>
353
<artifactId>asciidoctor-maven-plugin</artifactId>
356
<id>generate-docs</id>
357
<phase>package</phase>
359
<goal>process-asciidoc</goal>
362
<sourceDirectory>${project.basedir}/target/docs/asciidoc</sourceDirectory>
363
<sourceDocumentName>index.adoc</sourceDocumentName>
364
<outputDirectory>${project.basedir}/target/apidocs-rest/output</outputDirectory>
365
<backend>html5</backend>
371
<toc-position>left</toc-position>
372
<generated>${project.basedir}/target/apidocs-rest/asciidoc</generated>
374
<project_community>true</project_community>
375
<project_product>false</project_product>
396
<groupId>org.asciidoctor</groupId>
397
<artifactId>asciidoctor-maven-plugin</artifactId>
400
<id>generate-docs</id>
401
<phase>package</phase>
403
<goal>process-asciidoc</goal>
405
<configuration combine.children="append">
406
<attributes combine.children="append">
407
<project_community>false</project_community>
408
<project_product>true</project_product>