123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- <?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-test</artifactId>
- <version>8.11-SNAPSHOT</version>
- </parent>
- <artifactId>vaadin-servlet-containers-test</artifactId>
- <name>vaadin-servlet-containers-test</name>
- <packaging>pom</packaging>
-
- <properties>
- <server.name>jetty9</server.name>
- <context.path>/${project.build.finalName}</context.path>
-
- <!-- Default reference screenshot location, relative to the module path -->
- <reference.directory>${project.basedir}/../screenshots</reference.directory>
- </properties>
-
- <modules>
- <module>generic-ui</module>
- <module>generic-tests</module>
- </modules>
-
- <build>
- <pluginManagement>
- <plugins>
- <!-- Wildfly Configuration. Version selected with wildfly.version -->
- <plugin>
- <groupId>org.wildfly.plugins</groupId>
- <artifactId>wildfly-maven-plugin</artifactId>
- <version>1.2.0.Final</version>
- <executions>
- <execution>
- <id>start-wildfly</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>start</goal>
- <goal>deploy</goal>
- </goals>
- </execution>
- <execution>
- <id>stop-wildfly</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>shutdown</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- Payara Micro Configuration. Version selected with payara.version -->
- <plugin>
- <groupId>fish.payara.maven.plugins</groupId>
- <artifactId>payara-micro-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <id>start-payara</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>bundle</goal>
- <goal>start</goal>
- </goals>
- </execution>
- <execution>
- <id>stop-payara</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <payaraVersion>${payara.version}</payaraVersion>
- <useUberJar>true</useUberJar>
- <daemon>true</daemon>
- </configuration>
- </plugin>
-
- <!-- Glassfish Embedded Configuration. -->
- <plugin>
- <groupId>org.glassfish.embedded</groupId>
- <artifactId>maven-embedded-glassfish-plugin</artifactId>
- <version>4.1.1</version>
- <executions>
- <execution>
- <id>start-glassfish</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>start</goal>
- <goal>deploy</goal>
- </goals>
- </execution>
- <execution>
- <id>stop-glassfish</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <port>8080</port>
- </configuration>
- </plugin>
-
- <!-- Generic cargo plugin configuration. Define container to use in submodule. -->
- <plugin>
- <groupId>org.codehaus.cargo</groupId>
- <artifactId>cargo-maven2-plugin</artifactId>
- <configuration>
- <configuration>
- <type>standalone</type>
- <home>
- ${project.build.directory}/cargo-server
- </home>
- <properties>
- <cargo.servlet.port>8080</cargo.servlet.port>
- </properties>
- </configuration>
- <deployables>
- <deployable>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}</artifactId>
- <type>war</type>
- <properties>
- <context>${context.path}</context>
- </properties>
- </deployable>
- </deployables>
- </configuration>
- <executions>
- <execution>
- <id>start-cargo-server</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>start</goal>
- </goals>
- </execution>
- <execution>
- <id>stop-cargo-server</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- WebSphere Liberty Configuration. Version and profile are configurable with liberty.version and liberty.profile -->
- <plugin>
- <groupId>net.wasdev.wlp.maven.plugins</groupId>
- <artifactId>liberty-maven-plugin</artifactId>
- <version>2.0</version>
- <executions>
- <execution>
- <id>start-liberty</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>start-server</goal>
- <goal>deploy</goal>
- </goals>
- </execution>
- <execution>
- <id>stop-liberty</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>stop-server</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <!-- FIXME: This plug-in should also use port 8080 -->
- <appArtifact>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}</artifactId>
- <version>${project.version}</version>
- <type>${project.packaging}</type>
- </appArtifact>
- <assemblyArtifact>
- <groupId>com.ibm.websphere.appserver.runtime</groupId>
- <artifactId>${liberty.profile}</artifactId>
- <version>${liberty.version}</version>
- <type>zip</type>
- </assemblyArtifact>
- </configuration>
- </plugin>
-
- <!-- Jetty Configuration. Version selected with jetty.version -->
- <plugin>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <configuration>
- <webApp>
- <contextPath>${context.path}</contextPath>
- </webApp>
- </configuration>
- </plugin>
-
- <!-- General purpose plugins -->
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <dependenciesToScan>
- <dependency>${project.groupId}:vaadin-test-server-tests</dependency>
- </dependenciesToScan>
- <systemPropertyVariables>
- <deployment.context.path>${context.path}</deployment.context.path>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <profiles>
- <profile>
- <id>all</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <modules>
- <module>jsp-integration</module>
- <module>karaf</module>
- <module>wildfly13</module>
- <module>wildfly12</module>
- <module>wildfly11</module>
- <module>wildfly10</module>
- <module>wildfly9</module>
- <module>wildfly8</module>
- <module>wildfly-swarm</module>
- <module>jetty8</module>
- <module>jetty9</module>
- <module>payara-micro</module>
- <module>glassfish</module>
- <!-- TODO: Payara 5 and Glassfish 5 -->
- <module>tomcat7</module>
- <module>tomcat80</module>
- <module>tomcat85</module>
- <module>tomcat9</module>
- <module>liberty-javaee</module>
- <module>liberty-webprofile</module>
- <module>liberty-microprofile</module>
- </modules>
- </profile>
- <profile>
- <!-- TODO Remove this when the ant build is no longer used. -->
- <id>ant-test</id>
- <modules>
- <module>generic</module>
- </modules>
- </profile>
- <profile>
- <id>wildfly</id>
- <modules>
- <module>wildfly13</module>
- <module>wildfly12</module>
- <module>wildfly11</module>
- <module>wildfly10</module>
- <module>wildfly9</module>
- <module>wildfly8</module>
- </modules>
- </profile>
- <profile>
- <id>jetty</id>
- <modules>
- <module>jetty9</module>
- <module>jetty8</module>
- </modules>
- </profile>
- <profile>
- <id>liberty</id>
- <modules>
- <module>liberty-webprofile</module>
- <module>liberty-javaee</module>
- </modules>
- </profile>
- <profile>
- <id>glassfish</id>
- <modules>
- <module>glassfish</module>
- </modules>
- </profile>
- <profile>
- <id>tomcat</id>
- <modules>
- <module>tomcat7</module>
- <module>tomcat80</module>
- <module>tomcat85</module>
- <module>tomcat9</module>
- </modules>
- </profile>
- <profile>
- <id>microprofile</id>
- <modules>
- <module>wildfly-swarm</module>
- <module>payara-micro</module>
- <module>liberty-microprofile</module>
- </modules>
- </profile>
- </profiles>
-
- </project>
|