Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-1684

Update keycloak-spring-security-adapter bom dependency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • Archive - 21'
    • RH-SSO-7.2.5.GA
    • Adapters
    • None

    Description

      When building maven project for spring boot application with below adapter dependency in pom.xml

      <dependency>
      <groupId>org.keycloak</groupId>
      <artifactId>keycloak-spring-boot-starter</artifactId>
      </dependency>

      Adapter BOM dependency

      <dependencyManagement>
      <dependencies>
      <dependency>
      <groupId>org.keycloak.bom</groupId>
      <artifactId>keycloak-adapter-bom</artifactId>
      <version>3.4.14.Final-redhat-00001</version>
      <type>pom</type>
      <scope>import</scope>
      </dependency>
      </dependencies>
      </dependencyManagement>

      Getting [ERROR] Failed to execute goal on project product-app: Could not resolve dependencies for project com.example:product-app:jar:0.0.1-SNAPSHOT: Could not find artifact org.keycloak:keycloak-spring-security-adapter:jar:3.4.14.Final-redhat-00001 in jboss-earlyaccess-repository (http://maven.repository.redhat.com/earlyaccess/all/) -> [Help 1]

      The keycloak-spring-security-adapter:jar version 3.4.14.Final-redhat-00001 is not present in redhat maven repository.

      It looks like /org/keycloak/bom/keycloak-adapter-bom/3.4.14.Final-redhat-00001/keycloak-adapter-bom-3.4.14.Final-redhat-00001.pom includes incorrect version of keycloak-spring-security-adapter this must be updated with 3.4.12.Final-redhat-2 as there was no change in that Spring security adapter since (3.4.12).

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-sshriram Saurabh Shriramwar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: