p2-inc / keycloak-magic-link

Magic Link Authentication for Keycloak
https://phasetwo.io
Other
222 stars 44 forks source link

Could not resolve dependencies for project io.phasetwo.keycloak:keycloak-magic-link:jar:0.1-SNAPSHOT: Could not find artifact org.keycloak:keycloak-testsuite-utils:jar:17.0.1 in central (https://repo.maven.apache.org/maven2) #1

Closed feraudet closed 2 years ago

feraudet commented 2 years ago

Hello,

I get this error when trying to compile this project :

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.758 s
[INFO] Finished at: 2022-05-12T21:42:20+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project keycloak-magic-link: Could not resolve dependencies for project io.phasetwo.keycloak:keycloak-magic-link:jar:0.1-SNAPSHOT: Could not find artifact org.keycloak:keycloak-testsuite-utils:jar:17.0.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
[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/DependencyResolutionException

Any idea ?

Thanks in advance

D3f3nd commented 2 years ago

Hello ,

I got the same error. Build on W10 with:

Thanks

xgp commented 2 years ago

Per the comment in the pom.xml:

if you're getting a missing dependency error here, you need to install keycloak from source locally, as this never hits maven central

Where "this" is the keycloak-testsuite-utils jar.

I went ahead and removed the dependency from the pom. Please try it again @D3f3nd @feraudet and let me know if it works for you.

xgp commented 2 years ago

Resolved in 1f6e251