2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
<artifactId>keycloak-parent</artifactId>
5
<groupId>org.keycloak</groupId>
6
<version>999.0.0-SNAPSHOT</version>
8
<modelVersion>4.0.0</modelVersion>
10
<artifactId>keycloak-themes</artifactId>
11
<name>Keycloak Themes</name>
13
<packaging>jar</packaging>
16
<dir.common>src/main/resources/theme/keycloak/common/resources</dir.common>
17
<dir.account2>src/main/resources/theme/keycloak.v2/account/src</dir.account2>
19
<maven.build.cache.exclude.value.1>src/main/resources/theme/keycloak/common/resources/node_modules</maven.build.cache.exclude.value.1>
20
<maven.build.cache.exclude.value.2>src/main/resources/theme/keycloak/common/resources/vendor</maven.build.cache.exclude.value.2>
21
<maven.build.cache.exclude.value.3>src/main/resources/theme/keycloak.v2/account/src/node_modules</maven.build.cache.exclude.value.3>
22
<maven.build.cache.exclude.value.4>src/main/resources/theme/keycloak.v2/account/src/web_modules</maven.build.cache.exclude.value.4>
23
<maven.build.cache.exclude.value.6>src/main/resources/theme/keycloak.v2/account/resources</maven.build.cache.exclude.value.6>
24
<maven.build.cache.exclude.glob.6>*.js</maven.build.cache.exclude.glob.6>
25
<maven.build.cache.exclude.value.7>src/main/resources/theme/keycloak.v2/account/resources</maven.build.cache.exclude.value.7>
26
<maven.build.cache.exclude.glob.7>*.js.map</maven.build.cache.exclude.glob.7>
27
<maven.build.cache.exclude.value.8>src/main/resources/theme/keycloak.v2/account/resources/public/app.css</maven.build.cache.exclude.value.8>
28
<maven.build.cache.exclude.value.9>src/main/resources/theme/keycloak.v2/account/web_modules</maven.build.cache.exclude.value.9>
29
<maven.build.cache.exclude.value.10>src/main/resources/theme/keycloak.v2/welcome/node_modules</maven.build.cache.exclude.value.10>
30
<maven.build.cache.exclude.value.11>src/main/resources/theme/keycloak.v2/welcome/resources/vendor</maven.build.cache.exclude.value.11>
35
<groupId>org.keycloak</groupId>
36
<artifactId>keycloak-admin-ui</artifactId>
39
<groupId>org.keycloak</groupId>
40
<artifactId>keycloak-account-ui</artifactId>
47
<directory>src/main/resources</directory>
49
<exclude>**/node_modules/**/node_modules/**</exclude>
50
<exclude>**/minimist/**</exclude>
51
<exclude>**/mkdirp/**</exclude>
52
<exclude>**/package.json</exclude>
53
<exclude>**/package-lock.json</exclude>
54
<exclude>**/pnpm-lock.yaml</exclude>
55
<exclude>**/pnpm-workspace.yaml</exclude>
56
<exclude>**/component.json</exclude>
57
<exclude>**/composer.json</exclude>
58
<exclude>**/npm-shrinkwrap.json</exclude>
59
<exclude>**/select2.jquery.json</exclude>
60
<exclude>**/*.markdown</exclude>
61
<exclude>**/*.swf</exclude>
62
<exclude>**/*.sh</exclude>
63
<exclude>**/.bin/**</exclude>
64
<exclude>**/bin/**</exclude>
65
<exclude>**/build/**</exclude>
66
<exclude>**/docs/**</exclude>
67
<exclude>**/demo/**</exclude>
68
<exclude>**/devtools/**</exclude>
69
<exclude>**/example/**</exclude>
70
<exclude>**/examples/**</exclude>
71
<exclude>**/grunt/**</exclude>
72
<exclude>**/less/**</exclude>
73
<exclude>**/sass/**</exclude>
74
<exclude>**/scss/**</exclude>
75
<exclude>**/jquery/src/**</exclude>
76
<exclude>**/angular-treeview/src/**</exclude>
77
<exclude>**/test/**</exclude>
78
<exclude>**/tests/**</exclude>
79
<exclude>**/_config.yml</exclude>
80
<exclude>**/api.md</exclude>
81
<exclude>**/AUTHORS.txt</exclude>
82
<exclude>**/CHANGELOG.md</exclude>
83
<exclude>**/CONTRIBUTING.md</exclude>
84
<exclude>**/HELP-US-OUT.txt</exclude>
85
<exclude>**/README.md</exclude>
86
<exclude>**/Gruntfile.js</exclude>
87
<exclude>**/Gemfile*</exclude>
88
<exclude>**/.*</exclude>
90
<exclude>**/keycloak.v2/account/src/**</exclude>
96
<artifactId>maven-source-plugin</artifactId>
99
<exclude>**/node_modules/**/*</exclude>
100
<exclude>**/web_modules/**/*</exclude>
101
<exclude>**/*.js.map</exclude>
102
<exclude>**/account/resources/*.js</exclude>
111
<id>communityTranslations</id>
114
<name>!skipCommunityTranslations</name>
120
<directory>src/main/resources-community</directory>
130
<name>!skipAccount2</name>
136
<artifactId>maven-clean-plugin</artifactId>
140
<directory>${dir.account2}/web_modules</directory>
146
<groupId>com.github.eirslett</groupId>
147
<artifactId>frontend-maven-plugin</artifactId>
150
<id>install-node-and-pnpm-account2</id>
152
<goal>install-node-and-pnpm</goal>
156
<id>pnpm-install-account2</id>
161
<arguments>${pnpm.args.install}</arguments>
162
<workingDirectory>${dir.account2}</workingDirectory>
166
<id>run-build-account2</id>
171
<arguments>run build</arguments>
172
<workingDirectory>${dir.account2}</workingDirectory>
185
<name>!skipCommon</name>
191
<artifactId>maven-clean-plugin</artifactId>
195
<directory>${dir.common}/web_modules</directory>
201
<groupId>com.github.eirslett</groupId>
202
<artifactId>frontend-maven-plugin</artifactId>
205
<id>install-node-and-pnpm-common</id>
207
<goal>install-node-and-pnpm</goal>
211
<id>pnpm-install-common</id>
216
<arguments>${pnpm.args.install}</arguments>
217
<workingDirectory>${dir.common}</workingDirectory>
221
<id>pnpm-build-common</id>
226
<arguments>run build</arguments>
227
<workingDirectory>${dir.common}</workingDirectory>