Skip to content

Commit b3c536f

Browse files
committed
Bump: Minor: Maven plugin updates and PMD
Bump maven-dependency-plugin from 3.7.1 to 3.8.0 Bump maven-surefire-report-plugin from 3.3.0 to 3.5.0 Bump pitest-maven from 1.16.1 to 1.16.2 Bump pmd from 7.1.0 to 7.5.0
1 parent 5aacb40 commit b3c536f

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

configs/pmd-ruleset.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<rule ref="category/java/bestpractices.xml/UnusedPrivateField"/>
6161
<rule ref="category/java/bestpractices.xml/UnusedPrivateMethod"/>
6262
<rule ref="category/java/bestpractices.xml/UseCollectionIsEmpty"/>
63+
<rule ref="category/java/bestpractices.xml/UseEnumCollections" />
6364
<rule ref="category/java/bestpractices.xml/UseStandardCharsets"/>
6465
<rule ref="category/java/bestpractices.xml/UseTryWithResources"/>
6566
<rule ref="category/java/bestpractices.xml/UseVarargs"/>
@@ -259,7 +260,6 @@
259260
<rule ref="category/java/errorprone.xml/AvoidLosingExceptionInformation"/>
260261
<rule ref="category/java/errorprone.xml/AvoidMultipleUnaryOperators"/>
261262
<rule ref="category/java/errorprone.xml/AvoidUsingOctalValues"/>
262-
<rule ref="category/java/errorprone.xml/ComparisonWithNaN"/>
263263
<rule ref="category/java/errorprone.xml/BrokenNullCheck"/>
264264
<rule ref="category/java/errorprone.xml/CallSuperFirst"/>
265265
<rule ref="category/java/errorprone.xml/CallSuperLast"/>
@@ -270,6 +270,7 @@
270270
<rule ref="category/java/errorprone.xml/CloneMethodReturnTypeMustMatchClassName"/>
271271
<rule ref="category/java/errorprone.xml/CloseResource"/>
272272
<rule ref="category/java/errorprone.xml/CompareObjectsWithEquals"/>
273+
<rule ref="category/java/errorprone.xml/ComparisonWithNaN"/>
273274
<rule ref="category/java/errorprone.xml/ConfusingArgumentToVarargsMethod" />
274275
<rule ref="category/java/errorprone.xml/ConstructorCallsOverridableMethod"/>
275276
<rule ref="category/java/errorprone.xml/DetachedTestCase"/>
@@ -288,14 +289,14 @@
288289
<rule ref="category/java/errorprone.xml/FinalizeOverloaded"/>
289290
<rule ref="category/java/errorprone.xml/FinalizeShouldBeProtected"/>
290291
<rule ref="category/java/errorprone.xml/IdempotentOperations"/>
292+
<rule ref="category/java/errorprone.xml/ImplicitSwitchFallThrough"/>
291293
<rule ref="category/java/errorprone.xml/InstantiationToGetClass"/>
292294
<rule ref="category/java/errorprone.xml/InvalidLogMessageFormat"/>
293295
<rule ref="category/java/errorprone.xml/JumbledIncrementer"/>
294296
<rule ref="category/java/errorprone.xml/JUnitSpelling"/>
295297
<rule ref="category/java/errorprone.xml/JUnitStaticSuite"/>
296298
<rule ref="category/java/errorprone.xml/MethodWithSameNameAsEnclosingClass"/>
297299
<rule ref="category/java/errorprone.xml/MisplacedNullCheck"/>
298-
<rule ref="category/java/errorprone.xml/ImplicitSwitchFallThrough"/>
299300
<rule ref="category/java/errorprone.xml/MissingSerialVersionUID"/>
300301
<rule ref="category/java/errorprone.xml/MissingStaticMethodInNonInstantiatableClass"/>
301302
<rule ref="category/java/errorprone.xml/MoreThanOneLogger"/>
@@ -329,6 +330,7 @@
329330
<rule ref="category/java/errorprone.xml/UseProperClassLoader"/>
330331

