Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Unable to build admin-ui since 26.1

58 views
Skip to first unread message

Andre

unread,
Feb 11, 2025, 3:04:12 AMFeb 11
to Keycloak User
Since keycloak 26.1.0 I am unable to properly build the keycloak admin ui jar.
I have some customizations (that work with 26.0.7 - last version I compiled it with) and build the admin-ui jar with

```
 ./mvnw package -DskipTests -pl js/apps/admin-ui
```

when running with my customizations the build succeeds:

```
...
[INFO] Keycloak ........................................... SUCCESS [  0.956 s]
[INFO] Keycloak JavaScript Parent ......................... SUCCESS [  3.480 s]
[INFO] Keycloak Admin UI .................................. SUCCESS [  0.631 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
```

the resulting jar is only 437K of size - compared to the ~4.5MB of the one when I check the 26.1 docker image from quay.io.

When diffing I notice that the jar built with mvnw is missing the javascript sources in theme/keycloak_v2/admin/resources.

Thanks

Erik Jan de Wit

unread,
Apr 10, 2025, 1:43:01 PMApr 10
to Keycloak User
It could be because the folder has a different name now? It's called keycloak-admin-ui now? What happens if you just go into the folder and do an mvn package there?
Reply all
Reply to author
Forward
0 new messages