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:
Olivier Lamy 2024-08-30 12:06:40 +10:00 committed by GitHub
parent 4755fa3f68
commit e1cd1f57c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 29 deletions

View File

@ -72,10 +72,18 @@
--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>
</plugins>
</build>
<profiles>
<profile>
<id>h2spec</id>
<build>
<plugins>
<plugin> <plugin>
<groupId>org.mortbay.jetty</groupId> <groupId>org.mortbay.jetty</groupId>
<artifactId>h2spec-maven-plugin</artifactId> <artifactId>h2spec-maven-plugin</artifactId>
<version>1.0.12</version> <version>1.0.13</version>
<configuration> <configuration>
<mainClass>org.eclipse.jetty.http2.tests.H2SpecServer</mainClass> <mainClass>org.eclipse.jetty.http2.tests.H2SpecServer</mainClass>
<skip>${h2spec.skip}</skip> <skip>${h2spec.skip}</skip>
@ -97,8 +105,7 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</profile>
<profiles>
<profile> <profile>
<id>run-spec-server</id> <id>run-spec-server</id>
<build> <build>

View File

@ -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>