aboutsummaryrefslogtreecommitdiffstats
path: root/test/servlet-containers/jetty8/pom.xml
blob: 0a4d37b83a5b977c5e68719ed4119a0f719b12c3 (plain)
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
<?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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.vaadin</groupId>
        <artifactId>vaadin-servlet-containers-test</artifactId>
        <version>8.8-SNAPSHOT</version>
    </parent>
    <artifactId>vaadin-test-jetty8-server</artifactId>
    <name>Vaadin Jetty 8 Test</name>
    <packaging>war</packaging>
    <properties>
        <jetty.skip>true</jetty.skip>
        <mortbay.jetty.version>8.1.16.v20140903</mortbay.jetty.version>
        <server.name>jetty8</server.name>
    </properties>

    <dependencies>
        <!-- UI classes and tests from dependencies -->
        <dependency>
            <groupId>com.vaadin</groupId>
            <artifactId>vaadin-test-server-ui</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>com.vaadin</groupId>
            <artifactId>vaadin-test-server-tests</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <!-- 
                This server test is for an old, outdated version of jetty.
                The configuration is not moved to the parent pom, since this 
                is not useful anywhere else.
            -->
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>${mortbay.jetty.version}</version>
                <executions>
                    <execution>
                        <id>start-jetty</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>stop-jetty</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>stop</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <webApp>
                        <contextPath>${context.path}</contextPath>
                    </webApp>
                    <stopKey>q</stopKey>
                    <stopPort>8082</stopPort>
                    <daemon>true</daemon>
                    <skip>false</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>