mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
Move community resources to separate directory
Also removed copying of locales directory from pom.xml (relict of #24316) Fixes: #26236 Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
This commit is contained in:
parent
62020ffc68
commit
17d0e7d166
@ -16,6 +16,41 @@
|
||||
<name>Keycloak Account UI</name>
|
||||
<description>The user inferface to manage an account on the Keycloak server.</description>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>withTranslations</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>!skipCommunityTranslations</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-resources</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>maven-resources-community</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
|
||||
@ -17,25 +17,6 @@
|
||||
<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>locales/en/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>withTranslations</id>
|
||||
<activation>
|
||||
@ -44,15 +25,28 @@
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>dist</directory>
|
||||
<targetPath>theme/keycloak.v2/admin/resources</targetPath>
|
||||
<includes>
|
||||
<include>locales/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-resources</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>maven-resources-community</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user