This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 61f5831400 Improved: Upgrade Apache Shiro from 1.13.0 to 2.0.0
(OFBIZ-12961)
61f5831400 is described below
commit 61f58314007f182962a0f1b5c2fd0eb9c8801b15
Author: Jacques Le Roux <[email protected]>
AuthorDate: Sat Mar 23 19:33:43 2024 +0100
Improved: Upgrade Apache Shiro from 1.13.0 to 2.0.0 (OFBIZ-12961)
Temporary workaround to compile Shiro 2.0.0 without LDAP
Thanks: Daniel for the track on dev ML
---
dependencies.gradle | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dependencies.gradle b/dependencies.gradle
index b1a2e29c5c..54b468b091 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -82,6 +82,11 @@ dependencies {
implementation 'xerces:xercesImpl:2.12.2'
implementation 'org.mustangproject:library:2.8.0' // 2.10.0 did not work,
cf. OFBIZ-12920
(https://github.com/apache/ofbiz-framework/pull/712#issuecomment-1968960963)
+ // Temporary workaround to compile Shiro 2.0.0 without LDAP
+ implementation 'org.apereo.cas:cas-server-core-api-authentication:5.0.10'
+ implementation 'org.apereo.cas:cas-server-core-util:5.0.10'
+ implementation 'org.apereo.cas:cas-server-support-ldap-core:5.0.10'
+
testImplementation 'org.hamcrest:hamcrest-library:2.2' // Enable junit4 to
not depend on hamcrest-1.3
testImplementation 'org.mockito:mockito-core:5.10.0'