|
32 | 32 | </distributionManagement>
|
33 | 33 |
|
34 | 34 | <properties>
|
| 35 | + <spring.boot.version>3.3.3</spring.boot.version> |
35 | 36 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
36 | 37 | <spotbugs-maven-plugin.version>4.8.6.1</spotbugs-maven-plugin.version>
|
37 | 38 | <spotbugs.version>4.8.6</spotbugs.version>
|
|
240 | 241 | <autoReleaseAfterClose>true</autoReleaseAfterClose>
|
241 | 242 | </configuration>
|
242 | 243 | </plugin>
|
243 |
| - <plugin> |
244 |
| - <groupId>org.codehaus.mojo</groupId> |
245 |
| - <artifactId>animal-sniffer-maven-plugin</artifactId> |
246 |
| - <version>1.22</version> |
247 |
| - <configuration> |
248 |
| - <signature> |
249 |
| - <groupId>org.codehaus.mojo.signature</groupId> |
250 |
| - <artifactId>java18</artifactId> |
251 |
| - <version>1.0</version> |
252 |
| - </signature> |
253 |
| - <ignores> |
254 |
| - java.net.http.* |
255 |
| - </ignores> |
256 |
| - </configuration> |
257 |
| - <executions> |
258 |
| - <execution> |
259 |
| - <id>ensure-java-1.8-class-library</id> |
260 |
| - <phase>test</phase> |
261 |
| - <goals> |
262 |
| - <goal>check</goal> |
263 |
| - </goals> |
264 |
| - </execution> |
265 |
| - </executions> |
266 |
| - </plugin> |
267 | 244 | </plugins>
|
268 | 245 | </pluginManagement>
|
269 | 246 | <plugins>
|
| 247 | + <!-- |
| 248 | + This plugin is used to generate AOT metadata during tests so that it can be |
| 249 | + compared against those in META-INF/native-image/org.kohsuke/github-api/*. |
| 250 | + The tests are located in src/test/java/org.kohsuke.aot |
| 251 | + --> |
| 252 | + <plugin> |
| 253 | + <groupId>org.springframework.boot</groupId> |
| 254 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 255 | + <version>${spring.boot.version}</version> |
| 256 | + <executions> |
| 257 | + <execution> |
| 258 | + <id>process-test-aot</id> |
| 259 | + <goals> |
| 260 | + <goal>process-test-aot</goal> |
| 261 | + </goals> |
| 262 | + </execution> |
| 263 | + </executions> |
| 264 | + </plugin> |
270 | 265 | <plugin>
|
271 | 266 | <groupId>org.apache.maven.plugins</groupId>
|
272 | 267 | <artifactId>maven-site-plugin</artifactId>
|
|
497 | 492 | <version>${hamcrest.version}</version>
|
498 | 493 | <scope>test</scope>
|
499 | 494 | </dependency>
|
| 495 | + <!-- |
| 496 | + This plugin is used to start a spring boot application during tests |
| 497 | + to generate AOT metadata. See also spring-boot-maven-plugin |
| 498 | + --> |
| 499 | + <dependency> |
| 500 | + <groupId>org.springframework.boot</groupId> |
| 501 | + <artifactId>spring-boot-starter-test</artifactId> |
| 502 | + <version>${spring.boot.version}</version> |
| 503 | + <scope>test</scope> |
| 504 | + </dependency> |
500 | 505 | <!-- This is needed in order to force junit4 and JTH tests to use newer hamcrest version -->
|
501 | 506 | <dependency>
|
502 | 507 | <groupId>org.hamcrest</groupId>
|
|
528 | 533 | <version>4.2.1</version>
|
529 | 534 | <scope>test</scope>
|
530 | 535 | </dependency>
|
| 536 | + <!-- junit vintage engine is used because junit4 and junit5 tests are required --> |
| 537 | + <dependency> |
| 538 | + <groupId>org.junit.vintage</groupId> |
| 539 | + <artifactId>junit-vintage-engine</artifactId> |
| 540 | + <version>5.10.2</version> |
| 541 | + <scope>test</scope> |
| 542 | + </dependency> |
531 | 543 | <dependency>
|
532 | 544 | <groupId>com.fasterxml.jackson.core</groupId>
|
533 | 545 | <artifactId>jackson-databind</artifactId>
|
|
0 commit comments