Add option to exclude community translations at build time (#19224)

Closes #19223
This commit is contained in:
Stian Thorgersen 2023-03-22 08:57:57 +01:00 committed by GitHub
parent 65b828edf9
commit 27749bf24f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 3 deletions

View file

@ -65,9 +65,6 @@
<exclude>**/keycloak.v2/account/src/**</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources-community</directory>
</resource>
</resources>
<plugins>
<plugin>
@ -83,6 +80,22 @@
</build>
<profiles>
<profile>
<id>communityTranslations</id>
<activation>
<property>
<name>!skipCommunityTranslations</name>
</property>
</activation>
<build>
<resources>
<resource>
<directory>src/main/resources-community</directory>
</resource>
</resources>
</build>
</profile>
<profile>
<id>account2</id>
<activation>