2015-07-17 11:45:43 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +00:00
|
|
|
<!--
|
|
|
|
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
|
|
|
~ and other contributors as indicated by the @author tags.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2015-07-17 11:45:43 +00:00
|
|
|
<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">
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2023-03-03 10:11:44 +00:00
|
|
|
<version>999.0.0-SNAPSHOT</version>
|
2015-07-17 11:45:43 +00:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>keycloak-services</artifactId>
|
|
|
|
<name>Keycloak REST Services</name>
|
|
|
|
<description />
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-core</artifactId>
|
|
|
|
</dependency>
|
2022-06-29 05:17:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>${keycloak.crypto.artifactId}</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
2016-01-19 16:33:59 +00:00
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
|
<scope>provided</scope>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
2023-01-19 12:10:19 +00:00
|
|
|
<dependency>
|
2023-03-24 11:23:37 +00:00
|
|
|
<groupId>jakarta.mail</groupId>
|
|
|
|
<artifactId>jakarta.mail-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.angus</groupId>
|
|
|
|
<artifactId>angus-mail</artifactId>
|
2015-12-01 12:44:11 +00:00
|
|
|
</dependency>
|
2019-04-29 14:50:46 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-common</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2016-01-15 23:44:17 +00:00
|
|
|
<artifactId>keycloak-server-spi</artifactId>
|
|
|
|
<scope>provided</scope>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
2016-11-09 08:40:31 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-server-spi-private</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-01-20 21:46:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.twitter4j</groupId>
|
|
|
|
<artifactId>twitter4j-core</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
</dependency>
|
2016-01-15 20:29:45 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging-annotations</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging-processor</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
2022-03-24 13:21:36 +00:00
|
|
|
<artifactId>resteasy-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
2018-09-24 08:49:47 +00:00
|
|
|
<scope>provided</scope>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-01-04 15:25:12 +00:00
|
|
|
<groupId>jakarta.ws.rs</groupId>
|
|
|
|
<artifactId>jakarta.ws.rs-api</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
2016-08-07 15:41:52 +00:00
|
|
|
<dependency>
|
2023-01-04 15:25:12 +00:00
|
|
|
<groupId>jakarta.transaction</groupId>
|
|
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
2016-08-07 15:41:52 +00:00
|
|
|
</dependency>
|
2023-01-09 09:57:57 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.xml.soap</groupId>
|
|
|
|
<artifactId>jakarta.xml.soap-api</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-multipart-provider</artifactId>
|
|
|
|
</dependency>
|
2018-07-31 18:51:42 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
|
|
|
|
<artifactId>owasp-java-html-sanitizer</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
2016-01-13 20:03:32 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-13 20:03:32 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-13 20:03:32 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
2023-04-28 11:37:44 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
</dependency>
|
2020-07-03 16:19:23 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
<artifactId>jackson-datatype-jdk8</artifactId>
|
|
|
|
</dependency>
|
2017-07-19 11:47:03 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.woodstox</groupId>
|
|
|
|
<artifactId>woodstox-core</artifactId>
|
|
|
|
<version>${woodstox.version}</version> <!-- this version has to match that of used in Wildfly -->
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
</dependency>
|
2016-04-12 19:19:46 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-core-public</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-01-20 21:46:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2023-01-19 11:50:31 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-07-16 16:53:32 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
2021-11-12 15:37:03 +00:00
|
|
|
<artifactId>hamcrest</artifactId>
|
2018-07-16 16:53:32 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2019-10-01 13:17:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.webauthn4j</groupId>
|
|
|
|
<artifactId>webauthn4j-core</artifactId>
|
|
|
|
</dependency>
|
2023-02-01 00:14:22 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ua-parser</groupId>
|
|
|
|
<artifactId>uap-java</artifactId>
|
|
|
|
</dependency>
|
2023-05-30 17:41:25 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.microprofile.openapi</groupId>
|
|
|
|
<artifactId>microprofile-openapi-api</artifactId>
|
|
|
|
</dependency>
|
2023-11-29 11:06:41 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.smallrye.common</groupId>
|
|
|
|
<artifactId>smallrye-common-annotation</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2016-01-15 20:29:45 +00:00
|
|
|
<compilerArgument>
|
|
|
|
-AgeneratedTranslationFilesPath=${project.build.directory}/generated-translation-files
|
|
|
|
</compilerArgument>
|
2015-07-17 11:45:43 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2015-09-02 11:19:32 +00:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>jboss-release</id>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2017-03-27 18:46:38 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/docs</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/docs</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-16 09:53:53 +00:00
|
|
|
<plugin>
|
2023-05-30 17:41:25 +00:00
|
|
|
<groupId>io.smallrye</groupId>
|
|
|
|
<artifactId>smallrye-open-api-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<scanProfiles>admin</scanProfiles>
|
|
|
|
<outputDirectory>${project.build.directory}/apidocs-rest/swagger/apidocs</outputDirectory>
|
|
|
|
<infoTitle>Keycloak Admin REST API</infoTitle>
|
|
|
|
<infoDescription>This is a REST API reference for the Keycloak Admin REST API.</infoDescription>
|
|
|
|
</configuration>
|
2015-09-16 09:53:53 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2023-05-30 17:41:25 +00:00
|
|
|
<goal>generate-schema</goal>
|
2015-09-16 09:53:53 +00:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-02 11:19:32 +00:00
|
|
|
<plugin>
|
2023-05-30 17:41:25 +00:00
|
|
|
<groupId>org.openapitools</groupId>
|
|
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
2015-09-02 11:19:32 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-05-30 17:41:25 +00:00
|
|
|
<id>generate-ascii-docs</id>
|
|
|
|
<phase>prepare-package</phase>
|
2015-09-02 11:19:32 +00:00
|
|
|
<goals>
|
2023-05-30 17:41:25 +00:00
|
|
|
<goal>generate</goal>
|
2015-09-02 11:19:32 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2023-05-30 17:41:25 +00:00
|
|
|
<globalProperties>
|
|
|
|
<apiDocs>true</apiDocs>
|
|
|
|
<apiModels>true</apiModels>
|
|
|
|
<apiTests>false</apiTests>
|
|
|
|
<modelTests>false</modelTests>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
</globalProperties>
|
|
|
|
<inputSpec>${project.build.directory}/apidocs-rest/swagger/apidocs/openapi.yaml</inputSpec>
|
|
|
|
<output>${project.basedir}/target/docs/asciidoc/</output>
|
|
|
|
<generatorName>asciidoc</generatorName>
|
|
|
|
<generateApiDocumentation>true</generateApiDocumentation>
|
|
|
|
<generateModelDocumentation>true</generateModelDocumentation>
|
|
|
|
<generateSupportingFiles>true</generateSupportingFiles>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
|
|
<templateDirectory>src/docs/openapi-generator-templates/keycloak-admin-api</templateDirectory>
|
|
|
|
<configOptions>
|
|
|
|
<useIntroduction>true</useIntroduction>
|
|
|
|
<delegatePattern>false</delegatePattern>
|
|
|
|
<useMethodAndPath>true</useMethodAndPath>
|
|
|
|
<prependFormOrBodyParameters>false</prependFormOrBodyParameters>
|
|
|
|
<skipExamples>true</skipExamples>
|
|
|
|
</configOptions>
|
|
|
|
<skipValidateSpec>true</skipValidateSpec>
|
2015-09-02 11:19:32 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-docs</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2017-03-27 18:46:38 +00:00
|
|
|
<sourceDirectory>${project.basedir}/target/docs/asciidoc</sourceDirectory>
|
2015-09-02 11:19:32 +00:00
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<outputDirectory>${project.basedir}/target/apidocs-rest/output</outputDirectory>
|
|
|
|
<backend>html5</backend>
|
|
|
|
<attributes>
|
|
|
|
<!-- List of attributes:
|
|
|
|
https://github.com/asciidoctor/asciidoctorj/blob/master/asciidoctorj-core/src/main/java/org/asciidoctor/Attributes.java
|
|
|
|
-->
|
2015-09-15 19:22:06 +00:00
|
|
|
<toc/>
|
2017-01-10 16:00:07 +00:00
|
|
|
<toc-position>left</toc-position>
|
2015-09-02 11:19:32 +00:00
|
|
|
<generated>${project.basedir}/target/apidocs-rest/asciidoc</generated>
|
|
|
|
</attributes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-07-17 11:45:43 +00:00
|
|
|
</project>
|