From 34b11ef3a712bfc0b96b3975543e970b4f321d40 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Fri, 8 Dec 2023 09:57:44 +0100 Subject: [PATCH 1/5] pom: Update drools dependency to latest stable release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b0734e4..9b45d49 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,7 @@ 4.4 3.12.0 7.11.1 - 8.35.0.Final + 8.44.0.Final 2.14.1 5.9.2 1.4.4 From 5c67cbcab735cb6a08c6cfeff564c9d7b73674e2 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Fri, 8 Dec 2023 09:58:18 +0100 Subject: [PATCH 2/5] pom: Update logback dependency to latest stable release This fixes a vulnerability in logback < 1.4.12. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9b45d49..c91bfac 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ 8.44.0.Final 2.14.1 5.9.2 - 1.4.4 + 1.4.14 3.9.1 4.6.3 3.1.0 From 4122eee084d09c31a58eb82320d311721ff1da2d Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Fri, 8 Dec 2023 10:20:11 +0100 Subject: [PATCH 3/5] workflows: Update checkout and setup-java actions to v4 --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8636afe..b6d711b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,8 +17,8 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '11' distribution: 'adopt' From 12a648e8379abb47eaa4f1c23e0c3c465adfb04e Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Fri, 8 Dec 2023 10:21:03 +0100 Subject: [PATCH 4/5] workflows: Add workflow to run unit tests on every push and PR --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5b276d9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Build and run unit tests +on: + push: + pull_request: + + # Allows to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'adopt' + - name: Build and run unit tests + run: mvn --batch-mode clean package From f5c8343783ccec4b3dc146856634d2144e7e9e38 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Fri, 8 Dec 2023 11:53:17 +0100 Subject: [PATCH 5/5] pom: Fix warnings during maven "package" phase --- pom.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c91bfac..5145fec 100644 --- a/pom.xml +++ b/pom.xml @@ -384,6 +384,12 @@ + + + + jakarta.activation:jakarta.activation-api + + *:* @@ -391,7 +397,7 @@ LICENSE NOTICE about.html - module-info.class + **/module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA