Building 7.0.0-RC7 from SNAPSHOT, w/out java 21?

61 views
Skip to first unread message

Baron Fujimoto

unread,
Oct 13, 2023, 9:21:04 PM10/13/23
to CAS Community
Since 7.0.0-RC8 was released with the dependency on Java 21, I've been unable to successfully build CAS. RedHat currently doesn't offer openjdk-21 via their repos (maybe available in Nov via RHEL 8.9?), and we'd rather not jump through the complications of installing it from somewhere other than their officially supported repo, so we're stuck at Java 17 for the time being.

I've been unable to get RC7 to build again now from SNAPSHOT, even if I use our previously working gradle.properties where we specify the specific versions with:

version=7.0.0-RC7
cas.version=7.0.0-RC7

and 

sourceCompatibility=17
targetCompatibility=17

Attempts to build fail because it can't find SNAPSHOT dependencies. E.g.:

   > Could not find org.opensaml:opensaml-core-api:5.0.0-SNAPSHOT.
   > Could not find org.opensaml:opensaml-xmlsec-impl:5.0.0-SNAPSHOT.
   > Could not find org.opensaml:opensaml-saml-api:5.0.0-SNAPSHOT.
   > [etc]

Can anyone provide any guidance on what we need to do to stick with and successfully build RC7?
--
Baron Fujimoto <ba...@hawaii.edu> ::: UH Information Technology Services
minutas cantorum, minutas balorum, minutas carboratum descendus pantorum

Baron Fujimoto

unread,
Oct 23, 2023, 10:54:03 PM10/23/23
to CAS Community
Iʻve isolated the dependency in build.gradle that causes this problem for us:

    implementation "org.apereo.cas:cas-server-support-saml"

I believe if you're using CAS Initializr, it's the "SAML1 Support " dependency. I think this dependency is required for samlValidate?

Is there a workaround to still build 7.0.0-RC7 with cas-server-support-saml (because weʻre trying to avoid the jdk21 requirement) from the current template overlay master branch?
Reply all
Reply to author
Forward
0 new messages