|
4 | 4 | <parent>
|
5 | 5 | <groupId>io.cucumber</groupId>
|
6 | 6 | <artifactId>cucumber-jvm-groovy</artifactId>
|
7 |
| - <version>6.10.5-SNAPSHOT</version> |
| 7 | + <version>7.0.0-SNAPSHOT</version> |
8 | 8 | </parent>
|
9 | 9 |
|
10 | 10 | <artifactId>cucumber-groovy</artifactId>
|
11 | 11 | <packaging>jar</packaging>
|
12 | 12 | <name>Cucumber Groovy</name>
|
13 | 13 |
|
14 | 14 | <properties>
|
15 |
| - <gmaven.runtime>1.8</gmaven.runtime> |
16 | 15 | <jackson.version>2.14.2</jackson.version>
|
17 |
| - <junit-jupiter.version>5.9.2</junit-jupiter.version> |
| 16 | + <mockito.version>5.3.1</mockito.version> |
18 | 17 | </properties>
|
19 | 18 |
|
| 19 | + <dependencyManagement> |
| 20 | + <dependencies> |
| 21 | + <dependency> |
| 22 | + <groupId>com.fasterxml.jackson</groupId> |
| 23 | + <artifactId>jackson-bom</artifactId> |
| 24 | + <version>${jackson.version}</version> |
| 25 | + <scope>import</scope> |
| 26 | + <type>pom</type> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.mockito</groupId> |
| 30 | + <artifactId>mockito-bom</artifactId> |
| 31 | + <version>${mockito.version}</version> |
| 32 | + <scope>import</scope> |
| 33 | + <type>pom</type> |
| 34 | + </dependency> |
| 35 | + </dependencies> |
| 36 | + </dependencyManagement> |
| 37 | + |
20 | 38 | <dependencies>
|
21 | 39 | <dependency>
|
22 | 40 | <groupId>io.cucumber</groupId>
|
23 | 41 | <artifactId>cucumber-core</artifactId>
|
24 | 42 | </dependency>
|
25 | 43 | <dependency>
|
26 |
| - <groupId>org.codehaus.groovy</groupId> |
27 |
| - <artifactId>groovy-all</artifactId> |
| 44 | + <groupId>org.apache.groovy</groupId> |
| 45 | + <artifactId>groovy</artifactId> |
28 | 46 | <scope>provided</scope>
|
29 | 47 | </dependency>
|
| 48 | + <dependency> |
| 49 | + <groupId>org.apache.groovy</groupId> |
| 50 | + <artifactId>groovy-test</artifactId> |
| 51 | + <scope>test</scope> |
| 52 | + </dependency> |
30 | 53 | <dependency>
|
31 | 54 | <groupId>com.fasterxml.jackson.datatype</groupId>
|
32 | 55 | <artifactId>jackson-datatype-jsr310</artifactId>
|
33 |
| - <version>${jackson.version}</version> |
34 | 56 | <scope>test</scope>
|
35 | 57 | </dependency>
|
36 | 58 | <dependency>
|
37 | 59 | <groupId>com.fasterxml.jackson.core</groupId>
|
38 | 60 | <artifactId>jackson-databind</artifactId>
|
39 |
| - <version>${jackson.version}</version> |
40 | 61 | <scope>test</scope>
|
41 | 62 | </dependency>
|
42 | 63 | <dependency>
|
43 |
| - <groupId>io.cucumber</groupId> |
44 |
| - <artifactId>cucumber-junit</artifactId> |
| 64 | + <groupId>org.junit.jupiter</groupId> |
| 65 | + <artifactId>junit-jupiter</artifactId> |
45 | 66 | <scope>test</scope>
|
46 | 67 | </dependency>
|
47 | 68 | <dependency>
|
48 |
| - <groupId>org.junit.jupiter</groupId> |
49 |
| - <artifactId>junit-jupiter</artifactId> |
50 |
| - <version>${junit-jupiter.version}</version> |
| 69 | + <groupId>org.junit.platform</groupId> |
| 70 | + <artifactId>junit-platform-suite</artifactId> |
| 71 | + <scope>test</scope> |
| 72 | + </dependency> |
| 73 | + <dependency> |
| 74 | + <groupId>io.cucumber</groupId> |
| 75 | + <artifactId>cucumber-junit-platform-engine</artifactId> |
51 | 76 | <scope>test</scope>
|
52 | 77 | </dependency>
|
53 | 78 | <dependency>
|
54 | 79 | <groupId>org.mockito</groupId>
|
55 | 80 | <artifactId>mockito-core</artifactId>
|
56 | 81 | <scope>test</scope>
|
57 | 82 | </dependency>
|
| 83 | + <dependency> |
| 84 | + <groupId>org.mockito</groupId> |
| 85 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 86 | + <scope>test</scope> |
| 87 | + </dependency> |
58 | 88 | <dependency>
|
59 | 89 | <groupId>com.google.auto.service</groupId>
|
60 | 90 | <artifactId>auto-service</artifactId>
|
|
67 | 97 | <plugin>
|
68 | 98 | <groupId>org.codehaus.gmavenplus</groupId>
|
69 | 99 | <artifactId>gmavenplus-plugin</artifactId>
|
70 |
| - <version>2.1.0</version> |
71 | 100 | <executions>
|
72 | 101 | <execution>
|
73 | 102 | <goals>
|
|
167 | 196 | <echo message="Running groovy tests via the CLI..." />
|
168 | 197 | <java classname="groovy.ui.GroovyMain" fork="true" failonerror="true" newenvironment="true" maxmemory="512m" classpathref="maven.test.classpath">
|
169 | 198 | <classpath>
|
170 |
| - <pathelement location="${maven.dependency.org.codehaus.groovy.groovy-all.jar.path}" /> |
| 199 | + <pathelement location="${maven.dependency.org.apache.groovy.groovy-ant.jar.path}" /> |
171 | 200 | <pathelement location="${maven.dependency.junit.junit.jar.path}" />
|
172 | 201 | <pathelement location="${basedir}/bin/cucumber-groovy-shaded.jar" />
|
173 | 202 | <pathelement location="target/test-classes" />
|
174 | 203 | </classpath>
|
175 | 204 | <arg value="bin/cucumber-jvm.groovy" />
|
176 |
| - <arg value="--strict" /> |
177 |
| - |
178 | 205 | <!--
|
179 | 206 | target/test-classes/cucumber/runtime/groovy contains:
|
180 | 207 |
|
|
0 commit comments