Skip to content

Commit 6cad4da

Browse files
committed
Upgrade some dependencies and plugins, and the CI actions in the .github maven.yaml file.
1 parent cbf5bb5 commit 6cad4da

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

.github/workflows/maven.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
14-
- name: Set up JDK 1.8
15-
uses: actions/setup-java@v1
14+
- name: Set up JDK 8
15+
uses: actions/setup-java@v3
1616
with:
17-
java-version: 1.8
18-
- name: Run spotless check
17+
java-version: '8'
18+
distribution: 'zulu'
19+
- name: Run Spotless check
1920
run: mvn spotless:check
2021
- name: Run unit tests
2122
run: mvn test

pom.xml

+21-21
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@
619619
<dependency>
620620
<groupId>commons-codec</groupId>
621621
<artifactId>commons-codec</artifactId>
622-
<version>1.15</version>
622+
<version>1.16.0</version>
623623
</dependency>
624624

625625
<!-- mvn dependency:analyze says this is an unused declared dependency, but its wrong. Get this runtime error if it's not included: Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined in class path resource [context.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource -->
@@ -640,7 +640,7 @@
640640
<dependency>
641641
<groupId>org.slf4j</groupId>
642642
<artifactId>slf4j-reload4j</artifactId>
643-
<version>2.0.7</version>
643+
<version>2.0.9</version>
644644
</dependency>
645645

646646
<dependency>
@@ -750,7 +750,7 @@
750750
<dependency>
751751
<groupId>org.apache.httpcomponents.core5</groupId>
752752
<artifactId>httpcore5</artifactId>
753-
<version>5.2.1</version>
753+
<version>5.2.2</version>
754754
</dependency>
755755

756756
<dependency>
@@ -860,12 +860,12 @@
860860
<plugin>
861861
<groupId>org.apache.maven.plugins</groupId>
862862
<artifactId>maven-assembly-plugin</artifactId>
863-
<version>3.5.0</version>
863+
<version>3.6.0</version>
864864
</plugin>
865865
<plugin>
866866
<groupId>org.apache.maven.plugins</groupId>
867867
<artifactId>maven-dependency-plugin</artifactId>
868-
<version>3.5.0</version>
868+
<version>3.6.0</version>
869869
<configuration>
870870
<usedDependencies>
871871
<dependency>com.sun.jersey:jersey-servlet</dependency>
@@ -879,7 +879,7 @@
879879
<plugin>
880880
<groupId>org.apache.maven.plugins</groupId>
881881
<artifactId>maven-release-plugin</artifactId>
882-
<version>3.0.0</version>
882+
<version>3.0.1</version>
883883
</plugin>
884884
</plugins>
885885
</pluginManagement>
@@ -893,7 +893,7 @@
893893
<plugin>
894894
<groupId>org.apache.maven.plugins</groupId>
895895
<artifactId>maven-clean-plugin</artifactId>
896-
<version>3.2.0</version>
896+
<version>3.3.1</version>
897897
</plugin>
898898

899899
<plugin>
@@ -916,12 +916,12 @@
916916
<plugin>
917917
<groupId>org.apache.maven.plugins</groupId>
918918
<artifactId>maven-enforcer-plugin</artifactId>
919-
<version>3.3.0</version>
919+
<version>3.4.0</version>
920920
<dependencies>
921921
<dependency>
922922
<groupId>org.codehaus.mojo</groupId>
923923
<artifactId>extra-enforcer-rules</artifactId>
924-
<version>1.6.2</version>
924+
<version>1.7.0</version>
925925
</dependency>
926926
</dependencies>
927927
<executions>
@@ -961,7 +961,7 @@
961961
<plugin>
962962
<groupId>org.apache.maven.plugins</groupId>
963963
<artifactId>maven-help-plugin</artifactId>
964-
<version>3.3.0</version>
964+
<version>3.4.0</version>
965965
</plugin>
966966

967967
<plugin>
@@ -979,13 +979,13 @@
979979
<plugin>
980980
<groupId>org.apache.maven.plugins</groupId>
981981
<artifactId>maven-pmd-plugin</artifactId>
982-
<version>3.20.0</version>
982+
<version>3.21.0</version>
983983
</plugin>
984984

