jetty.project/jetty-http2/http2-server/pom.xml

125 lines
3.8 KiB
XML
Raw Normal View History

2014-06-09 07:08:54 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2014-06-09 07:08:54 -04:00
<parent>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-parent</artifactId>
2020-09-30 12:53:09 -04:00
<version>9.4.33-SNAPSHOT</version>
2014-06-09 07:08:54 -04:00
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>http2-server</artifactId>
<name>Jetty :: HTTP2 :: Server</name>
<properties>
2014-08-15 05:35:49 -04:00
<bundle-symbolic-name>${project.groupId}.server</bundle-symbolic-name>
<manual.test.port>28888</manual.test.port>
2014-08-15 05:35:49 -04:00
</properties>
2014-06-09 07:08:54 -04:00
<dependencies>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.alpn</groupId>
<artifactId>alpn-api</artifactId>
<version>${alpn.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlets</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-server</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-test-helper</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
2014-06-09 07:08:54 -04:00
<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>
2020-10-16 16:39:38 -04:00
<profile>
<id>run-h2spec-in-docker</id>
2020-10-16 16:39:38 -04:00
<activation>
<file>
<exists>/var/run/docker.sock</exists>
</file>
2020-10-16 16:39:38 -04:00
</activation>
<build>
<plugins>
<plugin>
<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>
<excludeSpec>3.5 - Sends invalid connection preface</excludeSpec>
</excludeSpecs>
</configuration>
<executions>
<execution>
<id>h2spec</id>
<phase>test</phase>
<goals>
<goal>h2spec</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
2014-06-09 07:08:54 -04:00
</project>