Bill,

The 'runtimeOnly' bit is part of gradle (there are identifiers for 
'implementation' 'testCompileOnly' etc). The gradle docs really do not describe 
what these options mean or how/when to use them. You will have to search some 
blogs if you want to understand the dependency section of gradle.
For Cas, runtimeOnly will cover the configuration dependencies (since they are 
pulled in as jars during the build). If you are overriding classes, other 
dependency identifiers will be required.

Ray

On Wed, 2021-03-03 at 08:31 -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 Ray,

Thanks a lot for your help.

I had seen that blog before posting in this forum, but wondered how those 
instructions reconciled with the guidance on 
https://apereo.github.io/cas/6.3.x/.  I am trying to be independent of forums, 
so as not to bother you guys with basic learning curve questions, but am 
personally finding gaps in official documentation and getting CAS configured 
and running.  I suppose I really am missing something.

Is there somewhere on https://apereo.github.io/cas/6.3.x/ that I could have 
figured "runtimeOnly 
"org.apereo.cas:cas-server-support-ldap:${casServerVersion}" out and that you 
could point me to?  I am more than happy to do the grunt work and really don't 
want to bother everyone with my simple questions.

Thanks again for your help.

Bill

On Tuesday, March 2, 2021 at 3:51:42 PM UTC-6 Ray Bon wrote:
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<tel:(250)%20721-8831> | CLE 019 | [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.


--

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].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/2bfb00a865aa1339d60dd6ca855e7c273ac0dfe3.camel%40uvic.ca.

Reply via email to