Issue #6728 - QUIC and HTTP/3

- Fixed missing <release>17</release> element.
- Fixed --add-opens option in Surefire to run the tests.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2021-11-08 19:50:31 +01:00
parent ec942f76bb
commit a234c7183a
5 changed files with 9 additions and 5 deletions

View File

@ -465,7 +465,7 @@
<dependencies>
<dependency>
<groupId>org.eclipse.jetty.quic</groupId>
<artifactId>quic-quiche-panama-jdk</artifactId>
<artifactId>quic-quiche-foreign-incubator</artifactId>
<version>10.0.8-SNAPSHOT</version>
</dependency>
</dependencies>

View File

@ -58,7 +58,7 @@
<dependencies>
<dependency>
<groupId>org.eclipse.jetty.quic</groupId>
<artifactId>quic-quiche-panama-jdk</artifactId>
<artifactId>quic-quiche-foreign-incubator</artifactId>
</dependency>
</dependencies>
</profile>

View File

@ -29,6 +29,7 @@
<configuration>
<source>17</source>
<target>17</target>
<release>17</release>
<compilerArgs>
<arg>--add-modules</arg>
<arg>jdk.incubator.foreign</arg>
@ -39,7 +40,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>
@{argLine} ${jetty.surefire.argLine} --enable-native-access org.eclipse.jetty.quic.quiche.foreign.incubator
@{argLine}
${jetty.surefire.argLine}
--add-opens org.eclipse.jetty.quic.quiche.foreign.incubator/org.eclipse.jetty.quic.quiche.foreign.incubator=ALL-UNNAMED
--enable-native-access org.eclipse.jetty.quic.quiche.foreign.incubator
</argLine>
</configuration>
</plugin>

View File

@ -47,7 +47,7 @@
<dependencies>
<dependency>
<groupId>org.eclipse.jetty.quic</groupId>
<artifactId>quic-quiche-panama-jdk</artifactId>
<artifactId>quic-quiche-foreign-incubator</artifactId>
</dependency>
</dependencies>
</profile>

View File

@ -1691,7 +1691,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.jetty.quic</groupId>
<artifactId>quic-quiche-panama-jdk</artifactId>
<artifactId>quic-quiche-foreign-incubator</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>