Keycloak
140 строк · 5.6 Кб
1<!--
2~ Copyright 2016 Red Hat, Inc. and/or its affiliates
3~ and other contributors as indicated by the @author tags.
4~
5~ Licensed under the Apache License, Version 2.0 (the "License");
6~ you may not use this file except in compliance with the License.
7~ You may obtain a copy of the License at
8~
9~ http://www.apache.org/licenses/LICENSE-2.0
10~
11~ Unless required by applicable law or agreed to in writing, software
12~ distributed under the License is distributed on an "AS IS" BASIS,
13~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14~ See the License for the specific language governing permissions and
15~ limitations under the License.
16-->
17
18<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"19xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">20<modelVersion>4.0.0</modelVersion>21<parent>22<artifactId>keycloak-distribution-parent</artifactId>23<groupId>org.keycloak</groupId>24<version>999.0.0-SNAPSHOT</version>25</parent>26
27<artifactId>keycloak-api-docs-dist</artifactId>28<packaging>pom</packaging>29<name>Keycloak Docs Distribution</name>30<description/>31
32<properties>33<javadoc.branding>Keycloak ${project.version}</javadoc.branding>34<maven.compiler.release>17</maven.compiler.release>35</properties>36
37<dependencies>38<dependency>39<groupId>org.keycloak</groupId>40<artifactId>keycloak-dependencies-server-all</artifactId>41<type>pom</type>42</dependency>43<dependency>44<groupId>org.keycloak</groupId>45<artifactId>keycloak-admin-client</artifactId>46</dependency>47<dependency>48<groupId>org.keycloak</groupId>49<artifactId>keycloak-authz-client</artifactId>50</dependency>51<dependency>52<groupId>io.quarkus.resteasy.reactive</groupId>53<artifactId>resteasy-reactive</artifactId>54<scope>provided</scope>55</dependency>56<!-- Include all classes that are marked "provided" and therefore not included in the dependencies above.57This avoids warnings when generating the JavaDoc -->
58<dependency>59<groupId>org.jboss.logging</groupId>60<artifactId>jboss-logging-annotations</artifactId>61</dependency>62<dependency>63<groupId>net.java.dev.jna</groupId>64<artifactId>jna</artifactId>65</dependency>66<dependency>67<!-- Included here as it provides Nonnull from com.google.code.findbugs:jsr305.68That is used in annotations in FilesPlainTextVaultProvider -->
69<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>70<artifactId>owasp-java-html-sanitizer</artifactId>71</dependency>72</dependencies>73
74<build>75<finalName>keycloak-api-docs-${project.version}</finalName>76<plugins>77<plugin>78<groupId>org.apache.maven.plugins</groupId>79<artifactId>maven-javadoc-plugin</artifactId>80<configuration>81<minmemory>128m</minmemory>82<maxmemory>2400m</maxmemory>83<encoding>UTF-8</encoding>84<includeDependencySources>true</includeDependencySources>85<source>${maven.compiler.source}</source>86<failOnError>true</failOnError>87</configuration>88<executions>89<execution>90<id>aggregate-javadoc</id>91<phase>compile</phase>92<goals>93<goal>javadoc</goal>94</goals>95</execution>96</executions>97</plugin>98<plugin>99<artifactId>maven-assembly-plugin</artifactId>100<executions>101<execution>102<id>assemble</id>103<phase>package</phase>104<goals>105<goal>single</goal>106</goals>107<configuration>108<descriptors>109<descriptor>assembly.xml</descriptor>110</descriptors>111<appendAssemblyId>false</appendAssemblyId>112</configuration>113</execution>114</executions>115</plugin>116<plugin>117<groupId>org.apache.maven.plugins</groupId>118<artifactId>maven-javadoc-plugin</artifactId>119<executions>120<execution>121<id>aggregate-javadoc</id>122<configuration>123<includeTransitiveDependencySources>true</includeTransitiveDependencySources>124<dependencySourceIncludes>125<dependencySourceInclude>org.keycloak:*</dependencySourceInclude>126</dependencySourceIncludes>127</configuration>128</execution>129</executions>130</plugin>131<plugin>132<groupId>org.apache.maven.plugins</groupId>133<artifactId>maven-deploy-plugin</artifactId>134<configuration>135<skip>true</skip>136</configuration>137</plugin>138</plugins>139</build>140</project>141