2015-04-25 00:17:58 +00:00
|
|
|
<!--
|
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-04-25 00:17:58 +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>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2015-05-12 12:39:57 +00:00
|
|
|
<artifactId>feature-packs-parent</artifactId>
|
2021-06-18 08:40:08 +00:00
|
|
|
<version>15.0.0-SNAPSHOT</version>
|
2015-04-25 00:17:58 +00:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2015-04-27 14:16:41 +00:00
|
|
|
<artifactId>keycloak-server-feature-pack</artifactId>
|
2015-04-25 00:17:58 +00:00
|
|
|
|
|
|
|
<name>Keycloak Feature Pack: Server</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<dependencies>
|
2017-05-19 06:25:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2021-02-05 19:23:49 +00:00
|
|
|
<artifactId>keycloak-server-feature-pack-dependencies</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>pom</type>
|
2019-10-23 14:30:28 +00:00
|
|
|
</dependency>
|
2015-04-25 00:17:58 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2017-03-31 13:50:53 +00:00
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-theme</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-themes</artifactId>
|
|
|
|
<outputDirectory>target/unpacked-themes</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-08-09 13:01:54 +00:00
|
|
|
<execution>
|
|
|
|
<id>unpack-cli</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-client-cli-dist</artifactId>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>target/</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2015-04-25 00:17:58 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.wildfly.build</groupId>
|
|
|
|
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
2018-08-09 13:01:54 +00:00
|
|
|
<version>${wildfly.build-tools.version}</version>
|
2015-04-25 00:17:58 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>feature-pack-build</id>
|
|
|
|
<goals>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<config-file>feature-pack-build.xml</config-file>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-04-19 11:58:39 +00:00
|
|
|
|
2015-04-25 00:17:58 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<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>
|
|
|
|
<recompressZippedFiles>true</recompressZippedFiles>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<outputDirectory>target/</outputDirectory>
|
|
|
|
<workDirectory>target/assembly/work</workDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
Port forward license data from maintenance, with improvements.
org.keycloak dependencies will be automatically added to the xml during the
build, removing the need for runs of download-license-files.sh every time the
keycloak version changes.
Documentation on "why and how" for the license data has also been added.
To reduce code duplication issues, plugin definitions are stored in
keycloak-parent, but only active in the projects that need them (not bound to
any phase by default). Also, the common files have been moved into
licenses/common/, so that a single symlink will suffice to replicate the
current and future files needed by the plugin executions. While the
assembly.xml definitions remain duplicated, they are fairly minimal and
shouldn't need to change often.
License data is available for all adapters shipped in the product, plus
server-feature-pack.
The keycloak slot is populated with data, in addition to the rh-sso slot. A
number of the adapters don't depend on any third-party artifacts, so they have
(mostly) blank license.xml files.
2017-09-20 21:53:24 +00:00
|
|
|
|
|
|
|
<plugin>
|
2017-11-27 17:31:31 +00:00
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-distribution-licenses-maven-plugin</artifactId>
|
Port forward license data from maintenance, with improvements.
org.keycloak dependencies will be automatically added to the xml during the
build, removing the need for runs of download-license-files.sh every time the
keycloak version changes.
Documentation on "why and how" for the license data has also been added.
To reduce code duplication issues, plugin definitions are stored in
keycloak-parent, but only active in the projects that need them (not bound to
any phase by default). Also, the common files have been moved into
licenses/common/, so that a single symlink will suffice to replicate the
current and future files needed by the plugin executions. While the
assembly.xml definitions remain duplicated, they are fairly minimal and
shouldn't need to change often.
License data is available for all adapters shipped in the product, plus
server-feature-pack.
The keycloak slot is populated with data, in addition to the rh-sso slot. A
number of the adapters don't depend on any third-party artifacts, so they have
(mostly) blank license.xml files.
2017-09-20 21:53:24 +00:00
|
|
|
</plugin>
|
2015-04-25 00:17:58 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2017-03-24 15:16:09 +00:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>community</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>!product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<feature.parent>org.wildfly:wildfly-feature-pack</feature.parent>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-feature-pack</artifactId>
|
|
|
|
<type>zip</type>
|
2017-05-19 06:25:36 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>*</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2017-03-24 15:16:09 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2017-03-31 13:50:53 +00:00
|
|
|
|
2017-03-24 15:16:09 +00:00
|
|
|
<profile>
|
|
|
|
<id>product</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<feature.parent>org.jboss.eap:wildfly-feature-pack</feature.parent>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.eap</groupId>
|
|
|
|
<artifactId>wildfly-feature-pack</artifactId>
|
|
|
|
<version>${eap.version}</version>
|
|
|
|
<type>zip</type>
|
2017-05-19 06:25:36 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>*</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2017-03-24 15:16:09 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2015-04-25 00:17:58 +00:00
|
|
|
</project>
|
2017-03-24 15:16:09 +00:00
|
|
|
|