|
14 | 14 | <name>Java EE 8 Samples: Servlet - http2</name>
|
15 | 15 |
|
16 | 16 | <properties>
|
17 |
| - <jetty-version>9.4.11.v20180605</jetty-version> |
| 17 | + <jetty-version>9.4.28.v20200408</jetty-version> |
18 | 18 | </properties>
|
19 | 19 |
|
20 | 20 | <dependencies>
|
|
46 | 46 | </dependencies>
|
47 | 47 |
|
48 | 48 | <!-- ALPN profiles are needed to ensure that the correct ALPN version is used -->
|
| 49 | + <!-- note that 8u251 and above have ALPN support built-in and the Jetty ALPN JAR should not be present --> |
49 | 50 | <profiles>
|
50 | 51 | <profile>
|
51 | 52 | <id>alpn-when-jdk8</id>
|
52 | 53 | <activation>
|
53 | 54 | <jdk>1.8</jdk>
|
54 | 55 | </activation>
|
55 | 56 | <properties>
|
56 |
| - <!-- default is the newest possible, supports 8u161 to 8u191 --> |
| 57 | + <!-- default is the newest possible, supports 8u191 to 8u242 --> |
57 | 58 | <alpn.version>8.1.13.v20181017</alpn.version>
|
58 | 59 | <bootclasspathPrefix>
|
59 | 60 | ${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/${alpn.version}/alpn-boot-${alpn.version}.jar
|
60 | 61 | </bootclasspathPrefix>
|
| 62 | + <surefireArgLine>-Xbootclasspath/p:${bootclasspathPrefix}</surefireArgLine> |
61 | 63 | </properties>
|
62 | 64 | <build>
|
63 | 65 | <plugins>
|
64 | 66 | <plugin>
|
65 | 67 | <artifactId>maven-surefire-plugin</artifactId>
|
66 | 68 | <configuration>
|
67 |
| - <argLine>-Xbootclasspath/p:${bootclasspathPrefix}</argLine> |
| 69 | + <argLine>${surefireArgLine}</argLine> |
68 | 70 | </configuration>
|
69 | 71 | <dependencies>
|
70 | 72 | <dependency>
|
|
410 | 412 | <alpn.version>8.1.13.v20181017</alpn.version>
|
411 | 413 | </properties>
|
412 | 414 | </profile>
|
| 415 | + <profile> |
| 416 | + <id>alpn-when-jdk8_211</id> |
| 417 | + <activation> |
| 418 | + <jdk>1.8.0_211</jdk> |
| 419 | + </activation> |
| 420 | + <properties> |
| 421 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 422 | + </properties> |
| 423 | + </profile> |
| 424 | + <profile> |
| 425 | + <id>alpn-when-jdk8_212</id> |
| 426 | + <activation> |
| 427 | + <jdk>1.8.0_212</jdk> |
| 428 | + </activation> |
| 429 | + <properties> |
| 430 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 431 | + </properties> |
| 432 | + </profile> |
| 433 | + <profile> |
| 434 | + <id>alpn-when-jdk8_221</id> |
| 435 | + <activation> |
| 436 | + <jdk>1.8.0_221</jdk> |
| 437 | + </activation> |
| 438 | + <properties> |
| 439 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 440 | + </properties> |
| 441 | + </profile> |
| 442 | + <profile> |
| 443 | + <id>alpn-when-jdk8_222</id> |
| 444 | + <activation> |
| 445 | + <jdk>1.8.0_222</jdk> |
| 446 | + </activation> |
| 447 | + <properties> |
| 448 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 449 | + </properties> |
| 450 | + </profile> |
| 451 | + <profile> |
| 452 | + <id>alpn-when-jdk8_231</id> |
| 453 | + <activation> |
| 454 | + <jdk>1.8.0_231</jdk> |
| 455 | + </activation> |
| 456 | + <properties> |
| 457 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 458 | + </properties> |
| 459 | + </profile> |
| 460 | + <profile> |
| 461 | + <id>alpn-when-jdk8_232</id> |
| 462 | + <activation> |
| 463 | + <jdk>1.8.0_232</jdk> |
| 464 | + </activation> |
| 465 | + <properties> |
| 466 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 467 | + </properties> |
| 468 | + </profile> |
| 469 | + <profile> |
| 470 | + <id>alpn-when-jdk8_241</id> |
| 471 | + <activation> |
| 472 | + <jdk>1.8.0_241</jdk> |
| 473 | + </activation> |
| 474 | + <properties> |
| 475 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 476 | + </properties> |
| 477 | + </profile> |
| 478 | + <profile> |
| 479 | + <id>alpn-when-jdk8_242</id> |
| 480 | + <activation> |
| 481 | + <jdk>1.8.0_242</jdk> |
| 482 | + </activation> |
| 483 | + <properties> |
| 484 | + <alpn.version>8.1.13.v20181017</alpn.version> |
| 485 | + </properties> |
| 486 | + </profile> |
| 487 | + |
| 488 | + <profile> |
| 489 | + <id>alpn-when-jdk8_251</id> |
| 490 | + <activation> |
| 491 | + <jdk>1.8.0_251</jdk> |
| 492 | + </activation> |
| 493 | + <properties> |
| 494 | + <surefireArgLine/> |
| 495 | + </properties> |
| 496 | + </profile> |
| 497 | + <profile> |
| 498 | + <id>alpn-when-jdk8_252</id> |
| 499 | + <activation> |
| 500 | + <jdk>1.8.0_252</jdk> |
| 501 | + </activation> |
| 502 | + <properties> |
| 503 | + <surefireArgLine/> |
| 504 | + </properties> |
| 505 | + </profile> |
413 | 506 | </profiles>
|
414 | 507 |
|
415 | 508 | </project>
|
0 commit comments