From 8c9b7b05ac5b5c94f594bcfb910bcae2b8e5a688 Mon Sep 17 00:00:00 2001 From: stianst Date: Tue, 12 May 2020 10:46:02 +0200 Subject: [PATCH] KEYCLOAK-14135 Don't include built-in themes in themes directory of Quarkus dist --- distribution/server-x/pom.xml | 27 +------------------ .../src/main/content/providers/README.txt | 2 +- .../src/main/content/themes/README.txt | 11 +++++--- 3 files changed, 10 insertions(+), 30 deletions(-) diff --git a/distribution/server-x/pom.xml b/distribution/server-x/pom.xml index 3a4f5c2d76..88705e47d4 100755 --- a/distribution/server-x/pom.xml +++ b/distribution/server-x/pom.xml @@ -30,19 +30,10 @@ - - org.keycloak - keycloak-themes - - - * - * - - - org.keycloak keycloak-quarkus-server + ${project.version} * @@ -59,22 +50,6 @@ org.apache.maven.plugins maven-dependency-plugin - - unpack-theme - validate - - unpack - - - - - org.keycloak - keycloak-themes - target/unpacked-themes - - - - unpack-cli validate diff --git a/distribution/server-x/src/main/content/providers/README.txt b/distribution/server-x/src/main/content/providers/README.txt index b4b660e523..088654c3ed 100644 --- a/distribution/server-x/src/main/content/providers/README.txt +++ b/distribution/server-x/src/main/content/providers/README.txt @@ -1 +1 @@ -Copy custom providers into this directory then restart the Keycloak server. \ No newline at end of file +Copy custom providers into this directory then restart the Keycloak server. diff --git a/distribution/server-x/src/main/content/themes/README.txt b/distribution/server-x/src/main/content/themes/README.txt index 475b957466..0c164eab81 100644 --- a/distribution/server-x/src/main/content/themes/README.txt +++ b/distribution/server-x/src/main/content/themes/README.txt @@ -1,3 +1,8 @@ -Themes are used to configure the look and feel of login pages and the account management console. It is not recommended to -modify the existing built-in themes, instead you should create a new theme that extends a built-in theme. See the theme -section in the documentation for more details. \ No newline at end of file +Themes are used to configure the look and feel of login pages and the account management console. + +Built-in themes should not be modified directly, instead a custom theme should be created. See the theme +section in the Server Developer Guide for more details. + +While creating custom themes especially when overriding templates it may be useful to use the built-in templates as +a reference. These can be found within themes directory of lib/keycloak-runner.jar, which can be opened using any +standard ZIP archive tool. \ No newline at end of file