Repository navigation
How to change some Jar version in Keycloak Quarkus #16409
Replies: 5 comments 7 replies
|
We are working on an installer tool to allow you to create your own distribution by removing and adding Quarkus dependencies and replacing dependencies. We are not 100% sure yet how replacing dependencies will work without impacting supportability. In your case, it works if you keep the same file name when replacing but the results are completely unexpected as those are the versions we support. |
|
If I change mysql-jdbc.version to 8.0.31 then my builds fails I see lib/lib/main/ So I'm trying to change the version of MySQL-connector Build fails, I just tried to change the latest version of mysql connector from 8.0.30 to 8.0.31 Where do we need to change the version of Jars? |
|
Can we make a step back and understand first why you need to change the driver version? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to change mysql.mysql-connector-java-8.0.30.jar to mysql-connector-java-5.1.47.jar
So I deleted mysql.mysql-connector-java-8.0.30.jar from keycloak-20.0.1\lib\lib\main and placed mysql-connector-java-5.1.47.jar
When I started Keycloak I got the error
ERROR: Failed to run 'build' command. ERROR: java.lang.IllegalArgumentException: E:\keycloak-20.0.1\lib\lib\main\mysql.mysql-connector-java-8.0.30.jar does not exist ERROR: E:\keycloak-20.0.1\lib\lib\main\main\mysql.mysql-connector-java-8.0.30.jar does not exist ERROR: E:\keycloak-20.0.1\lib\lib\main\mysql.mysql-connector-java-8.0.30.jar For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.Also, in the future, if we get a vulnerability in some jar and the solution is to upgrade that jar, how do we achieve that?
As It is looking for a specific jar to be available in the lib folder it will not let us change any jar.
All reactions