Skip to content

Commit 8b0215b

Browse files
committed
Fixed #27 By default select ALPN supporting 8u161 and newer
- tested successfuly with 8u144 and 8u181
1 parent eb950aa commit 8b0215b

File tree

1 file changed

+6
-49
lines changed

1 file changed

+6
-49
lines changed

servlet/http2/pom.xml

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?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">
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">
33
<modelVersion>4.0.0</modelVersion>
44

55
<parent>
@@ -12,11 +12,11 @@
1212
<packaging>war</packaging>
1313

1414
<name>Java EE 8 Samples: Servlet - http2</name>
15-
15+
1616
<properties>
1717
<jetty-version>9.4.8.v20171121</jetty-version>
1818
</properties>
19-
19+
2020
<dependencies>
2121
<!-- Jetty HTTP2 client -->
2222
<dependency>
@@ -53,6 +53,8 @@
5353
<jdk>1.8</jdk>
5454
</activation>
5555
<properties>
56+
<!-- default is the newest possible, supports 8u161 to 8u181 -->
57+
<alpn.version>8.1.12.v20180117</alpn.version>
5658
<bootclasspathPrefix>
5759
${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/${alpn.version}/alpn-boot-${alpn.version}.jar
5860
</bootclasspathPrefix>
@@ -327,51 +329,6 @@
327329
<alpn.version>8.1.11.v20170118</alpn.version>
328330
</properties>
329331
</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-
<profile>
358-
<id>alpn-when-jdk8_172</id>
359-
<activation>
360-
<jdk>1.8.0_172</jdk>
361-
</activation>
362-
<properties>
363-
<alpn.version>8.1.12.v20180117</alpn.version>
364-
</properties>
365-
</profile>
366-
<profile>
367-
<id>alpn-when-jdk8_173</id>
368-
<activation>
369-
<jdk>1.8.0_173</jdk>
370-
</activation>
371-
<properties>
372-
<alpn.version>8.1.12.v20180117</alpn.version>
373-
</properties>
374-
</profile>
375332
</profiles>
376-
333+
377334
</project>

0 commit comments

Comments
 (0)