KEYCLOAK-14135 Don't include built-in themes in themes directory of Quarkus dist

This commit is contained in:
stianst 2020-05-12 10:46:02 +02:00 committed by Pedro Igor
parent b04932ede5
commit 8c9b7b05ac
3 changed files with 10 additions and 30 deletions

View file

@ -30,19 +30,10 @@
<description/>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-themes</artifactId>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-quarkus-server</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>*</groupId>
@ -59,22 +50,6 @@
<groupId>org.apache.maven.plugins</groupId>
<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>
<execution>
<id>unpack-cli</id>
<phase>validate</phase>

View file

@ -1 +1 @@
Copy custom providers into this directory then restart the Keycloak server.
Copy custom providers into this directory then restart the Keycloak server.

View file

@ -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.
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.