cas 6.2 build using overlay with monitor support is not working

28 views
Skip to first unread message

Ahmad Jeidani

unread,
Nov 7, 2019, 3:32:45 AM11/7/19
to CAS Community
Dear,
I am new to cas family. I am trying to build cas 6.2. with monitoring support using this guide: https://apereo.github.io/2019/11/03/cas62-gettingstarted-overlay/ but no success.
 I tried to build without monitoring support, the build was successful.

Please, any help

Here are my configs:
build.gradle:
           dependencies {
                         compile "org.apereo.cas:cas-server-support-ldap:${casServerVersion}"
                         compile "org.apereo.cas:cas-server-support-monitor:${casServerVersion}"
           }

gradle.properties:
           # Versions
           cas.version=6.2.0-RC1-SNAPSHOT
           springBootVersion=2.2.0.RELEASE

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

           gradleVersion=5.6.3
           tomcatVersion=9.0.27




Errors:

> Task :bootWar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootWar'.
> Could not resolve all files for configuration ':runtimeClasspath'.
   > Could not find org.apereo.cas:cas-server-support-monitor:6.2.0-RC1-SNAPSHOT.
     Searched in the following locations:
       - file:/root/.m2/repository/org/apereo/cas/cas-server-support-monitor/6.2.0-RC1-SNAPSHOT/maven-metadata.xml
       - file:/root/.m2/repository/org/apereo/cas/cas-server-support-monitor/6.2.0-RC1-SNAPSHOT/cas-server-support-monitor-6.2.0-RC1-SNAPSHOT.pom
       - file:/root/.m2/repository/org/apereo/cas/cas-server-support-monitor/6.2.0-RC1-SNAPSHOT/cas-server-support-monitor-6.2.0-RC1-SNAPSHOT.jar
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 20s
2 actionable tasks: 1 executed, 1 up-to-date
[root@oraclelnx01 cas-overlay-template-master]#

Reply all
Reply to author
Forward
0 new messages