Move h2spec exec to a profile (#12209)
* move h2spec plugin exec to a profile --------- Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
parent
4755fa3f68
commit
e1cd1f57c8
|
@ -72,33 +72,40 @@
|
||||||
--add-reads org.eclipse.jetty.http2.server=org.eclipse.jetty.logging</argLine>
|
--add-reads org.eclipse.jetty.http2.server=org.eclipse.jetty.logging</argLine>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.mortbay.jetty</groupId>
|
|
||||||
<artifactId>h2spec-maven-plugin</artifactId>
|
|
||||||
<version>1.0.12</version>
|
|
||||||
<configuration>
|
|
||||||
<mainClass>org.eclipse.jetty.http2.tests.H2SpecServer</mainClass>
|
|
||||||
<skip>${h2spec.skip}</skip>
|
|
||||||
<junitPackage>org.eclipse.jetty.h2spec</junitPackage>
|
|
||||||
<skipNoDockerAvailable>true</skipNoDockerAvailable>
|
|
||||||
<excludeSpecs>
|
|
||||||
<excludeSpec>3.5 - Sends invalid connection preface</excludeSpec>
|
|
||||||
</excludeSpecs>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>h2spec</id>
|
|
||||||
<goals>
|
|
||||||
<goal>h2spec</goal>
|
|
||||||
</goals>
|
|
||||||
<phase>test</phase>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>h2spec</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.mortbay.jetty</groupId>
|
||||||
|
<artifactId>h2spec-maven-plugin</artifactId>
|
||||||
|
<version>1.0.13</version>
|
||||||
|
<configuration>
|
||||||
|
<mainClass>org.eclipse.jetty.http2.tests.H2SpecServer</mainClass>
|
||||||
|
<skip>${h2spec.skip}</skip>
|
||||||
|
<junitPackage>org.eclipse.jetty.h2spec</junitPackage>
|
||||||
|
<skipNoDockerAvailable>true</skipNoDockerAvailable>
|
||||||
|
<excludeSpecs>
|
||||||
|
<excludeSpec>3.5 - Sends invalid connection preface</excludeSpec>
|
||||||
|
</excludeSpecs>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>h2spec</id>
|
||||||
|
<goals>
|
||||||
|
<goal>h2spec</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>test</phase>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>run-spec-server</id>
|
<id>run-spec-server</id>
|
||||||
<build>
|
<build>
|
||||||
|
|
6
pom.xml
6
pom.xml
|
@ -192,7 +192,6 @@
|
||||||
<gson.version>2.11.0</gson.version>
|
<gson.version>2.11.0</gson.version>
|
||||||
<guava.version>33.2.1-jre</guava.version>
|
<guava.version>33.2.1-jre</guava.version>
|
||||||
<guice.version>7.0.0</guice.version>
|
<guice.version>7.0.0</guice.version>
|
||||||
<h2spec.maven.plugin.version>1.0.13</h2spec.maven.plugin.version>
|
|
||||||
<hamcrest.version>2.2</hamcrest.version>
|
<hamcrest.version>2.2</hamcrest.version>
|
||||||
<hazelcast.version>5.4.0</hazelcast.version>
|
<hazelcast.version>5.4.0</hazelcast.version>
|
||||||
<hibernate.search.version>7.1.1.Final</hibernate.search.version>
|
<hibernate.search.version>7.1.1.Final</hibernate.search.version>
|
||||||
|
@ -1670,11 +1669,6 @@
|
||||||
<artifactId>jacoco-maven-plugin</artifactId>
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<version>${jacoco.maven.plugin.version}</version>
|
<version>${jacoco.maven.plugin.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.mortbay.jetty</groupId>
|
|
||||||
<artifactId>h2spec-maven-plugin</artifactId>
|
|
||||||
<version>${h2spec.maven.plugin.version}</version>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
Loading…
Reference in New Issue