From 888cbe5a3b56a1a8aece043bc873aeca525d56d4 Mon Sep 17 00:00:00 2001
From: Sam Ottenhoff <ottenhoff@longsight.com>
Date: Thu, 18 Apr 2024 14:57:28 -0400
Subject: [PATCH] Dependency updates for 23.x

(cherry picked from commit 52ea5c9040bca4bbd55d44558c539bcae05c16ef)
---
 .github/workflows/maven.yml | 25 +++++++++++++++++++++++++
 api/pom.xml                 |  4 ----
 impl/pom.xml                |  4 ----
 3 files changed, 25 insertions(+), 8 deletions(-)
 create mode 100644 .github/workflows/maven.yml

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000..3d88843
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,25 @@
+# This workflow will build a Java project with Maven
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+
+name: Java CI with Maven
+
+on:
+  push:
+  pull_request:
+
+jobs:
+  build:
+    runs-on: ubuntu-22.04
+    steps:
+      - name: Git Checkout
+        uses: actions/checkout@v4
+      - name: JDK 11
+        uses: actions/setup-java@v4
+        with:
+          java-version: 11
+          distribution: 'temurin'
+          cache: 'maven'
+      - name: Build with Maven
+        env:
+          MAVEN_OPTS: -Djava.awt.headless=true -Dorg.slf4j.simpleLogger.defaultLogLevel=info -Dmaven.wagon.http.retryHandler.count=2 -Dmaven.wagon.http.pool=true
+        run: mvn --batch-mode clean install -Psnapshots -V -B
diff --git a/api/pom.xml b/api/pom.xml
index 6589936..4fb6965 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -33,10 +33,6 @@
             <groupId>org.sakaiproject.kernel</groupId>
             <artifactId>sakai-kernel-api</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.sakaiproject.kernel</groupId>
-            <artifactId>sakai-kernel-private</artifactId>
-        </dependency>
     </dependencies>
 
     <build>
diff --git a/impl/pom.xml b/impl/pom.xml
index 791b771..6e781a4 100644
--- a/impl/pom.xml
+++ b/impl/pom.xml
@@ -36,10 +36,6 @@
             <groupId>org.sakaiproject.kernel</groupId>
             <artifactId>sakai-kernel-api</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.sakaiproject.kernel</groupId>
-            <artifactId>sakai-kernel-private</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-tx</artifactId>