985985
<plugin>
986986
<groupId>org.apache.maven.plugins</groupId>
987987
<artifactId>maven-project-info-reports-plugin</artifactId>
988-
<version>3.4.2</version>
988+
<version>3.4.5</version>
989989
</plugin>
990990

991991
<plugin>
@@ -998,7 +998,7 @@
998998
<!-- Note: This uses the maven-fluido-skin version specified next. The skin is referenced in src/site/site.xml. -->
999999
<groupId>org.apache.maven.plugins</groupId>
10001000
<artifactId>maven-site-plugin</artifactId>
1001-
<version>4.0.0-M7</version>
1001+
<version>4.0.0-M9</version>
10021002
<dependencies>
10031003
<!-- Explicitly declare these dependencies so the versions plugin and library bots will flag available updates. The fluido-skin plugin is referenced in src/site/site.xml using the same fluido version property. -->
10041004
<dependency>
@@ -1012,13 +1012,13 @@
10121012
<plugin>
10131013
<groupId>org.apache.maven.plugins</groupId>
10141014
<artifactId>maven-surefire-plugin</artifactId>
1015-
<version>3.0.0</version>
1015+
<version>3.1.2</version>
10161016
</plugin>
10171017

10181018
<plugin>
10191019
<groupId>org.apache.maven.plugins</groupId>
10201020
<artifactId>maven-war-plugin</artifactId>
1021-
<version>3.3.2</version>
1021+
<version>3.4.0</version>
10221022
<configuration>
10231023
<webXml>${maven.war.webxml}</webXml>
10241024
</configuration>
@@ -1027,13 +1027,13 @@
10271027
<plugin>
10281028
<groupId>org.codehaus.cargo</groupId>
10291029
<artifactId>cargo-maven3-plugin</artifactId>
1030-
<version>1.10.3</version>
1030+
<version>1.10.9</version>
10311031
</plugin>
10321032

10331033
<plugin>
10341034
<groupId>org.codehaus.mojo</groupId>
10351035
<artifactId>versions-maven-plugin</artifactId>
1036-
<version>2.15.0</version>
1036+
<version>2.16.0</version>
10371037
</plugin>
10381038

10391039
<!-- SpotBugs Static Analysis - the successor to FindBugs -->
@@ -1222,16 +1222,16 @@
12221222
<version.apacheds>1.5.7</version.apacheds>
12231223
<version.apache-shared-ldap>0.9.19</version.apache-shared-ldap>
12241224
<version.exec.maven>1.6.0</version.exec.maven>
1225-
<version.fluido>2.0.0-M6</version.fluido>
1225+
<version.fluido>2.0.0-M7</version.fluido>
12261226
<!-- hibernate is up to rev 6+. But 4.0.0. causes this error: symbol: org.hibernate.classic.Session not found -->
12271227
<version.hibernate>3.6.10.Final</version.hibernate>
1228-
<version.spotbugs.maven>4.7.3.4</version.spotbugs.maven>
1228+
<version.spotbugs.maven>4.7.3.5</version.spotbugs.maven>
12291229
<version.spotbugs>4.7.3</version.spotbugs>
12301230
<!-- Spring 6.x requires Java 17 -->
1231-
<version.springframework>5.3.27</version.springframework>
1231+
<version.springframework>5.3.29</version.springframework>
12321232
<!-- Tomcat 10 moves from Java EE to Jakarta EE, moving packages javax.* to jakarta.* - code changes likely required to address this change. -->
12331233
<tomcat.major.version>9</tomcat.major.version>
1234-
<version.tomcat>9.0.74</version.tomcat>
1234+
<version.tomcat>9.0.80</version.tomcat>
12351235
<tomcat.url>https://archive.apache.org/dist/tomcat/tomcat-${tomcat.major.version}/v${version.tomcat}/bin/apache-tomcat-${version.tomcat}.zip</tomcat.url>
12361236
</properties>
12371237

0 commit comments

Comments
 (0)