Skip to content

Commit cdc7f3e

Browse files
committed
Merge tag '21.3.1' into develop
Upgrade logger for CAS 6.2.x
2 parents 1a178d6 + 0c2fc02 commit cdc7f3e

4 files changed

Lines changed: 34 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
We follow the CalVer (https://calver.org/) versioning scheme: YY.MINOR.MICRO.
44

5+
21.3.1 (12-14-2021)
6+
===================
7+
8+
Upgrade logger for CAS 6.2.x
9+
510
21.3.0 (07-19-2021)
611
===================
712

build.gradle

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,26 @@ dependencies {
160160
implementation "org.jasig.cas.client:cas-client-core:${casClientVersion}"
161161
// The SAML module supports SAML validation for CAS-PAC4J institution SSO
162162
implementation "org.jasig.cas.client:cas-client-support-saml:${casClientVersion}"
163+
164+
// Log4j
165+
implementation("org.apache.logging.log4j:log4j-api:$log4jVersion") {
166+
exclude(group: "org.slf4j", module: "slf4j-api")
167+
}
168+
implementation("org.apache.logging.log4j:log4j-core:$log4jVersion") {
169+
exclude(group: "org.slf4j", module: "slf4j-api")
170+
}
171+
implementation("org.apache.logging.log4j:log4j-jcl:$log4jVersion") {
172+
exclude(group: "org.slf4j", module: "slf4j-api")
173+
}
174+
implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion") {
175+
exclude(group: "org.slf4j", module: "slf4j-api")
176+
}
177+
implementation("org.apache.logging.log4j:log4j-web:$log4jVersion") {
178+
exclude(group: "org.slf4j", module: "slf4j-api")
179+
}
180+
implementation("org.apache.logging.log4j:log4j-slf4j18-impl:$log4jVersion") {
181+
exclude(group: "org.slf4j", module: "slf4j-api")
182+
}
163183
}
164184

165185
tasks.findByName("jibDockerBuild")

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ gsonVersion=2.8.6
3333
hibernateCoreVersion=5.4.21.Final
3434
nimbusJoseVersion=8.20.1
3535
springBootTomcatVersion=9.0.37
36+
log4jVersion=2.15.0

gradle/springboot.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,14 @@ bootWar {
9494
// skip = false // the same as enabled = true
9595
provided = false
9696
enableCompilation = true
97-
// excludes = []
97+
excludes = [
98+
"WEB-INF/lib/log4j-api-2.13.3.jar",
99+
"WEB-INF/lib/log4j-core-2.13.3.jar",
100+
"WEB-INF/lib/log4j-jcl-2.13.3.jar",
101+
"WEB-INF/lib/log4j-jul-2.12.1.jar",
102+
"WEB-INF/lib/log4j-slf4j18-impl-2.13.3.jar",
103+
"WEB-INF/lib/log4j-web-2.13.3.jar"
104+
]
98105
// includes = []
99106
// targetPath = "" // the content of the overlay is added in the root structure of the webapp by default
100107
}

0 commit comments

Comments
 (0)