h2s spec maven plugin 1.0.0 with h2spec 2.6.0 (#5231)

* use our fork of h2spec-maven-plugin and upgrade version

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2020-09-14 21:01:10 +10:00 committed by olivier lamy
parent c09a2c362c
commit ccab123f20
2 changed files with 36 additions and 5 deletions

View File

@ -12,6 +12,7 @@
<properties>
<bundle-symbolic-name>${project.groupId}.server</bundle-symbolic-name>
<manual.test.port>28888</manual.test.port>
</properties>
<build>
@ -25,14 +26,14 @@
</configuration>
</plugin>
<plugin>
<groupId>com.github.madgnome</groupId>
<groupId>org.mortbay.jetty</groupId>
<artifactId>h2spec-maven-plugin</artifactId>
<configuration>
<mainClass>org.eclipse.jetty.http2.server.H2SpecServer</mainClass>
<skip>${skipTests}</skip>
<junitPackage>org.eclipse.jetty.h2spec</junitPackage>
<excludeSpecs>
<!-- see: https://github.com/summerwind/h2spec/issues/115 -->
<excludeSpec>6.9.2 - Changes SETTINGS_INITIAL_WINDOW_SIZE after sending HEADERS frame</excludeSpec>
<excludeSpec>3.5 - Sends invalid connection preface</excludeSpec>
</excludeSpecs>
</configuration>
<executions>
@ -93,4 +94,34 @@
</dependency>
</dependencies>
<profiles>
<profile>
<id>run-spec-server</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>spec-server-run</id>
<phase>test</phase>
<configuration>
<mainClass>org.eclipse.jetty.http2.server.H2SpecServer</mainClass>
<classpathScope>test</classpathScope>
<arguments>
<argument>${manual.test.port}</argument>
</arguments>
</configuration>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -939,9 +939,9 @@
</configuration>
</plugin>
<plugin>
<groupId>com.github.madgnome</groupId>
<groupId>org.mortbay.jetty</groupId>
<artifactId>h2spec-maven-plugin</artifactId>
<version>0.6</version>
<version>1.0.0</version>
</plugin>
</plugins>
</pluginManagement>