blob: 506fb635f9ef0be222778e74d5a37ded27f4ec31 (
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
|
<?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>
|