aboutsummaryrefslogtreecommitdiffstats
path: root/test/servlet-containers/pom.xml
blob: 7727c86c4fea99e8b976da29972f3d3b7c22ae54 (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
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
117
118
119
<?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-test</artifactId>
        <version>8.2-SNAPSHOT</version>
    </parent>
    <artifactId>vaadin-servlet-containers-test</artifactId>
    <name>vaadin-servlet-containers-test</name>
    <packaging>pom</packaging>

    <modules>
        <module>generic-ui</module>
        <module>generic-tests</module>
    </modules>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.wildfly.plugins</groupId>
                    <artifactId>wildfly-maven-plugin</artifactId>
                    <version>1.2.0.Final</version>
                    <executions>
                        <execution>
                            <id>start-wildfly</id>
                            <phase>pre-integration-test</phase>
                            <goals>
                                <goal>start</goal>
                                <goal>deploy</goal>
                            </goals>
                            <configuration>
                                <!-- Context path comes from WAR deployment name -->
                                <name>demo.war</name>
                            </configuration>
                        </execution>
                        <execution>
                            <id>stop-wildfly</id>
                            <phase>post-integration-test</phase>
                            <goals>
                                <goal>shutdown</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.eclipse.jetty</groupId>
                    <artifactId>jetty-maven-plugin</artifactId>
                    <configuration>
                        <webApp>
                            <contextPath>/demo</contextPath>
                        </webApp>
                    </configuration>
                </plugin>

                <!-- General purpose plugins -->
                <plugin>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <configuration>
                        <skip>true</skip>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <skip>true</skip>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <configuration>
                        <dependenciesToScan>
                            <dependency>${project.groupId}:vaadin-test-server-tests</dependency>
                        </dependenciesToScan>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <profiles>
        <profile>
            <id>all</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
                <module>jsp-integration</module>
                <module>karaf</module>
                <module>wildfly10</module>
                <module>wildfly9</module>
                <module>jetty9</module>
            </modules>
        </profile>
        <!-- TODO Remove this when the ant build is no longer used. -->
        <profile>
            <id>ant-test</id>
            <modules>
                <module>generic</module>
            </modules>
        </profile>
        <profile>
            <id>wildfly</id>
            <modules>
                <module>wildfly10</module>
                <module>wildfly9</module>
            </modules>
        </profile>
        <profile>
            <id>jetty</id>
            <modules>
                <module>jetty9</module>
            </modules>
        </profile>
    </profiles>

</project>