Ray,

Thanks for the link.  Great to see work on initializr moving forward as it 
addresses a lot of the dependency/feature learning curve.

Just decided to give cas via initalizr a try.  Unfortunately the “./gradlew 
clean build” fails with the following error:

* What went wrong:
Execution failed for task ':compileJava'.
> error: release version 11 not supported

I thought Java 11 is the target version for CAS 6.3?

From: [email protected] <[email protected]> On Behalf Of Ray Bon
Sent: Tuesday, March 2, 2021 6:22 PM
To: [email protected]
Subject: [EXTERNAL SENDER] Re: [cas-user] pom.xml dependencies -> 6.3.x?

Bill,

In build.gradle, there is a top level dependencies section (not the one in 
buildscript). You add your dependency with:

    runtimeOnly "org.apereo.cas:cas-server-support-ldap:${casServerVersion}"

Check this blog for an example, 
https://fawnoos.com/2020/11/09/cas63-gettingstarted-overlay/.

Ray

On Tue, 2021-03-02 at 13:18 -0800, Bill Scully wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Hi,

I am coming from working with 5.2.x, trying to start fresh with 6.3.x and 
having a difficult time wrapping my head around including dependencies in the 
overlay.  For example, in 5.2.x, I would add the following in pom.xml:

<dependency>
        <groupId>org.apereo.cas</groupId>
        <artifactId>cas-server-support-ldap</artifactId>
        <version>${cas.version}</version>
</dependency>

The same format is listed at 
https://apereo.github.io/cas/6.3.x/installation/LDAP-Authentication.html.  
However, I can't find where pom.xml is used in 6.x and it appears that 
dependencies must now be placed in build.gradle in a different format, 
different that the documented format above.

Sorry, you guys must roll you eyes reading this, but my brain is about to 
explode trying to figure out what I am missing.

Thanks for reading this and any guidance you can offer.

Bill


--
Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.
--
- 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/8e63b0f705a3f9fef3a49b79153e9ef2149d4b0d.camel%40uvic.ca<https://groups.google.com/a/apereo.org/d/msgid/cas-user/8e63b0f705a3f9fef3a49b79153e9ef2149d4b0d.camel%40uvic.ca?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/2ccfcf3d6bff45c2932400f983a91eb4%40mun.ca.

Reply via email to