File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 3636 <dependency >
3737 <groupId >org.testng</groupId >
3838 <artifactId >testng</artifactId >
39- <version >7.6 .0</version >
39+ <version >7.9 .0</version >
4040 <scope >test</scope >
4141 </dependency >
4242
6969 <configuration >
7070 <failIfNoTests >true</failIfNoTests >
7171 </configuration >
72+ <dependencies >
73+ <dependency >
74+ <groupId >org.apache.maven.surefire</groupId >
75+ <artifactId >surefire-testng</artifactId >
76+ <version >3.2.5</version >
77+ </dependency >
78+ </dependencies >
7279 </plugin >
7380
7481 <!-- SPRING CLOUD CONTRACT -->
7986 <version >${spring-cloud-contract.version} </version >
8087 <extensions >true</extensions >
8188 <configuration >
82- <testFramework >JUNIT5</testFramework >
8389 <testFramework >TESTNG</testFramework >
8490 <packageWithBaseClasses >com.example</packageWithBaseClasses >
8591 </configuration >
8692 </plugin >
93+ <plugin >
94+ <groupId >org.codehaus.mojo</groupId >
95+ <artifactId >build-helper-maven-plugin</artifactId >
96+ <executions >
97+ <execution >
98+ <id >add-source</id >
99+ <phase >generate-test-sources</phase >
100+ <goals >
101+ <goal >add-test-source</goal >
102+ </goals >
103+ <configuration >
104+ <sources >
105+ <source >${project.build.directory} /generated-test-sources/contracts/</source >
106+ </sources >
107+ </configuration >
108+ </execution >
109+ </executions >
110+ </plugin >
87111
88112
89113 </plugins >
You can’t perform that action at this time.
0 commit comments