-
Bug
-
Resolution: Done
-
Major
-
RH-SSO-7.2.0.GA
-
None
Download any spring-boot example that uses keycloak. For example:
git clone https://github.com/sebastienblanc/spring-boot-keycloak-tutorial
Replace the version of keycloak from the one used (upstream) to the downstream version (3.4.3.Final-redhat-2).
Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
diff --git a/pom.xml b/pom.xml
index 3ed2a3a..94a25d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
- <keycloak.version>3.1.0.Final</keycloak.version>
+ <keycloak.version>3.4.3.Final-redhat-2</keycloak.version>
</properties>
<dependencies>
@@ -67,5 +67,11 @@
</plugins>
</build>
+ <repositories>
+ <repository>
+ <id>redhat</id>
+ <url>https://maven.repository.redhat.com/ga</url>
+ </repository>
+ </repositories>
</project>
When you package the solution it always fails with the error:
[ERROR] Failed to execute goal on project product-app: Could not resolve dependencies for project com.example:product-app:jar:0.0.1-SNAPSHOT: Failure to find org.keycloak:keycloak-spring-security-adapter:jar:3.4.3.Final-redhat-2 in https://maven.repository.redhat.com/ga was cached in the local repository, resolution will not be reattempted until the update interval of redhat has elapsed or updates are forced -> [Help 1]
- links to