diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-10-09 15:51:34 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-10-09 15:51:34 +0300 |
commit | 4ac4b62434ab48fdb7d3ca9c479383d4242062aa (patch) | |
tree | 08925f02a1b695f9a2576acb550df26c5ec0a836 /test/servlet-containers/jetty8/pom.xml | |
parent | 9494818412d3f7d9aa9b8817dd6d62bb64963753 (diff) | |
download | vaadin-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/jetty8/pom.xml')
-rw-r--r-- | test/servlet-containers/jetty8/pom.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/test/servlet-containers/jetty8/pom.xml b/test/servlet-containers/jetty8/pom.xml new file mode 100644 index 0000000000..0337058822 --- /dev/null +++ b/test/servlet-containers/jetty8/pom.xml @@ -0,0 +1,73 @@ +<?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-jetty8-server</artifactId> + <name>Vaadin Jetty 8 Test</name> + <packaging>war</packaging> + <properties> + <jetty.skip>true</jetty.skip> + <mortbay.jetty.version>8.1.16.v20140903</mortbay.jetty.version> + <server.name>jetty8</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> + <!-- + This server test is for an old, outdated version of jetty. + The configuration is not moved to the parent pom, since this + is not useful anywhere else. + --> + <plugin> + <groupId>org.mortbay.jetty</groupId> + <artifactId>jetty-maven-plugin</artifactId> + <version>${mortbay.jetty.version}</version> + <executions> + <execution> + <id>start-jetty</id> + <phase>pre-integration-test</phase> + <goals> + <goal>start</goal> + </goals> + </execution> + <execution> + <id>stop-jetty</id> + <phase>post-integration-test</phase> + <goals> + <goal>stop</goal> + </goals> + </execution> + </executions> + <configuration> + <webApp> + <contextPath>${context.path}</contextPath> + </webApp> + <stopKey>q</stopKey> + <stopPort>8082</stopPort> + <daemon>true</daemon> + <skip>false</skip> + </configuration> + </plugin> + </plugins> + </build> +</project> |