Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docpublic:systemes:ssocas:cas7update [2026/02/01 21:37]
adminjp [update]
docpublic:systemes:ssocas:cas7update [2026/02/01 21:51] (current)
adminjp [build errors]
Line 264: Line 264:
     }     }
 } }
 +</code>
 +
 +puis erreur 
 +
 +<code>
 +* Where:
 +Build file '/opt/cas-src/cas-overlay-template-7u/build.gradle' line: 90
 +
 +* What went wrong:
 +A problem occurred evaluating root project 'cas'.
 +> Could not resolve all artifacts for configuration 'classpath'.
 +   > Could not find org.apereo.cas:cas-server-core-configuration-metadata-repository:7.2.7.
 +     Searched in the following locations:
 +       - file:/root/.m2/repository/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.7/cas-server-core-configuration-metadata-repository-7.2.7.pom
 +       - https://repo.maven.apache.org/maven2/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.7/cas-server-core-configuration-metadata-repository-7.2.7.pom
 +       - https://plugins.gradle.org/m2/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.7/cas-server-core-configuration-metadata-repository-7.2.7.pom
 +       - https://repo.spring.io/milestone/org/apereo/cas/cas-server-core-configuration-metadata-repository/7.2.7/cas-server-core-configuration-metadata-repository-7.2.7.pom
 +     Required by:
 +         unspecified:unspecified:unspecified
 +</code>
 +
 +line 90 de build.gradle appel 
 +
 +apply from: rootProject.file("gradle/tasks.gradle")
 +
 +# vim /opt/cas-src/cas-overlay-template-7u/gradle/tasks.gradle
 +
 +on comment alors tout le dernier bloc 
 +
 +<code>
 +/* task exportConfigMetadata(group: "CAS", description: "Export collection of CAS properties") {
 +    def file = new File(project.rootDir, 'config-metadata.properties')
 +    def queryType = ConfigurationMetadataCatalogQuery.QueryTypes.CAS
 +...
 +       }
 +        println "Configuration metadata is available at ${file.absolutePath}"
 +    }
 +} */
 +</code>
 +
 +cela build enfin 
 +
 +<code>
 +[root@cas7dev cas-overlay-template-7u]#  ./gradlew clean copyCasConfiguration build --no-daemon
 +To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.13/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
 +Daemon will be stopped at the end of the build 
 +Configuration on demand is an incubating feature.
 +
 +> Configure project :
 +Using Amazon Corretto as the JVM vendor for the Java toolchain
 +Building CAS version 7.2.7 with application server -tomcat
 +
 +[Incubating] Problems report is available at: file:///opt/cas-src/cas-overlay-template-7u/build/reports/problems/problems-report.html
 +
 +Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
 +
 +You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
 +
 +For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
 +
 +BUILD SUCCESSFUL in 1m 6s
 +9 actionable tasks: 9 executed
 +
 +[root@cas7dev cas-overlay-template-7u]# ls -l ./build/libs/
 +total 125420
 +-rwxr--r-- 1 root root 128428810 Feb  1 21:46 cas.war
 </code> </code>
 ==== 2 correctifs GPT ==== ==== 2 correctifs GPT ====
docpublic/systemes/ssocas/cas7update.txt · Last modified: 2026/02/01 21:51 by adminjp
[unknown link type]Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0