211 lines
9.1 KiB
XML
Executable file
211 lines
9.1 KiB
XML
Executable file
<!--
|
|
~ 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.
|
|
-->
|
|
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>keycloak-distribution-parent</artifactId>
|
|
<groupId>org.keycloak</groupId>
|
|
<version>6.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>keycloak-api-docs-dist</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Keycloak Docs Distribution</name>
|
|
<description/>
|
|
|
|
<properties>
|
|
<javadoc.branding>${product.name.full} ${product.version}</javadoc.branding>
|
|
</properties>
|
|
|
|
<build>
|
|
<finalName>keycloak-api-docs-${project.version}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<minmemory>128m</minmemory>
|
|
<maxmemory>2400m</maxmemory>
|
|
<encoding>UTF-8</encoding>
|
|
<includeDependencySources>true</includeDependencySources>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>aggregate-javadoc</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>javadoc</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>assemble</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>assembly.xml</descriptor>
|
|
</descriptors>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>community</id>
|
|
<activation>
|
|
<property>
|
|
<name>!product</name>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-dependencies-server-all</artifactId>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-admin-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-authz-client</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>aggregate-javadoc</id>
|
|
<configuration>
|
|
<includeTransitiveDependencySources>true</includeTransitiveDependencySources>
|
|
<dependencySourceIncludes>
|
|
<dependencySourceInclude>org.keycloak:*</dependencySourceInclude>
|
|
</dependencySourceIncludes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>product</id>
|
|
<activation>
|
|
<property>
|
|
<name>product</name>
|
|
</property>
|
|
</activation>
|
|
<!-- Make sure to keep this list in sync with <dependencySourceIncludes> -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-server-spi</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-saml-core-public</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-adapter-spi</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-adapter-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-saml-adapter-api-public</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-admin-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-authz-client</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>aggregate-javadoc</id>
|
|
<configuration>
|
|
<windowtitle>${javadoc.branding} public API</windowtitle>
|
|
<doctitle>${javadoc.branding} public API</doctitle>
|
|
<header>${javadoc.branding}</header>
|
|
<footer>${javadoc.branding}</footer>
|
|
<includeTransitiveDependencySources>false</includeTransitiveDependencySources>
|
|
<!-- Make sure to keep this list in sync with <dependencies> -->
|
|
<dependencySourceIncludes>
|
|
<include>org.keycloak:keycloak-server-spi</include>
|
|
<include>org.keycloak:keycloak-common</include>
|
|
<include>org.keycloak:keycloak-core</include>
|
|
<include>org.keycloak:keycloak-saml-core-public</include>
|
|
<include>org.keycloak:keycloak-adapter-spi</include>
|
|
<include>org.keycloak:keycloak-adapter-core</include>
|
|
<include>org.keycloak:keycloak-saml-adapter-api-public</include>
|
|
<include>org.keycloak:keycloak-admin-client</include>
|
|
<include>org.keycloak:keycloak-authz-client</include>
|
|
</dependencySourceIncludes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|