Skip to content

Commit 4af97a7

Browse files
Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0 (#2704)
* Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.0.0 * Use properties so renovate can automate this --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: M.P. Korstanje <[email protected]>
1 parent 29714f6 commit 4af97a7

File tree

3 files changed

+22
-4
lines changed
  • cucumber-archetype
    • src
      • main/resources/archetype-resources
      • test/resources/projects/should-generate-project/reference

3 files changed

+22
-4
lines changed

cucumber-archetype/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
<properties>
1818
<junit-jupiter.version>5.9.2</junit-jupiter.version>
19+
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
20+
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
1921
</properties>
2022

2123
<dependencyManagement>
@@ -98,6 +100,22 @@
98100
<ignoreEOLStyle>true</ignoreEOLStyle>
99101
</configuration>
100102
</plugin>
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-compiler-plugin</artifactId>
106+
<!-- Duplicate declaration. But ensures the version
107+
in the archetype template is also automatically
108+
updated by renovate bot. -->
109+
<version>${maven-compiler-plugin.version}</version>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-surefire-plugin</artifactId>
114+
<!-- Duplicate declaration. But ensures the version
115+
in the archetype template is also automatically
116+
updated by renovate bot. -->
117+
<version>${maven-surefire-plugin.version}</version>
118+
</plugin>
101119
</plugins>
102120
</pluginManagement>
103121

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<plugin>
6464
<groupId>org.apache.maven.plugins</groupId>
6565
<artifactId>maven-compiler-plugin</artifactId>
66-
<version>3.11.0</version>
66+
<version>${maven-compiler-plugin.version}</version>
6767
<configuration>
6868
<encoding>UTF-8</encoding>
6969
<source>1.8</source>
@@ -73,7 +73,7 @@
7373
<plugin>
7474
<groupId>org.apache.maven.plugins</groupId>
7575
<artifactId>maven-surefire-plugin</artifactId>
76-
<version>3.0.0-M9</version>
76+
<version>${maven-surefire-plugin.version}</version>
7777
</plugin>
7878
</plugins>
7979
</build>

cucumber-archetype/src/test/resources/projects/should-generate-project/reference/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<plugin>
6464
<groupId>org.apache.maven.plugins</groupId>
6565
<artifactId>maven-compiler-plugin</artifactId>
66-
<version>3.11.0</version>
66+
<version>${maven-compiler-plugin.version}</version>
6767
<configuration>
6868
<encoding>UTF-8</encoding>
6969
<source>1.8</source>
@@ -73,7 +73,7 @@
7373
<plugin>
7474
<groupId>org.apache.maven.plugins</groupId>
7575
<artifactId>maven-surefire-plugin</artifactId>
76-
<version>3.0.0-M9</version>
76+
<version>${maven-surefire-plugin.version}</version>
7777
</plugin>
7878
</plugins>
7979
</build>

0 commit comments

Comments
 (0)