Just to close the circle.  This issue is now resolved with Initializr.

From: [email protected] <[email protected]> On Behalf Of King, Robert
Sent: Friday, November 17, 2023 9:09 AM
To: CAS Community <[email protected]>
Subject: [cas-user] RE: [EXTERNAL SENDER] Re: Initializr cas-overlay 6.6.13 
build issue

It does not,  which is the point.  Initializr switched from 
“support-discovery-profile” to “support-discovery-profile-core” and that breaks 
the gradle build.

[cid:[email protected]]

From: Meysam Shirazi <[email protected]<mailto:[email protected]>>
Sent: Thursday, November 16, 2023 5:23 PM
To: CAS Community <[email protected]<mailto:[email protected]>>
Cc: King, Robert <[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL SENDER] Re: Initializr cas-overlay 6.6.13 build issue

Hi
The CAS repository does not contain the 
cas-server-support-discovery-profile-core module!

On Thursday, November 16, 2023 at 11:00:31 PM UTC+3:30 King, Robert wrote:
Folks,

Looks like there is an issue with Initializr and the gradle build process.

How to reproduce:

curl https://casinit.herokuapp.com/starter.tgz -d casVersion=6.6.13 -d 
type=cas-overlay -d 
dependencies="support-ldap,support-saml,support-saml-idp,support-hazelcast-ticket-registry,support-hazelcast-monitor,support-jdbc,support-jdbc-monitor,support-simple-mfa,support-git-service-registry,support-reports,support-metrics,support-monitor,support-discovery-profile-core,support-consent-webflow"
 | tar -xzvf –

./gradlew clean build setExecutable

Gradle fails to build:

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.apereo.cas:cas-server-support-discovery-profile-core:.
     Required by:
         project :

If you modify build.gradle and make the following change on line 293:

implementation "org.apereo.cas:cas-server-support-discovery-profile-core"
to:
implementation "org.apereo.cas:cas-server-support-discovery-profile"

Then the gradle build completes successfully.

So it looks to me like maybe the dependencies reference should be 
support-discovery-profile and not support-discovery-core?
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/DS7PR17MB6730CB81B56E4C5A5DD71AB1B4B7A%40DS7PR17MB6730.namprd17.prod.outlook.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/DS7PR17MB6730CB81B56E4C5A5DD71AB1B4B7A%40DS7PR17MB6730.namprd17.prod.outlook.com?utm_medium=email&utm_source=footer>.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/DS7PR17MB67301746262F4C313CD8B9C1B4BBA%40DS7PR17MB6730.namprd17.prod.outlook.com.

Reply via email to