File: pom.xml

package info (click to toggle)
jetty9 9.4.58-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 52,128 kB
  • sloc: java: 442,608; xml: 25,460; javascript: 1,039; sh: 912; jsp: 268; sql: 40; makefile: 16
file content (116 lines) | stat: -rw-r--r-- 3,709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?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">
  <parent>
    <groupId>org.eclipse.jetty.http2</groupId>
    <artifactId>http2-parent</artifactId>
    <version>9.4.58.v20250814</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <artifactId>http2-server</artifactId>
  <name>Jetty :: HTTP2 :: Server</name>

  <properties>
    <bundle-symbolic-name>${project.groupId}.server</bundle-symbolic-name>
    <manual.test.port>28888</manual.test.port>
  </properties>

  <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>
          <skipNoDockerAvailable>true</skipNoDockerAvailable>
          <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>

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

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