Skip to content

Commit 1ff97c9

Browse files
committed
Recommend the use the cucumber-bom for version management
1 parent 04af886 commit 1ff97c9

File tree

11 files changed

+23
-21
lines changed

11 files changed

+23
-21
lines changed

cucumber-cdi2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Cucumber CDI 2
44
Use CDI Standalone Edition (CDI SE) API to provide dependency injection into
55
steps definitions.
66

7-
Add the `cucumber-cdi2` dependency to your pom.xml:
7+
Add the `cucumber-cdi2` dependency to your `pom.xml`
8+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
89

910
```xml
1011
<dependencies>
1112
[...]
1213
<dependency>
1314
<groupId>io.cucumber</groupId>
1415
<artifactId>cucumber-cdi2</artifactId>
15-
<version>${cucumber.version}</version>
1616
<scope>test</scope>
1717
</dependency>
1818
[...]

cucumber-deltaspike/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ public class BellyStepdefs {
4848
```
4949
It is not possible to use any other scope than Dependent. This means also it is not possible to share a state over two or more scenarios; every scenario starts with a clean environment.
5050

51-
To enable this object factory, add the following dependency to your classpath:
51+
To enable this object factory, add the following dependency to your `pom.xml`
52+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
53+
5254
```xml
5355
<dependency>
5456
<groupId>io.cucumber</groupId>

cucumber-guice/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ standard with singleton scope and 'no scope'. This module adds Cucumber scenario
55
in your test code. The rest of this documentation assumes you have at least a basic understanding of Guice. Please refer
66
to the Guice wiki if necessary, see [Google Guice - Motivation](https://github.com/google/guice/wiki/Motivation)
77

8-
Add the `cucumber-guice` dependency to your `pom.xml`:
8+
Add the `cucumber-guice` dependency to your `pom.xml` and use
9+
the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
910

1011
```xml
1112

@@ -14,7 +15,6 @@ Add the `cucumber-guice` dependency to your `pom.xml`:
1415
<dependency>
1516
<groupId>io.cucumber</groupId>
1617
<artifactId>cucumber-guice</artifactId>
17-
<version>${cucumber.version}</version>
1818
<scope>test</scope>
1919
</dependency>
2020
[...]

cucumber-jakarta-cdi/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Cucumber CDI Jakarta
44
Use CDI Standalone Edition (CDI SE) API to provide dependency injection in to
55
steps definitions.
66

7-
Add the `cucumber-jakarta-cdi` dependency to your pom.xml:
7+
Add the `cucumber-jakarta-cdi` dependency to your `pom.xml`
8+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
89

910
```xml
1011
<dependencies>
1112
[...]
1213
<dependency>
1314
<groupId>io.cucumber</groupId>
1415
<artifactId>cucumber-jakarta-cdi</artifactId>
15-
<version>${cucumber.version}</version>
1616
<scope>test</scope>
1717
</dependency>
1818
[...]

cucumber-java/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Cucumber Java
22
=============
33

4-
Provides annotation-based step definitions. To use, add the `cucumber-java` dependency to your pom.xml:
4+
Provides annotation-based step definitions. To use, add the `cucumber-java` dependency to your `pom.xml`
5+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
56

67
```xml
78
<dependencies>
89
[...]
910
<dependency>
1011
<groupId>io.cucumber</groupId>
1112
<artifactId>cucumber-java</artifactId>
12-
<version>${cucumber.version}</version>
1313
<scope>test</scope>
1414
</dependency>
1515
[...]

cucumber-java8/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Cucumber Java8
22
==============
33

4-
Provides lambda-based step definitions. To use add the `cucumber-java8` dependency to your pom.xml:
4+
Provides lambda-based step definitions. To use add the `cucumber-java8` dependency to your `pom.xml`
5+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
56

67
```xml
78
<dependencies>
89
[...]
910
<dependency>
1011
<groupId>io.cucumber</groupId>
1112
<artifactId>cucumber-java8</artifactId>
12-
<version>${cucumber.version}</version>
1313
<scope>test</scope>
1414
</dependency>
1515
[...]

cucumber-junit/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ Cucumber JUnit (Deprecated)
66
> For JUnit 5 use the [Cucumber JUnit Platform Engine](../cucumber-junit-platform-engine)
77
88
Use JUnit 4 to execute Cucumber scenarios. To use add the `cucumber-junit`
9-
dependency to your pom.xml:
9+
dependency to your `pom.xml` and use the [`cucumber-bom`](../cucumber-bom/README.md)
10+
for dependency management:
1011

1112
```xml
1213
<dependencies>
1314
[...]
1415
<dependency>
1516
<groupId>io.cucumber</groupId>
1617
<artifactId>cucumber-junit</artifactId>
17-
<version>${cucumber.version}</version>
1818
<scope>test</scope>
1919
</dependency>
2020
[...]

cucumber-picocontainer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ Cucumber PicoContainer
33

44
Use PicoContainer to provide dependency injection to steps.
55

6-
Add the `cucumber-picocontainer` dependency to your pom.xml:
6+
Add the `cucumber-picocontainer` dependency to your `pom.xml`
7+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
78

89
```xml
910
<dependencies>
1011
[...]
1112
<dependency>
1213
<groupId>io.cucumber</groupId>
1314
<artifactId>cucumber-picocontainer</artifactId>
14-
<version>${cucumber.version}</version>
1515
<scope>test</scope>
1616
</dependency>
1717
[...]

cucumber-spring/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Cucumber Spring
44
Use Cucumber Spring to share state between steps in a scenario and access the
55
spring application context.
66

7-
Add the `cucumber-spring` dependency to your `pom.xml`:
7+
Add the `cucumber-spring` dependency to your `pom.xml` to your `pom.xml`
8+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
89

910
```xml
1011
<dependencies>
1112
[...]
1213
<dependency>
1314
<groupId>io.cucumber</groupId>
1415
<artifactId>cucumber-spring</artifactId>
15-
<version>${cucumber.version}</version>
1616
<scope>test</scope>
1717
</dependency>
1818
[...]

cucumber-testng/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Cucumber TestNG
22
==============
33

4-
Use TestNG to execute Cucumber scenarios. To use add the `cucumber-testng` dependency to your pom.
4+
Use TestNG to execute Cucumber scenarios. To use add the `cucumber-testng` dependency to your `pom.xml`
5+
and use the [`cucumber-bom`](../cucumber-bom/README.md) for dependency management:
56

67
```xml
78
<dependencies>
89
[...]
910
<dependency>
1011
<groupId>io.cucumber</groupId>
1112
<artifactId>cucumber-testng</artifactId>
12-
<version>${cucumber.version}</version>
1313
<scope>test</scope>
1414
</dependency>
1515
[...]

0 commit comments

Comments
 (0)