summaryrefslogtreecommitdiffstats
path: root/test/servlet-containers/payara/pom.xml
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-10-09 15:51:34 +0300
committerHenri Sara <henri.sara@gmail.com>2017-10-09 15:51:34 +0300
commit4ac4b62434ab48fdb7d3ca9c479383d4242062aa (patch)
tree08925f02a1b695f9a2576acb550df26c5ec0a836 /test/servlet-containers/payara/pom.xml
parent9494818412d3f7d9aa9b8817dd6d62bb64963753 (diff)
downloadvaadin-framework-4ac4b62434ab48fdb7d3ca9c479383d4242062aa.tar.gz
vaadin-framework-4ac4b62434ab48fdb7d3ca9c479383d4242062aa.zip
Add maven based tests for several application servers (#10143)
Add tests for Glassfish based servers, Jetty 8, Tomcat 7 and Liberty (three runtimes).
Diffstat (limited to 'test/servlet-containers/payara/pom.xml')
-rw-r--r--test/servlet-containers/payara/pom.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/test/servlet-containers/payara/pom.xml b/test/servlet-containers/payara/pom.xml
new file mode 100644
index 0000000000..506fb635f9
--- /dev/null
+++ b/test/servlet-containers/payara/pom.xml
@@ -0,0 +1,66 @@
+<?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.2-SNAPSHOT</version>
+ </parent>
+ <artifactId>vaadin-test-payara-server</artifactId>
+ <name>Vaadin Payara Test</name>
+ <packaging>war</packaging>
+ <properties>
+ <jetty.skip>true</jetty.skip>
+ <payara.version>4.1.2.173</payara.version>
+ <server.name>payara</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>fish.payara.maven.plugins</groupId>
+ <artifactId>payara-micro-maven-plugin</artifactId>
+ </plugin>
+
+ <!-- Payara Micro starting time is a bit over a minute. Need to wait. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.8</version>
+ <executions>
+ <execution>
+ <id>wait-for-server-start</id>
+ <phase>pre-integration-test</phase>
+ <configuration>
+ <target>
+ <echo message="Waiting for Payara Micro server to start" />
+ <!-- Starting time from a couple of local test runs -->
+ <sleep seconds="65" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>