|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <parent> |
| 6 | + <groupId>org.javaee8</groupId> |
| 7 | + <artifactId>servlet</artifactId> |
| 8 | + <version>1.0-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <artifactId>servlet-http2</artifactId> |
| 12 | + <packaging>war</packaging> |
| 13 | + |
| 14 | + <name>Java EE 8 Samples: Servlet - http2</name> |
| 15 | + |
| 16 | + <properties> |
| 17 | + <jetty-version>9.4.8.v20171121</jetty-version> |
| 18 | + </properties> |
| 19 | + |
| 20 | + <dependencies> |
| 21 | + <!-- Jetty HTTP2 client --> |
| 22 | + <dependency> |
| 23 | + <groupId>org.eclipse.jetty.http2</groupId> |
| 24 | + <artifactId>http2-client</artifactId> |
| 25 | + <version>${jetty-version}</version> |
| 26 | + <scope>test</scope> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.eclipse.jetty.http2</groupId> |
| 30 | + <artifactId>http2-common</artifactId> |
| 31 | + <version>${jetty-version}</version> |
| 32 | + <scope>test</scope> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>org.eclipse.jetty</groupId> |
| 36 | + <artifactId>jetty-alpn-openjdk8-client</artifactId> |
| 37 | + <version>${jetty-version}</version> |
| 38 | + <scope>test</scope> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>org.eclipse.jetty</groupId> |
| 42 | + <artifactId>jetty-alpn-java-client</artifactId> |
| 43 | + <version>${jetty-version}</version> |
| 44 | + <scope>test</scope> |
| 45 | + </dependency> |
| 46 | + </dependencies> |
| 47 | + |
| 48 | + <!-- ALPN profiles are needed to ensure that the correct ALPN version is used --> |
| 49 | + <profiles> |
| 50 | + <profile> |
| 51 | + <id>alpn-when-jdk8</id> |
| 52 | + <activation> |
| 53 | + <jdk>1.8</jdk> |
| 54 | + </activation> |
| 55 | + <properties> |
| 56 | + <bootclasspathPrefix> |
| 57 | + ${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/${alpn.version}/alpn-boot-${alpn.version}.jar |
| 58 | + </bootclasspathPrefix> |
| 59 | + </properties> |
| 60 | + <build> |
| 61 | + <plugins> |
| 62 | + <plugin> |
| 63 | + <artifactId>maven-surefire-plugin</artifactId> |
| 64 | + <configuration> |
| 65 | + <argLine>-Xbootclasspath/p:${bootclasspathPrefix}</argLine> |
| 66 | + </configuration> |
| 67 | + <dependencies> |
| 68 | + <dependency> |
| 69 | + <groupId>org.mortbay.jetty.alpn</groupId> |
| 70 | + <artifactId>alpn-boot</artifactId> |
| 71 | + <version>${alpn.version}</version> |
| 72 | + </dependency> |
| 73 | + </dependencies> |
| 74 | + </plugin> |
| 75 | + </plugins> |
| 76 | + </build> |
| 77 | + </profile> |
| 78 | + <profile> |
| 79 | + <id>alpn-when-jdk8_05</id> |
| 80 | + <activation> |
| 81 | + <jdk>1.8.0_05</jdk> |
| 82 | + </activation> |
| 83 | + <properties> |
| 84 | + <alpn.version>8.1.0.v20141016</alpn.version> |
| 85 | + </properties> |
| 86 | + </profile> |
| 87 | + <profile> |
| 88 | + <id>alpn-when-jdk8_11</id> |
| 89 | + <activation> |
| 90 | + <jdk>1.8.0_11</jdk> |
| 91 | + </activation> |
| 92 | + <properties> |
| 93 | + <alpn.version>8.1.0.v20141016</alpn.version> |
| 94 | + </properties> |
| 95 | + </profile> |
| 96 | + <profile> |
| 97 | + <id>alpn-when-jdk8_20</id> |
| 98 | + <activation> |
| 99 | + <jdk>1.8.0_20</jdk> |
| 100 | + </activation> |
| 101 | + <properties> |
| 102 | + <alpn.version>8.1.0.v20141016</alpn.version> |
| 103 | + </properties> |
| 104 | + </profile> |
| 105 | + <profile> |
| 106 | + <id>alpn-when-jdk8_25</id> |
| 107 | + <activation> |
| 108 | + <jdk>1.8.0_25</jdk> |
| 109 | + </activation> |
| 110 | + <properties> |
| 111 | + <alpn.version>8.1.2.v20141202</alpn.version> |
| 112 | + </properties> |
| 113 | + </profile> |
| 114 | + <profile> |
| 115 | + <id>alpn-when-jdk8_31</id> |
| 116 | + <activation> |
| 117 | + <jdk>1.8.0_31</jdk> |
| 118 | + </activation> |
| 119 | + <properties> |
| 120 | + <alpn.version>8.1.3.v20150130</alpn.version> |
| 121 | + </properties> |
| 122 | + </profile> |
| 123 | + <profile> |
| 124 | + <id>alpn-when-jdk8_40</id> |
| 125 | + <activation> |
| 126 | + <jdk>1.8.0_40</jdk> |
| 127 | + </activation> |
| 128 | + <properties> |
| 129 | + <alpn.version>8.1.3.v20150130</alpn.version> |
| 130 | + </properties> |
| 131 | + </profile> |
| 132 | + <profile> |
| 133 | + <id>alpn-when-jdk8_45</id> |
| 134 | + <activation> |
| 135 | + <jdk>1.8.0_45</jdk> |
| 136 | + </activation> |
| 137 | + <properties> |
| 138 | + <alpn.version>8.1.3.v20150130</alpn.version> |
| 139 | + </properties> |
| 140 | + </profile> |
| 141 | + <profile> |
| 142 | + <id>alpn-when-jdk8_51</id> |
| 143 | + <activation> |
| 144 | + <jdk>1.8.0_51</jdk> |
| 145 | + </activation> |
| 146 | + <properties> |
| 147 | + <alpn.version>8.1.4.v20150727</alpn.version> |
| 148 | + </properties> |
| 149 | + </profile> |
| 150 | + <profile> |
| 151 | + <id>alpn-when-jdk8_60</id> |
| 152 | + <activation> |
| 153 | + <jdk>1.8.0_60</jdk> |
| 154 | + </activation> |
| 155 | + <properties> |
| 156 | + <alpn.version>8.1.5.v20150921</alpn.version> |
| 157 | + </properties> |
| 158 | + </profile> |
| 159 | + <profile> |
| 160 | + <id>alpn-when-jdk8_65</id> |
| 161 | + <activation> |
| 162 | + <jdk>1.8.0_65</jdk> |
| 163 | + </activation> |
| 164 | + <properties> |
| 165 | + <alpn.version>8.1.6.v20151105</alpn.version> |
| 166 | + </properties> |
| 167 | + </profile> |
| 168 | + <profile> |
| 169 | + <id>alpn-when-jdk8_66</id> |
| 170 | + <activation> |
| 171 | + <jdk>1.8.0_66</jdk> |
| 172 | + </activation> |
| 173 | + <properties> |
| 174 | + <alpn.version>8.1.6.v20151105</alpn.version> |
| 175 | + </properties> |
| 176 | + </profile> |
| 177 | + <profile> |
| 178 | + <id>alpn-when-jdk8_71</id> |
| 179 | + <activation> |
| 180 | + <jdk>1.8.0_71</jdk> |
| 181 | + </activation> |
| 182 | + <properties> |
| 183 | + <alpn.version>8.1.7.v20160121</alpn.version> |
| 184 | + </properties> |
| 185 | + </profile> |
| 186 | + <profile> |
| 187 | + <id>alpn-when-jdk8_72</id> |
| 188 | + <activation> |
| 189 | + <jdk>1.8.0_72</jdk> |
| 190 | + </activation> |
| 191 | + <properties> |
| 192 | + <alpn.version>8.1.7.v20160121</alpn.version> |
| 193 | + </properties> |
| 194 | + </profile> |
| 195 | + <profile> |
| 196 | + <id>alpn-when-jdk8_73</id> |
| 197 | + <activation> |
| 198 | + <jdk>1.8.0_73</jdk> |
| 199 | + </activation> |
| 200 | + <properties> |
| 201 | + <alpn.version>8.1.7.v20160121</alpn.version> |
| 202 | + </properties> |
| 203 | + </profile> |
| 204 | + <profile> |
| 205 | + <id>alpn-when-jdk8_74</id> |
| 206 | + <activation> |
| 207 | + <jdk>1.8.0_74</jdk> |
| 208 | + </activation> |
| 209 | + <properties> |
| 210 | + <alpn.version>8.1.7.v20160121</alpn.version> |
| 211 | + </properties> |
| 212 | + </profile> |
| 213 | + <profile> |
| 214 | + <id>alpn-when-jdk8_77</id> |
| 215 | + <activation> |
| 216 | + <jdk>1.8.0_77</jdk> |
| 217 | + </activation> |
| 218 | + <properties> |
| 219 | + <alpn.version>8.1.7.v20160121</alpn.version> |
| 220 | + </properties> |
| 221 | + </profile> |
| 222 | + <profile> |
| 223 | + <id>alpn-when-jdk8_91</id> |
| 224 | + <activation> |
| 225 | + <jdk>1.8.0_91</jdk> |
| 226 | + </activation> |
| 227 | + <properties> |
| 228 | + <alpn.version>8.1.7.v20160121</alpn.version> |
| 229 | + </properties> |
| 230 | + </profile> |
| 231 | + <profile> |
| 232 | + <id>alpn-when-jdk8_92</id> |
| 233 | + <activation> |
| 234 | + <jdk>1.8.0_92</jdk> |
| 235 | + </activation> |
| 236 | + <properties> |
| 237 | + <alpn.version>8.1.8.v20160420</alpn.version> |
| 238 | + </properties> |
| 239 | + </profile> |
| 240 | + <profile> |
| 241 | + <id>alpn-when-jdk8_101</id> |
| 242 | + <activation> |
| 243 | + <jdk>1.8.0_101</jdk> |
| 244 | + </activation> |
| 245 | + <properties> |
| 246 | + <alpn.version>8.1.8.v20160420</alpn.version> |
| 247 | + </properties> |
| 248 | + </profile> |
| 249 | + <profile> |
| 250 | + <id>alpn-when-jdk8_102</id> |
| 251 | + <activation> |
| 252 | + <jdk>1.8.0_102</jdk> |
| 253 | + </activation> |
| 254 | + <properties> |
| 255 | + <alpn.version>8.1.9.v20160720</alpn.version> |
| 256 | + </properties> |
| 257 | + </profile> |
| 258 | + <profile> |
| 259 | + <id>alpn-when-jdk8_111</id> |
| 260 | + <activation> |
| 261 | + <jdk>1.8.0_111</jdk> |
| 262 | + </activation> |
| 263 | + <properties> |
| 264 | + <alpn.version>8.1.9.v20160720</alpn.version> |
| 265 | + </properties> |
| 266 | + </profile> |
| 267 | + <profile> |
| 268 | + <id>alpn-when-jdk8_112</id> |
| 269 | + <activation> |
| 270 | + <jdk>1.8.0_112</jdk> |
| 271 | + </activation> |
| 272 | + <properties> |
| 273 | + <alpn.version>8.1.9.v20160720</alpn.version> |
| 274 | + </properties> |
| 275 | + </profile> |
| 276 | + <profile> |
| 277 | + <id>alpn-when-jdk8_121</id> |
| 278 | + <activation> |
| 279 | + <jdk>1.8.0_121</jdk> |
| 280 | + </activation> |
| 281 | + <properties> |
| 282 | + <alpn.version>8.1.11.v20170118</alpn.version> |
| 283 | + </properties> |
| 284 | + </profile> |
| 285 | + <profile> |
| 286 | + <id>alpn-when-jdk8_131</id> |
| 287 | + <activation> |
| 288 | + <jdk>1.8.0_131</jdk> |
| 289 | + </activation> |
| 290 | + <properties> |
| 291 | + <alpn.version>8.1.11.v20170118</alpn.version> |
| 292 | + </properties> |
| 293 | + </profile> |
| 294 | + <profile> |
| 295 | + <id>alpn-when-jdk8_141</id> |
| 296 | + <activation> |
| 297 | + <jdk>1.8.0_141</jdk> |
| 298 | + </activation> |
| 299 | + <properties> |
| 300 | + <alpn.version>8.1.11.v20170118</alpn.version> |
| 301 | + </properties> |
| 302 | + </profile> |
| 303 | + <profile> |
| 304 | + <id>alpn-when-jdk8_144</id> |
| 305 | + <activation> |
| 306 | + <jdk>1.8.0_144</jdk> |
| 307 | + </activation> |
| 308 | + <properties> |
| 309 | + <alpn.version>8.1.11.v20170118</alpn.version> |
| 310 | + </properties> |
| 311 | + </profile> |
| 312 | + <profile> |
| 313 | + <id>alpn-when-jdk8_151</id> |
| 314 | + <activation> |
| 315 | + <jdk>1.8.0_151</jdk> |
| 316 | + </activation> |
| 317 | + <properties> |
| 318 | + <alpn.version>8.1.11.v20170118</alpn.version> |
| 319 | + </properties> |
| 320 | + </profile> |
| 321 | + <profile> |
| 322 | + <id>alpn-when-jdk8_152</id> |
| 323 | + <activation> |
| 324 | + <jdk>1.8.0_152</jdk> |
| 325 | + </activation> |
| 326 | + <properties> |
| 327 | + <alpn.version>8.1.11.v20170118</alpn.version> |
| 328 | + </properties> |
| 329 | + </profile> |
| 330 | + <profile> |
| 331 | + <id>alpn-when-jdk8_161</id> |
| 332 | + <activation> |
| 333 | + <jdk>1.8.0_161</jdk> |
| 334 | + </activation> |
| 335 | + <properties> |
| 336 | + <alpn.version>8.1.12.v20180117</alpn.version> |
| 337 | + </properties> |
| 338 | + </profile> |
| 339 | + <profile> |
| 340 | + <id>alpn-when-jdk8_162</id> |
| 341 | + <activation> |
| 342 | + <jdk>1.8.0_162</jdk> |
| 343 | + </activation> |
| 344 | + <properties> |
| 345 | + <alpn.version>8.1.12.v20180117</alpn.version> |
| 346 | + </properties> |
| 347 | + </profile> |
| 348 | + <profile> |
| 349 | + <id>alpn-when-jdk8_163</id> |
| 350 | + <activation> |
| 351 | + <jdk>1.8.0_163</jdk> |
| 352 | + </activation> |
| 353 | + <properties> |
| 354 | + <alpn.version>8.1.12.v20180117</alpn.version> |
| 355 | + </properties> |
| 356 | + </profile> |
| 357 | + </profiles> |
| 358 | + |
| 359 | +</project> |
0 commit comments