Skip to content

fixed maven build with keycloak 8 and upper#5

Open
dvlpphb wants to merge 1 commit intostianst:mainfrom
dvlpphb:feature/magic-link-fix-compatibility-with-keycloak-upper-to-7
Open

fixed maven build with keycloak 8 and upper#5
dvlpphb wants to merge 1 commit intostianst:mainfrom
dvlpphb:feature/magic-link-fix-compatibility-with-keycloak-upper-to-7

Conversation

@dvlpphb
Copy link
Copy Markdown

@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