aboutsummaryrefslogtreecommitdiffstats
path: root/test/servlet-containers/wildfly-swarm/pom.xml
blob: b51ce3672d4ddbad6bcca78b1efc56022847abfe (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
<?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.10-SNAPSHOT</version>
    </parent>
    <artifactId>vaadin-test-wildfly-swarm-server</artifactId>
    <name>Vaadin Wildfly Swarm Test</name>
    <packaging>war</packaging>
    <properties>
        <jetty.skip>true</jetty.skip>
        <wildfly.swarm.version>2017.9.5</wildfly.swarm.version>
        <context.path>/</context.path>
        <server.name>wildfly-swarm</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>
            <!-- Server configuration -->
            <plugin>
                <groupId>org.wildfly.swarm</groupId>
                <artifactId>wildfly-swarm-plugin</artifactId>
                <version>${wildfly.swarm.version}</version>
                <executions>
                    <execution>
                        <id>start-swarm</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>package</goal>
                            <goal>start</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>stop-swarm</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>stop</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <useUberJar>true</useUberJar>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>