Fixed build with Java 17+.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
6ca9c4f878
commit
72d2724906
|
@ -8,7 +8,7 @@
|
|||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>jetty-quic-quiche-foreign-incubator</artifactId>
|
||||
<name>Jetty Core :: QUIC :: Quiche :: Foreign Binding (incubator)</name>
|
||||
<name>Jetty Core :: QUIC :: Quiche :: Foreign (Java 17)</name>
|
||||
|
||||
<properties>
|
||||
<bundle-symbolic-name>${project.groupId}.quic-quiche-foreign-incubator</bundle-symbolic-name>
|
||||
|
@ -20,9 +20,6 @@
|
|||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>17</source>
|
||||
<target>17</target>
|
||||
<release>17</release>
|
||||
<compilerArgs>
|
||||
<arg>--add-modules</arg>
|
||||
<arg>jdk.incubator.foreign</arg>
|
||||
|
|
|
@ -14,17 +14,6 @@
|
|||
<modules>
|
||||
<module>jetty-quic-quiche-common</module>
|
||||
<module>jetty-quic-quiche-jna</module>
|
||||
<module>jetty-quic-quiche-foreign-incubator</module>
|
||||
</modules>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jdk17</id>
|
||||
<activation>
|
||||
<jdk>17</jdk>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>jetty-quic-quiche-foreign-incubator</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<profile>
|
||||
<id>jdk17</id>
|
||||
<activation>
|
||||
<jdk>[17,)</jdk>
|
||||
<jdk>17</jdk>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
Loading…
Reference in New Issue