331332
<rule ref="category/java/multithreading.xml/AvoidSynchronizedAtMethodLevel"/>
333+
<rule ref="category/java/multithreading.xml/AvoidSynchronizedStatement" />
332334
<rule ref="category/java/multithreading.xml/AvoidThreadGroup"/>
333335
<rule ref="category/java/multithreading.xml/AvoidUsingVolatile"/>
334336
<rule ref="category/java/multithreading.xml/DoNotUseThreads"/>

configs/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<properties>
1818
<!-- project version -->
19-
<revision>1.8.0</revision>
19+
<revision>1.9.0</revision>
2020
<changelist>-SNAPSHOT</changelist>
2121
</properties>
2222

pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<properties>
2020
<!-- project version -->
21-
<revision>1.8.0</revision>
21+
<revision>1.9.0</revision>
2222
<changelist>-SNAPSHOT</changelist>
2323
<!-- dependencyManagement versions -->
2424
<jetbrains-annotations.version>24.1.0</jetbrains-annotations.version>
@@ -28,23 +28,23 @@
2828
<mockito.version>5.12.0</mockito.version>
2929
<!-- pluginManagement -->
3030
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
31-
<maven-surefire-report-plugin.version>3.3.0</maven-surefire-report-plugin.version>
31+
<maven-surefire-report-plugin.version>3.5.0</maven-surefire-report-plugin.version>
3232
<maven-failsafe-plugin.version>3.4.0</maven-failsafe-plugin.version>
3333
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
3434
<maven-javadoc-plugin.version>3.7.0</maven-javadoc-plugin.version>
3535
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
3636
<editorconfig-maven-plugin.version>0.1.3</editorconfig-maven-plugin.version> <!-- XXX: Remove linter dependency overrides when
3737
upgrading from 0.1.3 -->
3838
<maven-pmd-plugin.version>3.24.0</maven-pmd-plugin.version>
39-
<pmd-core.version>7.1.0</pmd-core.version>
40-
<pmd-java.version>7.1.0</pmd-java.version>
39+
<pmd-core.version>7.5.0</pmd-core.version>
40+
<pmd-java.version>7.5.0</pmd-java.version>
4141
<spotbugs-maven-plugin.version>4.8.6.2</spotbugs-maven-plugin.version>
4242
<maven-checkstyle-plugin.version>3.4.0</maven-checkstyle-plugin.version>
4343
<checkstyle.version>10.17.0</checkstyle.version>
4444
<maven-project-info-reports-plugin.version>3.6.1</maven-project-info-reports-plugin.version>
4545
<maven-jxr-plugin.version>3.4.0</maven-jxr-plugin.version>
4646
<cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
47-
<pitest-maven.version>1.16.1</pitest-maven.version>
47+
<pitest-maven.version>1.16.2</pitest-maven.version>
4848
<pitest-junit5-plugin.version>1.2.1</pitest-junit5-plugin.version>
4949
<versions-maven-plugin.version>2.17.0</versions-maven-plugin.version>
5050
<maven-wrapper.version>3.3.2</maven-wrapper.version>

versions/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818

1919
<properties>
2020
<!-- project version -->
21-
<revision>1.8.0</revision>
21+
<revision>1.9.0</revision>
2222
<changelist>-SNAPSHOT</changelist>
2323
<!-- project settings -->
2424
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2525
<maven.compiler.target>21</maven.compiler.target>
2626
<!-- plugin versions -->
2727
<maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
2828
<maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
29-
<maven-dependency-plugin.version>3.7.1</maven-dependency-plugin.version>
29+
<maven-dependency-plugin.version>3.8.0</maven-dependency-plugin.version>
3030
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
3131
<maven-clean-plugin.version>3.4.0</maven-clean-plugin.version>
3232
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>

0 commit comments

Comments
 (0)