keycloak / keycloak-quickstarts

Apache License 2.0
1.99k stars 985 forks source link

extension/user-storage-simple does not build #499

Closed minusdavid closed 7 months ago

minusdavid commented 1 year ago

Describe the bug

[INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/keycloak/quickstarts/keycloak-quickstart-parent/22.0.4/keycloak-quickstart-parent-22.0.4.pom [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.keycloak.quickstarts:keycloak-user-storage-properties:22.0.4: Could not find artifact org.keycloak.quickstarts:keycloak-quickstart-parent:pom:22.0.4 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 20, column 13 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.keycloak.quickstarts:keycloak-user-storage-properties:22.0.4 (/usr/src/app/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.keycloak.quickstarts:keycloak-user-storage-properties:22.0.4: Could not find artifact org.keycloak.quickstarts:keycloak-quickstart-parent:pom:22.0.4 in central (https://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 20, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Version

21.0.2

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response

minusdavid commented 1 year ago

When I go to https://repo.maven.apache.org/maven2/org/keycloak/ I don't see any reference to quickstarts.

I've previously used https://github.com/dasniko/keycloak-user-spi-demo but I was hoping that there'd be a different more up-to-date example...

minusdavid commented 1 year ago

I was also hoping this would build so I could work through it using https://www.keycloak.org/docs/latest/server_development/#_user-storage-spi

martin-kanis commented 7 months ago

Currently it works for me with  mvn clean install -Dextension