|
67 | 67 | <retrofit.version>2.9.0</retrofit.version> |
68 | 68 | <jackson.version>2.14.2</jackson.version> |
69 | 69 | <jwt.version>0.11.5</jwt.version> |
| 70 | + <junit.version>5.10.2</junit.version> |
| 71 | + <okhttp.version>4.8.1</okhttp.version> |
70 | 72 | </properties> |
71 | 73 |
|
72 | 74 | <dependencies> |
|
98 | 100 | <dependency> |
99 | 101 | <groupId>com.squareup.okhttp3</groupId> |
100 | 102 | <artifactId>okhttp</artifactId> |
101 | | - <version>4.9.3</version> |
| 103 | + <version>${okhttp.version}</version> |
| 104 | + </dependency> |
| 105 | + <dependency> |
| 106 | + <groupId>com.squareup.okhttp3</groupId> |
| 107 | + <artifactId>okhttp-tls</artifactId> |
| 108 | + <version>${okhttp.version}</version> |
| 109 | + <scope>test</scope> |
102 | 110 | </dependency> |
103 | 111 |
|
104 | 112 | <!-- Jackson --> |
|
146 | 154 |
|
147 | 155 | <!-- Test Dependencies --> |
148 | 156 | <dependency> |
149 | | - <groupId>junit</groupId> |
150 | | - <artifactId>junit</artifactId> |
151 | | - <version>4.12</version> |
| 157 | + <groupId>org.junit.jupiter</groupId> |
| 158 | + <artifactId>junit-jupiter-api</artifactId> |
| 159 | + <version>${junit.version}</version> |
| 160 | + <scope>test</scope> |
| 161 | + </dependency> |
| 162 | + <dependency> |
| 163 | + <groupId>org.junit.jupiter</groupId> |
| 164 | + <artifactId>junit-jupiter-engine</artifactId> |
| 165 | + <version>${junit.version}</version> |
152 | 166 | <scope>test</scope> |
153 | 167 | </dependency> |
154 | 168 | <dependency> |
|
242 | 256 | </executions> |
243 | 257 | </plugin> |
244 | 258 |
|
| 259 | + <plugin> |
| 260 | + <groupId>org.jacoco</groupId> |
| 261 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 262 | + <version>0.8.11</version> |
| 263 | + <executions> |
| 264 | + <execution> |
| 265 | + <id>prepare-agent</id> |
| 266 | + <goals> |
| 267 | + <goal>prepare-agent</goal> |
| 268 | + </goals> |
| 269 | + </execution> |
| 270 | + <execution> |
| 271 | + <id>report</id> |
| 272 | + <phase>test</phase> |
| 273 | + <goals> |
| 274 | + <goal>report</goal> |
| 275 | + </goals> |
| 276 | + </execution> |
| 277 | + </executions> |
| 278 | + </plugin> |
| 279 | + |
| 280 | + <plugin> |
| 281 | + <groupId>org.apache.maven.plugins</groupId> |
| 282 | + <artifactId>maven-surefire-plugin</artifactId> |
| 283 | + <version>2.22.2</version> |
| 284 | + <configuration> |
| 285 | + <includes> |
| 286 | + <include>**/*Test.java</include> |
| 287 | + </includes> |
| 288 | + <useSystemClassLoader>false</useSystemClassLoader> |
| 289 | + <forkCount>1</forkCount> |
| 290 | + <reuseForks>true</reuseForks> |
| 291 | + <argLine>@{argLine} -Djava.security.egd=file:/dev/./urandom</argLine> |
| 292 | + <systemPropertyVariables> |
| 293 | + <okhttp.platform>jdk</okhttp.platform> |
| 294 | + </systemPropertyVariables> |
| 295 | + </configuration> |
| 296 | + </plugin> |
| 297 | + |
245 | 298 | </plugins> |
246 | 299 | </build> |
247 | 300 |
|
|
0 commit comments