Hi, thank you for responding, I am not able to add the dependency that you
suggest. I attached my build.gradle, could you help me?
buildscript {
repositories {
mavenLocal()
gradlePluginPortal()
mavenCentral()
jcenter()
maven {
url "https://repo.spring.io/libs-milestone"
mavenContent { releasesOnly() }
}
maven {
url "https://repo.spring.io/libs-snapshot"
mavenContent { snapshotsOnly() }
}
maven {
url "https://plugins.gradle.org/m2/"
mavenContent { releasesOnly() }
}
}
dependencies {
classpath
"de.undercouch:gradle-download-task:${project.gradleDownloadTaskVersion}"
classpath
"org.springframework.boot:spring-boot-gradle-plugin:${project.springBootVersion}"
classpath
"gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:${project.jibVersion}"
classpath
"io.freefair.gradle:maven-plugin:${project.gradleMavenPluginVersion}"
classpath
"io.freefair.gradle:lombok-plugin:${project.gradleLombokPluginVersion}"
classpath "org.apereo.cas.authentication.principal.ClientCredential"
}
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent { snapshotsOnly() }
}
maven {
mavenContent { releasesOnly() }
url
"https://build.shibboleth.net/nexus/content/repositories/releases/"
}
maven {
mavenContent { releasesOnly() }
url "https://repo.spring.io/milestone/"
}
maven {
url "https://repo.spring.io/snapshot/"
mavenContent { snapshotsOnly() }
}
maven {
mavenContent { snapshotsOnly() }
url "https://oss.jfrog.org/artifactory/oss-snapshot-local"
}
}
def casServerVersion = project.'cas.version'
def casWebApplicationBinaryName = "cas.war"
project.ext."casServerVersion" = casServerVersion
project.ext."casWebApplicationBinaryName" = casWebApplicationBinaryName
apply plugin: "io.freefair.war-overlay"
apply plugin: "io.freefair.lombok"
apply from: rootProject.file("gradle/tasks.gradle")
apply plugin: "war"
apply plugin: "eclipse"
apply plugin: "idea"
apply from: rootProject.file("gradle/springboot.gradle")
apply from: rootProject.file("gradle/dockerjib.gradle")
dependencies {
// Other CAS dependencies/modules may be listed here...
implementation
"org.apereo.cas:cas-server-support-rest-authentication:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-support-pac4j-authentication:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-support-pac4j-webflow:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-core-api-authentication:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-support-pac4j-core:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-core-web-api:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-core-authentication-api:${project.'cas.version'}"
compile
"org.apereo.cas:cas-server-support-google-analytics:${project.'cas.version'}"
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:
'2.17.0'
compile group: 'org.bitbucket.b_c', name: 'jose4j', version: '0.7.0'
}
tasks.findByName("jibDockerBuild")
.dependsOn(copyWebAppIntoJib, copyConfigIntoJib)
.finalizedBy(deleteWebAppFromJib)
tasks.findByName("jib")
.dependsOn(copyWebAppIntoJib, copyConfigIntoJib)
.finalizedBy(deleteWebAppFromJib)
configurations.all {
resolutionStrategy {
cacheChangingModulesFor 0, "seconds"
cacheDynamicVersionsFor 0, "seconds"
preferProjectModules()
def failIfConflict = project.hasProperty("failOnVersionConflict")
&& Boolean.valueOf(project.getProperty("failOnVersionConflict"))
if (failIfConflict) {
failOnVersionConflict()
}
}
}
eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
}
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
El domingo, 31 de diciembre de 2023 a las 5:41:03 UTC-3, Meysam Shirazi
escribió:
> Hi,
> Check your dependencies(cas-server-support-pac4j-api) in your build.gradle
> file.
>
> On Friday, December 29, 2023 at 5:39:11 PM UTC+3:30 Danielo De León wrote:
>
>> Hi,
>> I am having problems updating cas 6.3.7.4 to 6.6.14, when I do ./gradlew
>> clean explodeWar I get error messages like this:
>>
>> /opt/workspace/cas-overlay-template/src/main/java/org/apereo/cas/support/pac4j/authentication/handler/support/DelegatedClientAuthenticationHandler.java:13:
>>
>> error: cannot find symbol
>> import org.apereo.cas.authentication.principal.ClientCredential;
>>
>> Any ideas?
>>
>
--
- 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/614118f1-533b-46db-a315-bad57780a5d7n%40apereo.org.