Skip to content

Commit 2ab013f

Browse files
committed
[Archetype] Assume new projects are created with at least Java 17
1 parent 90de8d8 commit 2ab013f

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/renovate.json

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
{
88
"matchPackagePatterns": ["io.cucumber:(messages|gherkin|html-formatter|junit-xml-formatter)"],
99
"groupName": "Messages and dependants"
10+
},
11+
{
12+
"matchPackageNames": ["org.apache.maven.plugins:maven-surefire-plugin"],
13+
"allowedVersions": "!/^3.5.3$/"
1014
}
1115
]
1216
}

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1010
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1111

1212
## [Unreleased]
13+
### Changed
14+
- [Archetype] Assume new projects are created with at least Java 17
1315

1416
## [7.22.1] - 2025-04-24
1517
### Changed

cucumber-archetype/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<junit-jupiter.version>5.12.2</junit-jupiter.version>
1919
<assertj.version>3.27.3</assertj.version>
2020
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
21-
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
21+
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
2222
</properties>
2323

2424
<dependencyManagement>

cucumber-archetype/src/main/resources/archetype-resources/pom.xml

+1-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
<maven.compiler.release>17</maven.compiler.release>
1415
</properties>
1516

1617
<dependencyManagement>
@@ -71,11 +72,6 @@
7172
<groupId>org.apache.maven.plugins</groupId>
7273
<artifactId>maven-compiler-plugin</artifactId>
7374
<version>${maven-compiler-plugin.version}</version>
74-
<configuration>
75-
<encoding>UTF-8</encoding>
76-
<source>1.8</source>
77-
<target>1.8</target>
78-
</configuration>
7975
</plugin>
8076
<plugin>
8177
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)