Skip to content

Commit bd49aa7

Browse files
authored
Merge pull request #1400 from aaime/ep_231
Updating errorprone to 2.31 and PMD to 7.13
2 parents 3b95025 + 2d2243b commit bd49aa7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

geowebcache/pmd-junit-ruleset.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ under the License.
2222
GeoTools Junit ruleset. See https://pmd.github.io/latest/pmd_userdocs_understanding_rulesets.html
2323
</description>
2424
<rule ref="category/java/bestpractices.xml/SimplifiableTestAssertion" />
25-
<rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseBeforeAnnotation" />
26-
<rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseAfterAnnotation" />
27-
<rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseTestAnnotation" />
25+
<rule ref="category/java/bestpractices.xml/UnitTestShouldUseBeforeAnnotation" />
26+
<rule ref="category/java/bestpractices.xml/UnitTestShouldUseAfterAnnotation" />
27+
<rule ref="category/java/bestpractices.xml/UnitTestShouldUseTestAnnotation" />
2828
<!-- Excluded due to https://github.com/pmd/pmd/issues/2147 /-->
2929
<!-- rule ref="category/java/bestpractices.xml/JUnitTestsShouldIncludeAssert" /-->
3030
<rule name="DisallowJunit3"

geowebcache/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@
8787
<jackson.databind.version>${jackson.version}</jackson.databind.version>
8888
<jetty.version>9.4.55.v20240627</jetty.version>
8989
<errorProneFlags></errorProneFlags>
90-
<errorProne.version>2.24.1</errorProne.version>
90+
<errorProne.version>2.31.0</errorProne.version>
9191
<javac.version>9+181-r4173-1</javac.version>
92-
<pmd.version>7.10.0</pmd.version>
92+
<pmd.version>7.13.0</pmd.version>
9393
<checkstyle.skip>false</checkstyle.skip>
9494
<qa>false</qa>
9595
<lint>deprecation,unchecked</lint>
@@ -918,7 +918,7 @@
918918
<fork>false</fork>
919919
<compilerArgs>
920920
<arg>-XDcompilePolicy=simple</arg>
921-
<arg>-Xplugin:ErrorProne -XepExcludedPaths:${project.build.directory}/generated-sources/.* ${errorProneFlags}</arg>
921+
<arg>-Xplugin:ErrorProne -XepExcludedPaths:${project.build.directory}/generated-sources/.* -Xep:SelfAssertion:OFF ${errorProneFlags}</arg>
922922
<arg>-Xlint:${lint}</arg>
923923
<arg>-Werror</arg>
924924
</compilerArgs>

0 commit comments

Comments
 (0)