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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2018-08-01 18:51:02 +00:00
|
|
|
<version>4.3.0.Final-SNAPSHOT</version>
|
2015-07-17 11:45:43 +00:00
|
|
|
<relativePath>../../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>keycloak-js-adapter-dist</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Keycloak JS Adapter Distribution</name>
|
|
|
|
<description/>
|
|
|
|
|
|
|
|
<dependencies>
|
2017-09-20 22:39:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-js-adapter</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
2017-09-20 22:39:08 +00:00
|
|
|
<goal>unpack-dependencies</goal>
|
2015-07-17 11:45:43 +00:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2017-09-20 22:39:08 +00:00
|
|
|
<excludeTransitive>true</excludeTransitive>
|
|
|
|
<includeGroupIds>org.keycloak</includeGroupIds>
|
|
|
|
<includeArtifactIds>keycloak-js-adapter</includeArtifactIds>
|
|
|
|
<outputDirectory>${project.build.directory}/unpacked/js-adapter</outputDirectory>
|
|
|
|
<includes>*.js,*.map,*.d.ts</includes>
|
2015-07-17 11:45:43 +00:00
|
|
|
<excludes>**/welcome-content/*</excludes>
|
|
|
|
</configuration>
|
|
|
|
</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>
|
|
|
|
<outputDirectory>
|
|
|
|
target
|
|
|
|
</outputDirectory>
|
|
|
|
<workDirectory>
|
|
|
|
target/assembly/work
|
|
|
|
</workDirectory>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
</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-07-17 11:45:43 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2017-03-24 10:35:26 +00:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>product</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<finalName>${product.name}-${product.filename.version}-js-adapter</finalName>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2015-07-17 11:45:43 +00:00
|
|
|
</project>
|