Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2015-10-07 19:39:02 +0000
committerSimone Bordet2015-10-07 19:39:02 +0000
commit0ca40b59c613704d81258af0b0dde6da0a83981e (patch)
tree023468749abb44758ddbe27511515849fdfb7fc9 /jetty-http2/http2-http-client-transport/pom.xml
parentb2f8192c7b23166d592c8289fd89aa7ff09873f6 (diff)
downloadorg.eclipse.jetty.project-0ca40b59c613704d81258af0b0dde6da0a83981e.tar.gz
org.eclipse.jetty.project-0ca40b59c613704d81258af0b0dde6da0a83981e.tar.xz
org.eclipse.jetty.project-0ca40b59c613704d81258af0b0dde6da0a83981e.zip
479277 - HttpClient with HTTP/2 transport does not work for "https" URLs.
Fixed by reworking how ClientConnectionFactories are handled by both HTTP2Client and by HttpClientTransportOverHTTP2, to avoid that the latter wraps the nested factories with SslConnection twice.
Diffstat (limited to 'jetty-http2/http2-http-client-transport/pom.xml')
-rw-r--r--jetty-http2/http2-http-client-transport/pom.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/jetty-http2/http2-http-client-transport/pom.xml b/jetty-http2/http2-http-client-transport/pom.xml
index be073c272d..df28dd82e0 100644
--- a/jetty-http2/http2-http-client-transport/pom.xml
+++ b/jetty-http2/http2-http-client-transport/pom.xml
@@ -15,6 +15,38 @@
</properties>
<build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.mortbay.jetty.alpn</groupId>
+ <artifactId>alpn-boot</artifactId>
+ <version>${alpn.version}</version>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}/alpn</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Xbootclasspath/p:${project.build.directory}/alpn/alpn-boot-${alpn.version}.jar</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<dependencies>

Back to the top