This is an old revision of the document!
update d'une version CAS a une autres, exemple ici passage d'un 7.1.4 a 7.2.6
l'objectif etant de conserver nos parametrage, dependencies ldap, CSS / views etc …
summary
OpenRewrite recipes are produced by CAS itself and are essentially YAML files that make minimally invasive changes to your CAS build allowing you to upgrade from one version to the next with minimal effort. The recipe contains almost everything that is required for a CAS build system to navigate from one version to other and automates tedious aspects of the upgrade such as finding the correct versions of CAS, relevant libraries and plugins as well as any possible structural changes to one’s CAS build.
[root@cas cas-overlay-template]# ./gradlew casVersion --no-configuration-cache -q Using Amazon Corretto as the JVM vendor for the Java toolchain Building CAS version 7.1.4 with application server -tomcat 7.1.4
ask the build to discover and list all upgrade recipes that might be applicable for the task at hand
[root@cas cas-overlay-template]# time ./gradlew --init-script openrewrite.gradle rewriteDiscover -PtargetVersion=7.2.6 --no-configuration-cache --no-daemon | grep "org.apereo.cas"
org.apereo.cas.cas726
org.apereo.cas.cas725
org.apereo.cas.cas724
org.apereo.cas.cas720
org.apereo.cas.cas721
org.apereo.cas.cas723
org.apereo.cas.cas722
org.apereo.cas.cas710-RC5
org.apereo.cas.cas710-RC6
org.apereo.cas.cas710-RC2
org.apereo.cas.cas710-RC1
org.apereo.cas.cas720-RC1
org.apereo.cas.cas710
org.apereo.cas.cas720-RC2
org.apereo.cas.cas720-RC3
org.apereo.cas.cas720-RC6
org.apereo.cas.cas700
org.apereo.cas.cas720-RC4
org.apereo.cas.cas720-RC5
real 0m31.579s