Understood about cas-management-overlay  master gradle.properties uses 
6.1.0-RC4 

Up until recently was able to use the values from cas-management code repo 
(master) as it had some important bug fixes compared to 6.1.0-RC4.
Not being able to select attributes to release was a deal breaker for me 
(bug). That patch was Dec 10 2019. 

Now can no longer build it as it depends on cas-xyz 6.1.4-SNAPSHOT that 
looks like it is gone from the repositories list.

Here is a delta from cas-management-overlay and extracted from 
cas-management 
Total 3 files affected, 2 changed, 1 added

1) gradle.properties 
---------------
casmgmt.version=6.1.4-SNAPSHOT
springBootVersion=2.2.0.M3

cas.version=6.1.4-SNAPSHOT

# Use -jetty, -undertow to other containers
# Or blank if you want to deploy to an external container
# appServer=-tomcat
appServer=

sourceCompatibility=11
targetCompatibility=11

gradleVersion=5.6.2

gradleMavenPluginVersion=3.8.4

gradleLombokVersion=3.2.0
lombokVersion=1.18.10

--------------------
2) build.gradle compare to default cas-management-overlay build.gradle 
1 added repo location, and about 13 lines added to dependencies list as 
shown
...
repositories {
    mavenLocal()
    mavenCentral()
    jcenter()
    maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
    maven { url 
'https://build.shibboleth.net/nexus/content/repositories/releases/' }
    maven { url "https://repo.spring.io/milestone/"; }
    maven { url "https://oss.jfrog.org/artifactory/oss-snapshot-local"; }

    // Added
    maven { url "https://repo.spring.io/snapshot/"; }
}
...
dependencies {
    // Other CAS Management dependencies/modules may be listed here...
    if (project.hasProperty("external")) {
        compile 
"org.apereo.cas:cas-mgmt-webapp:${project.'casmgmt.version'}"
    } else {
        compile 
"org.apereo.cas:cas-mgmt-webapp${project.appServer}:${project.'casmgmt.version'}"
    }
    compile 
"org.apereo.cas:cas-mgmt-core-authentication:${project.'casmgmt.version'}"
    compile 
"org.apereo.cas:cas-mgmt-core-authz:${project.'casmgmt.version'}"
    compile 
"org.apereo.cas:cas-mgmt-config-authz-ldap:${project.'casmgmt.version'}"
    compile 
"org.apereo.cas:cas-server-support-ldap:${project.'cas.version'}"
    compile 
"org.apereo.cas:cas-server-support-jdbc-drivers:${project.'cas.version'}"
    compile 
"org.apereo.cas:cas-server-support-jpa-service-registry:${project.'cas.version'}"
    compile "org.apereo.cas:cas-mgmt-api-core:${project.'casmgmt.version'}"
    compile "org.projectlombok:lombok:1.18.8"
}

--- added file on the same folder as gradle.properties, I think I needed it 
when tried to recompile code, do not remember at this point
3) lombok.config file contents
lombok.log.fieldName=LOGGER
lombok.log.fieldIsStatic=true

lombok.toString.doNotUseGetters=true
lombok.equalsAndHashCode.doNotUseGetters=true

lombok.addLombokGeneratedAnnotation = true

config.stopBubbling=true
-----------------------------------------------

Appreciate your help. 
Open to entire recompile of cas-management but whatever tried before could 
not make it compatible to use main release of cas main repo i.e. cas 6.1.4+

If you happen to have recompile gradle.properties, build.gradle and 
equivalent, much appreciated.

Thanks.





On Tuesday, July 14, 2020 at 1:16:55 PM UTC-4 Ray Bon wrote:

> Where did you get that version of cas-management overlay?
> From https://github.com/apereo/cas-management-overlay, master is at 
> 6.1.0-RC4
>
> You could just drop -snapshot.
>
> Ray
>
> On Tue, 2020-07-14 at 09:24 -0700, randomuser878 wrote:
>
> Hello
>
>   unable to re-build cas-management overlay master (6.1.4-snapshot) any 
> longer. The dependencies to cas 6.1.4-snapshot is becoming an issue.
>   
>   1) if anyone knows how to decouple dependency on cas 6.1.4-snapshot 
> through build.gradle or gradle.properites and use say 6.1.4 or higher, that 
> would be much appreciated.
>  2) cas 6.1.4-snapshot repos looks like they are gone. If you know an 
> additional base URL where they can be found, much appreciated.
>    checked at - and followed subfolder(s) example cas-server-support-ldap
>     https://repo.maven.apache.org/maven2/org/apereo/cas
>     https://jcenter.bintray.com/org/apereo/cas/
>     
> https://oss.sonatype.org/content/repositories/snapshots/org/apereo/cas/cas-server-support-ldap/
>   
>
>    The last URL you have to follow per module and the last url now 
> contains only 6.1.7 snapshot of cas.  I suspect this is the point of 
> failure.
>
>    Thanks.
>
>    
>   
>
> -- 
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 <(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.
>

-- 
- 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/02918105-d2f6-4248-a83a-94540665cbd1n%40apereo.org.

Reply via email to