2021-11-18 12:40:02 +00:00
|
|
|
<!--
|
2023-03-03 10:08:05 +00:00
|
|
|
~ Copyright 2023 Red Hat, Inc. and/or its affiliates
|
2021-11-18 12:40:02 +00:00
|
|
|
~ 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.
|
|
|
|
-->
|
|
|
|
<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-docs-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2023-03-03 10:11:44 +00:00
|
|
|
<version>999.0.0-SNAPSHOT</version>
|
2021-11-18 12:40:02 +00:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<name>Keycloak Guides</name>
|
|
|
|
<artifactId>keycloak-guides</artifactId>
|
|
|
|
<description>Keycloak Guides</description>
|
2023-11-17 11:06:16 +00:00
|
|
|
<!-- although this doesn't provide a JAR, this is necessary to call the DocsBuildDebugUtil class from an IDE for debugging -->
|
|
|
|
<packaging>jar</packaging>
|
2021-11-18 12:40:02 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-guides-maven-plugin</artifactId>
|
2022-01-14 12:39:22 +00:00
|
|
|
<version>${project.version}</version>
|
2021-11-18 12:40:02 +00:00
|
|
|
</dependency>
|
2024-06-27 07:50:19 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
|
|
<version>${maven.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-11-18 12:40:02 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2023-02-09 09:29:41 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.3.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2023-11-08 14:09:04 +00:00
|
|
|
<id>copy-images</id>
|
2023-02-09 09:29:41 +00:00
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2023-03-03 10:08:05 +00:00
|
|
|
<outputDirectory>${basedir}/target/generated-docs/images</outputDirectory>
|
2023-02-09 09:29:41 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
2023-03-03 10:08:05 +00:00
|
|
|
<directory>${basedir}/images</directory>
|
2023-02-09 09:29:41 +00:00
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-11-08 14:09:04 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-attributes</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/generated-guides/</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>attributes.adoc</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-11-23 12:27:47 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-included-files</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/generated-guides/</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/examples/**/*.*</include>
|
|
|
|
<include>**/partials/**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-02-09 09:29:41 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-11-18 12:40:02 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-guides-maven-plugin</artifactId>
|
2022-01-14 12:39:22 +00:00
|
|
|
<version>${project.version}</version>
|
2021-11-18 12:40:02 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-asciidoc</id>
|
|
|
|
<goals>
|
|
|
|
<goal>keycloak-guide</goal>
|
|
|
|
</goals>
|
2023-03-03 10:08:05 +00:00
|
|
|
<configuration>
|
|
|
|
<sourceDir>${project.basedir}</sourceDir>
|
|
|
|
</configuration>
|
2021-11-18 12:40:02 +00:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.asciidoctor</groupId>
|
|
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
2023-02-09 09:29:41 +00:00
|
|
|
<configuration>
|
|
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
|
|
<backend>html5</backend>
|
|
|
|
<sourceHighlighter>coderay</sourceHighlighter>
|
|
|
|
<attributes>
|
|
|
|
<toc>left</toc>
|
|
|
|
<toc>left</toc>
|
|
|
|
<icons>font</icons>
|
|
|
|
<sectanchors>true</sectanchors>
|
|
|
|
<idprefix/>
|
|
|
|
<idseparator>-</idseparator>
|
|
|
|
<docinfo1>true</docinfo1>
|
|
|
|
<imagesdir>../images</imagesdir>
|
2023-04-17 06:44:34 +00:00
|
|
|
<attribute-missing>warn</attribute-missing>
|
2023-02-09 09:29:41 +00:00
|
|
|
</attributes>
|
2023-08-17 13:18:44 +00:00
|
|
|
<logHandler>
|
|
|
|
<failIf>
|
|
|
|
<severity>ERROR</severity>
|
|
|
|
</failIf>
|
|
|
|
</logHandler>
|
2023-02-09 09:29:41 +00:00
|
|
|
</configuration>
|
2021-11-18 12:40:02 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2022-04-19 07:11:29 +00:00
|
|
|
<id>server-asciidoc-to-html</id>
|
2021-11-18 12:40:02 +00:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-04-19 07:11:29 +00:00
|
|
|
<sourceDirectory>${basedir}/target/generated-guides/server</sourceDirectory>
|
|
|
|
<outputDirectory>${project.build.directory}/generated-docs/server</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>operator-asciidoc-to-html</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/target/generated-guides/operator</sourceDirectory>
|
|
|
|
<outputDirectory>${project.build.directory}/generated-docs/operator</outputDirectory>
|
2023-02-09 09:29:41 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>migration-asciidoc-to-html</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/target/generated-guides/migration</sourceDirectory>
|
|
|
|
<outputDirectory>${project.build.directory}/generated-docs/migration</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>getting-started-asciidoc-to-html</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/target/generated-guides/getting-started</sourceDirectory>
|
|
|
|
<outputDirectory>${project.build.directory}/generated-docs/getting-started</outputDirectory>
|
2021-11-18 12:40:02 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2023-11-23 12:27:47 +00:00
|
|
|
<execution>
|
|
|
|
<id>high-availability-asciidoc-to-html</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process-asciidoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/target/generated-guides/high-availability</sourceDirectory>
|
|
|
|
<outputDirectory>${project.build.directory}/generated-docs/high-availability</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2021-11-18 12:40:02 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-01-14 12:39:22 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-archive</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2021-11-18 12:40:02 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|