Issue #1073 - JDK9 support in Jetty 9.3.x.

Marked tests in module http2-alpn-tests for JDK 8 only, since
equivalent tests for JDK 9 would require use of JDK 9 only APIs.
This commit is contained in:
Simone Bordet 2017-01-13 19:02:28 +01:00
parent beb8f3270a
commit a9fb678fe2
2 changed files with 51 additions and 63 deletions

View File

@ -14,12 +14,6 @@
<bundle-symbolic-name>${project.groupId}.alpn.tests</bundle-symbolic-name> <bundle-symbolic-name>${project.groupId}.alpn.tests</bundle-symbolic-name>
</properties> </properties>
<profiles>
<profile>
<id>jdk8</id>
<activation>
<jdk>[1.8,1.9)</jdk>
</activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -54,6 +48,7 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.eclipse.jetty.alpn</groupId> <groupId>org.eclipse.jetty.alpn</groupId>
@ -61,29 +56,11 @@
<version>${alpn.api.version}</version> <version>${alpn.api.version}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies>
</profile>
<profile>
<id>jdk9</id>
<activation>
<jdk>[1.9,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.eclipse.jetty.alpn</groupId>
<artifactId>alpn-api</artifactId>
<version>${alpn.api.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
<dependencies>
<dependency> <dependency>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-server</artifactId> <artifactId>jetty-alpn-server</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<scope>provided</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>

View File

@ -13,7 +13,6 @@
<name>Jetty :: HTTP2</name> <name>Jetty :: HTTP2</name>
<modules> <modules>
<module>http2-alpn-tests</module>
<module>http2-client</module> <module>http2-client</module>
<module>http2-common</module> <module>http2-common</module>
<module>http2-hpack</module> <module>http2-hpack</module>
@ -21,4 +20,16 @@
<module>http2-server</module> <module>http2-server</module>
</modules> </modules>
<profiles>
<profile>
<id>jdk8</id>
<activation>
<jdk>[1.8,1.9)</jdk>
</activation>
<modules>
<module>http2-alpn-tests</module>
</modules>
</profile>
</profiles>
</project> </project>