diff --git a/CHANGELOG.md b/CHANGELOG.md index f508a23..02879c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Set default release version to 17 [#62](https://github.com/cucumber/cucumber-parent/pull/62) +- Set minimum Maven to v3.9.0 +- Enable Error prone with Nullaway +- Enable Checkstyle ## [4.5.0] - 2025-10-15 ### Changed diff --git a/pom.xml b/pom.xml index ddcb180..0c4961b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.cucumber cucumber-parent - 4.5.1-SNAPSHOT + 5.0.0-SNAPSHOT pom Cucumber Parent Common configuration for all Cucumber modules @@ -22,13 +22,21 @@ + 1760538714 UTF-8 UTF-8 - 3.6.0 - 0.8.14 - 1.8 - 3.2.0 + 3.9.0 + 17 + true + + + *;-noimport:=true + * + ${project.Automatic-Module-Name} + + + 3.1.0 3.4.1 3.6.0 3.5.0 @@ -49,15 +57,22 @@ 3.2.0 3.1.4 3.5.0 + + 3.6.1 7.1.0 0.9.0 - 2.19.1 1.0 + 0.8.14 3.0.0 - ${project.Automatic-Module-Name} - *;-noimport:=true - * + 2.19.1 + + + 2.43.0 + 0.12.11 + + + 12.1.1 @@ -143,6 +158,84 @@ org.apache.maven.plugins maven-checkstyle-plugin ${maven-checkstyle-plugin.version} + + + com.puppycrawl.tools + checkstyle + ${puppycrawl-checkstyle.version} + + + + + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -156,9 +249,24 @@ maven-compiler-plugin ${maven-compiler-plugin.version} - UTF-8 - ${java.version} - ${java.version} + + -Werror + --should-stop=ifError=FLOW + -XDcompilePolicy=simple + -Xplugin:ErrorProne -XepOpt:NullAway:AnnotatedPackages=io.cucumber -Xep:AnnotateFormatMethod:OFF -Xep:DoNotCallSuggester:OFF -Xep:DoNotCallSuggester:OFF -Xep:InlineMeSuggester:OFF + + + + com.google.errorprone + error_prone_core + ${error-prone.version} + + + com.uber.nullaway + nullaway + ${nullaway.version} + + @@ -240,7 +348,7 @@ - + biz.aQute.bnd bnd-maven-plugin