vaadin-framework/test/servlet-containers/wildfly-swarm/pom.xml

66 lines
2.4 KiB
XML

<?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.14-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>