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>

* add a profile to run spec server

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* use h2spec plugin new version

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* version h2spec 1.0.0

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* exclude specs we know not working

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* use our own package name

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* test no exclusion

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* restore known failure

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* h2spec maven plugin version 1.0.0

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* change default port for manual testing

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 GitHub
parent 26d50c8e29
commit 3849a9118f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 3 deletions

View File

@ -12,16 +12,21 @@
<properties> <properties>
<bundle-symbolic-name>${project.groupId}.server</bundle-symbolic-name> <bundle-symbolic-name>${project.groupId}.server</bundle-symbolic-name>
<manual.test.port>28888</manual.test.port>
</properties> </properties>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>com.github.madgnome</groupId> <groupId>org.mortbay.jetty</groupId>
<artifactId>h2spec-maven-plugin</artifactId> <artifactId>h2spec-maven-plugin</artifactId>
<configuration> <configuration>
<mainClass>org.eclipse.jetty.http2.server.H2SpecServer</mainClass> <mainClass>org.eclipse.jetty.http2.server.H2SpecServer</mainClass>
<skip>${skipTests}</skip> <skip>${skipTests}</skip>
<junitPackage>org.eclipse.jetty.h2spec</junitPackage>
<excludeSpecs>
<excludeSpec>3.5 - Sends invalid connection preface</excludeSpec>
</excludeSpecs>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
@ -78,4 +83,34 @@
</dependency> </dependency>
</dependencies> </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> </project>

View File

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