Outdated version properties in keycloak-parent pom.xml
See original GitHub issueDescribe the bug
In keycloak-parent
pom.xml
are still some old/outdated version properties, e.g.
<resteasy.version>3.15.1.Final</resteasy.version>
- where as the Keycloak 16.0.0 server runs more recent versions of dependencies, e.g. the RestEasy version is on 4.7.2.Final
.
This leads to errors and ClassNotFoundExceptions during runtime when using dependency versions from the parent pom during compile time.
Version
16.0.0
Expected behavior
All version properties in keycloak-parent:pom.xml
reflect the actual versions of the dependencies in the running server.
Actual behavior
The keycloak-parent:pom.xml
has still some old/outdated dependency version properties.
How to Reproduce?
Look into the parent pom.xml
, e.g. https://github.com/keycloak/keycloak/blob/6c12c188542aeacc6d40aff9160e83b6a12f5b97/pom.xml#L96
Anything else?
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Review build dependencies after removing WildFly distribution
At the moment the dependencies defined in the root pom.xml in the project has some very outdated versions. There's some reasons behind this ......
Read more >'dependencies.dependency.version' is missing error, but ...
1-SNAPSHOT version of your parent pom is the one that is currently in your project, and so it tries to find it in...
Read more >keycloak-parent : 15.0.2 - Maven Central Repository Search
Apache License, Version 2.0. Home page, http://keycloak.org. Source code, https://github.com/keycloak/keycloak/tree/master/. Developers.
Read more >Keycloak 16 is out - Google Groups
Stian, it seems that there are some dependency version properties in the parent pom.xml still reflect some old/outdated versions, e.g. resteasy 3.15.x vs....
Read more >Server Developer Guide - Keycloak
To see the effect of changing the parent theme, set parent=keycloak in theme.properties and refresh the login page.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunately, this is bad developer experience. With every version upgrade, developers have to investigate time-consuming all necessary dependency and library updates within the underlying server. Redundant work for a lot of people.
This would be ok, if it would be very easy to use Keycloak in various runtimes. But actually it’s only usable with the provided Wildfly, and in future with Quarkus runtime - which is great and I really appreciate this. But today I would expect that the product gives me all the necessary dependencies which are available, not just saying “hey, it’s the runtime, it’s not our product”. Actually, the runtime is part of the product. Just saying.
keycloak-parent isn’t a BOM and obviously shouldn’t be used as such. We do have the SPI BOM for this purpose, now this issue isn’t valid, but made me realise that the SPI BOM is not valid either, so we can fix this there at least for now.
I’ll close this issue and open another one against the proper BOM tomorrow, and get this fixed in 17.0.0, or 16.0.1 (if we do one, but I’m not doing one just for this issue).