Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-4784

Cannot build project with -Dproduct

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      It is not possible to build "rh-sso" with -Dproduct. There is

      Failed to execute goal on project keycloak-spring-boot-adapter: Could not resolve dependencies for project org.keycloak:keycloak-spring-boot-adapter:jar:3.1.0.CR1-SNAPSHOT: Could not find artifact org.keycloak:keycloak-jetty93-adapter:jar:3.1.0.CR1-SNAPSHOT
      

      The reason is that there is provided dependency https://github.com/keycloak/keycloak/blob/master/adapters/oidc/spring-boot/pom.xml#L57-L61

      But keycloak-jetty93-adapter is not built at all with 'product' profile: https://github.com/keycloak/keycloak/blob/master/adapters/oidc/jetty/pom.xml#L33-L37

      I'm not sure what would be correct fix, whether include module jetty9.3 into 'product' profile or for 'product' profile declare keycloak-jetty92-adapter and remain keycloak-jetty93-adapter just for community.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stianst Stian Thorgersen
                  Reporter:
                  vramik Vlasta Ramik
                  Tester:
                  Vlasta Ramik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: