summaryrefslogtreecommitdiffstats
path: root/test/servlet-containers/wildfly9
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-10-05 10:09:22 +0300
committerGitHub <noreply@github.com>2017-10-05 10:09:22 +0300
commit3cbd834842319d151d9248706bc14e14a3abca42 (patch)
treea2e918d9632512acecf0fcadc31a2ac1a10de71c /test/servlet-containers/wildfly9
parenteda970f667f5784977b63a158b24bd1c1f28ffc4 (diff)
downloadvaadin-framework-3cbd834842319d151d9248706bc14e14a3abca42.tar.gz
vaadin-framework-3cbd834842319d151d9248706bc14e14a3abca42.zip
Add maven based server tests for Wildfly and Jetty (#10116)
This patch refactors the generic integration test war into two jar dependencies and individual modules for different servers. There is now a common approach for making configurations for the remaining server tests still executed through an Ant build script.
Diffstat (limited to 'test/servlet-containers/wildfly9')
-rw-r--r--test/servlet-containers/wildfly9/pom.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/servlet-containers/wildfly9/pom.xml b/test/servlet-containers/wildfly9/pom.xml
new file mode 100644
index 0000000000..074dc4aa52
--- /dev/null
+++ b/test/servlet-containers/wildfly9/pom.xml
@@ -0,0 +1,43 @@
+<?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-wildfly9-server</artifactId>
+ <name>Vaadin Wildfly 9 Test</name>
+ <packaging>war</packaging>
+ <properties>
+ <jetty.skip>true</jetty.skip>
+ <wildfly.version>9.0.2.Final</wildfly.version>
+ <server.name>wildfly9</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.plugins</groupId>
+ <artifactId>wildfly-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+</project>