Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-1651

Some SAML adapter related artifacts missing in the repository redhat-ga-repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 24.0.9
    • 24.0.5
    • source/customers
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      I am trying to use SAML adapter with RHBK 24.

      I have the redhat-ga-repository added in main maven settings.xml https://github.com/redhat-developer/rhbk-quickstarts/blob/24.x/.github/maven-settings.xml#L52-L86

      Despite of this fact, I am not able to reference some SAML artifacts from my project. Having the error like for example this:

      [INFO] --- galleon-maven-plugin:5.2.2.Final:provision (saml-adapter-installation) @ jakarta-jaxrs-resource-server ---
      Downloading from redhat-ga-repository-group: https://maven.repository.redhat.com/ga/org/keycloak/keycloak-saml-adapter-galleon-pack/24.0.5.redhat-00001/keycloak-saml-adapter-galleon-pack-24.0.5.redhat-00001.zip
      Downloading from jboss: https://repository.jboss.org/nexus/content/groups/public/org/keycloak/keycloak-saml-adapter-galleon-pack/24.0.5.redhat-00001/keycloak-saml-adapter-galleon-pack-24.0.5.redhat-00001.zip
      Downloading from central: https://repo.maven.apache.org/maven2/org/keycloak/keycloak-saml-adapter-galleon-pack/24.0.5.redhat-00001/keycloak-saml-adapter-galleon-pack-24.0.5.redhat-00001.zip
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  8.396 s
      [INFO] Finished at: 2024-07-19T14:42:10+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.galleon:galleon-maven-plugin:5.2.2.Final:provision (saml-adapter-installation) on project jakarta-jaxrs-resource-server: Provisioning failed: Failed to resolve org.keycloak:keycloak-saml-adapter-galleon-pack:zip:24.0.5.redhat-00001: Could not find artifact org.keycloak:keycloak-saml-adapter-galleon-pack:zip:24.0.5.redhat-00001 in redhat-ga-repository-group (https://maven.repository.redhat.com/ga/) -> [Help 1]
      

      I figured that keycloak-saml-adapter-galleon-pack is available for RHBK of version 22, but not for 24. See: https://maven.repository.redhat.com/ga/org/keycloak/keycloak-saml-adapter-galleon-pack/

      This looks like a bug.

      Just for the reference, in public maven repository, there are references to latest Keycloak released artifacts as expected https://repo1.maven.org/maven2/org/keycloak/keycloak-saml-adapter-galleon-pack/

      Workaround is to download this from indy repository like https://indy.psi.redhat.com/api/content/maven/group/static/org/keycloak/keycloak-saml-adapter-galleon-pack/24.0.5.redhat-00001/keycloak-saml-adapter-galleon-pack-24.0.5.redhat-00001.zip , but this is internal repository and hence this is not applicable for our customers.

      It seems there are more references, which are available just for RHBK 22 and not for RHBK 24. For example I found also:

      https://maven.repository.redhat.com/ga/org/keycloak/keycloak-saml-adapter-core/

      https://maven.repository.redhat.com/ga/org/keycloak/keycloak-saml-adapter-api-public/

      https://maven.repository.redhat.com/ga/org/keycloak/keycloak-saml-adapter-core-jakarta/

              pskopek@redhat.com Peter Skopek
              mposolda@redhat.com Marek Posolda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: