Building a codebase in 7.2.0

60 views
Skip to first unread message

Alexis G.

unread,
Apr 22, 2025, 6:39:03 AM4/22/25
to CAS Community

Hello everyone,


First of all, we have a CAS instance in production in version 5.X that was never updated and the guy who was in charge of it left my company before i arrived in october, 2023.


I've been able to deploy a CAS 7.2.0 version with mfa-gauth, mfa-simple (only for mails) and a few modules to handle device/trusted devices storage etc.

I've been attempting to build a CAS 7.2.0 codebase following the official documentation, but encountered persistent build failures across different environments.


Environment 1: Windows 10/WSL + Eclipse
  • Gradle Buildship installed but project shows "small red cross" icon

  • Gradle tasks unavailable despite multiple refreshes

  • Abandoned due to incomprehensible errors and in favour of a full Linux environment on which (i think) problems with Windows "compatibility" would've been avoided

Environment 2: Red Hat 9.4 (Java 21, Gradle 8.13)

Build failure during ./gradlew build --parallel -x test -x javadoc -x check --build-cache --configure-on-demand:

* What went wrong: Execution failed for task ':support:cas-server-support-bootadmin:compileJava'. > Compilation failed; see the compiler output below. /cas-server/support/cas-server-support-bootadmin/src/main/java/org/apereo/cas/config/CasSpringBootAdminAutoConfiguration.java:125: warning: [removal] AntPathRequestMatcher in org.springframework.security.web.util.matcher has been deprecated and marked for removal new AntPathRequestMatcher(adminContextPath + "/**")).authenticated()
Objective

I need a functional 7.2.0 codebase to:

  1. Implement modifications to the mfa-gauth module (particularly device management controls)

  2. Generate a deployable WAR for our existing CAS infrastructure (currently using Initializr-based deployment with JSON service registry and database-backed trusted device & device storage)

  3. Potentially contribute improvements via pull requests

Any guidance on resolving these build issues would be greatly appreciated.

Any help will be appreciated.

Thank you for your understanding and expertise.

Best regards,

Alexis.

Ray Bon

unread,
Apr 22, 2025, 10:01:20 PM4/22/25
to cas-...@apereo.org
Alexis,


Ray

From: 'Alexis G.' via CAS Community <cas-...@apereo.org>
Sent: April 22, 2025 03:12
To: CAS Community <cas-...@apereo.org>
Subject: [cas-user] Building a codebase in 7.2.0
 
--
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/d0f666c5-b2cc-411c-861c-b66cd1816cb0n%40apereo.org.

Alexis G.

unread,
Apr 24, 2025, 5:37:55 AM4/24/25
to CAS Community, Ray Bon
Ray,

Thank you very much for this information and for your time.
I'm sorry to have made you lose time answering me as i could have searched for this mailing list by myself.

Have a good day,
Best regards,
Alexis.

Reply all
Reply to author
Forward
0 new messages