|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- <?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>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-test</artifactId>
- <version>7.7-SNAPSHOT</version>
- <name>vaadin-test</name>
- <packaging>pom</packaging>
- <properties>
- <maven.compiler.source>1.6</maven.compiler.source>
- <maven.compiler.target>1.6</maven.compiler.target>
- <failOnMissingWebXml>false</failOnMissingWebXml>
- <jetty.version>9.3.7.v20160115</jetty.version>
- <phantomjs.version>2.1.1</phantomjs.version>
- <testbench.version>4.2.2</testbench.version>
- <testbench.api.version>7.7.14</testbench.api.version>
- <vaadin.version>${project.version}</vaadin.version>
- <vaadin.maven.version>${vaadin.version}</vaadin.maven.version>
- </properties>
-
- <repositories>
- <repository>
- <id>vaadin-addons</id>
- <url>http://maven.vaadin.com/vaadin-addons</url>
- </repository>
- <repository>
- <id>vaadin-prereleases</id>
- <url>http://maven.vaadin.com/vaadin-prereleases</url>
- </repository>
- <repository>
- <id>vaadin-snapshots</id>
- <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>vaadin-prereleases</id>
- <url>http://maven.vaadin.com/vaadin-prereleases</url>
- </pluginRepository>
- <pluginRepository>
- <id>vaadin-snapshots</id>
- <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-bom</artifactId>
- <version>${vaadin.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- </dependency>
- <dependency>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-testbench-api</artifactId>
- <version>${testbench.api.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <dependencies>
-
- <!-- API DEPENDENCIES -->
- <!-- Project modules -->
- <dependency>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-server</artifactId>
- </dependency>
- <dependency>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-themes</artifactId>
- </dependency>
-
- <!-- Servlet 3.0 API -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.0.1</version>
- <scope>provided</scope>
- </dependency>
-
-
- <!-- Testing -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-all</artifactId>
- <version>1.3</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-testbench</artifactId>
- <version>${testbench.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <modules>
- <module>widget-set-testutil</module>
- <module>default-widget-set</module>
- <module>own-widget-set</module>
- <module>addon-using-own-widget-set</module>
- <module>addon-using-no-defined-widget-set</module>
- <module>addon-using-init-param-widget-set</module>
- <module>space in directory</module>
- <module>vaadinservletconfiguration-widget-set</module>
- <module>servlet-containers</module>
- </modules>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>com.vaadin</groupId>
- <artifactId>vaadin-maven-plugin</artifactId>
- <version>${vaadin.maven.version}</version>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.1.0</version>
- </plugin>
- </plugins>
- </pluginManagement>
-
- <plugins>
- <plugin>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>${jetty.version}</version>
- <configuration>
- <scanIntervalSeconds>-1</scanIntervalSeconds>
- <stopPort>8081</stopPort>
- <stopWait>5</stopWait>
- <stopKey>foo</stopKey>
- </configuration>
- <executions>
- <!-- start and stop jetty (running our app) when running
- integration tests -->
- <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>
- </plugin>
- <plugin>
- <groupId>com.github.klieber</groupId>
- <artifactId>phantomjs-maven-plugin</artifactId>
- <version>0.7</version>
- <executions>
- <execution>
- <goals>
- <goal>install</goal>
- </goals>
- <configuration>
- <version>${phantomjs.version}</version>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.0</version>
- </plugin>
- <plugin>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.0</version>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <systemPropertyVariables>
- <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
- <server-name>${server.name}</server-name>
- <com.vaadin.testbench.Parameters.screenshotReferenceDirectory>${reference.directory}</com.vaadin.testbench.Parameters.screenshotReferenceDirectory>
- <com.vaadin.testbench.Parameters.screenshotErrorDirectory>target/error-screenshots</com.vaadin.testbench.Parameters.screenshotErrorDirectory>
- </systemPropertyVariables>
- <testFailureIgnore>true</testFailureIgnore>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|