Filter out community translations for the Admin Console (#19806)
Closes CIAM-5018
This commit is contained in:
parent
30ce2d1e5b
commit
01d13e8ef7
2 changed files with 43 additions and 1 deletions
|
@ -16,6 +16,47 @@
|
|||
<name>Keycloak Admin UI</name>
|
||||
<description>The user inferface to administrate the Keycloak server.</description>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>withoutTranslations</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>skipCommunityTranslations</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>dist</directory>
|
||||
<targetPath>theme/keycloak.v2/admin/resources</targetPath>
|
||||
<includes>
|
||||
<include>resources/en/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>withTranslations</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!skipCommunityTranslations</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>dist</directory>
|
||||
<targetPath>theme/keycloak.v2/admin/resources</targetPath>
|
||||
<includes>
|
||||
<include>resources/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
|
@ -26,6 +67,7 @@
|
|||
<targetPath>theme/keycloak.v2/admin/resources</targetPath>
|
||||
<excludes>
|
||||
<exclude>index.html</exclude>
|
||||
<exclude>resources/**</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -226,7 +226,7 @@
|
|||
<server.output.dir.version>${project.version}</server.output.dir.version>
|
||||
|
||||
<!-- Frontend -->
|
||||
<node.version>v18.15.0</node.version>
|
||||
<node.version>v18.16.0</node.version>
|
||||
</properties>
|
||||
|
||||
<url>http://keycloak.org</url>
|
||||
|
|
Loading…
Reference in a new issue