Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed maven build with keycloak 8 and upper #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dvlpphb
Copy link

@dvlpphb dvlpphb commented Mar 18, 2022

It builds until 7.1 version:

https://access.redhat.com/webassets/avalon/d/red-hat-single-sign-on/version-7.1/javadocs/org/keycloak/models/AuthenticationExecutionModel.Requirement.html

It break down since 8.0 version:

https://www.keycloak.org/docs-api/9.0/javadocs/org/keycloak/models/AuthenticationExecutionModel.Requirement.html

OPTIONAL has became CONDITIONAL 

[INFO] -------------------------------------------------------------                                                                                                                 

[INFO] ------------------------------------------------------------------------                                                                                                      

[INFO] Reactor Summary for Keycloak Experimental Parent 0.1-SNAPSHOT:                                                                                                                

[INFO]                                                                                                                                                                               

[INFO] Keycloak Experimental Parent ....................... SUCCESS [  3.881 s]                                                                                                      

[INFO] Magic Link ......................................... FAILURE [ 29.272 s]                                                                                                      

[INFO] ------------------------------------------------------------------------                                                                                                      

[INFO] BUILD FAILURE                                                                                                                                                                 

[INFO] ------------------------------------------------------------------------                                                                                                      

[INFO] Total time:  34.536 s                                                                                                                                                         

[INFO] Finished at: 2022-03-18T14:47:32Z                                                                                                                                             

[INFO] ------------------------------------------------------------------------                                                                                                      

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project magic-link: Compilation failure                             

[ERROR] /usr/src/mymaven/magic-link/src/main/java/org/keycloak/experimental/magic/MagicLinkFormAuthenticatorFactory.java:[39,48] error: cannot find symbol    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant