You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.vaadin</groupId>
  6. <artifactId>vaadin-test</artifactId>
  7. <version>7.7-SNAPSHOT</version>
  8. <name>vaadin-test</name>
  9. <packaging>pom</packaging>
  10. <properties>
  11. <maven.compiler.source>1.6</maven.compiler.source>
  12. <maven.compiler.target>1.6</maven.compiler.target>
  13. <failOnMissingWebXml>false</failOnMissingWebXml>
  14. <jetty.version>9.4.38.v20210224</jetty.version>
  15. <phantomjs.version>2.1.1</phantomjs.version>
  16. <testbench.version>4.2.2</testbench.version>
  17. <testbench.api.version>7.7.14</testbench.api.version>
  18. <vaadin.version>${project.version}</vaadin.version>
  19. <vaadin.maven.version>${vaadin.version}</vaadin.maven.version>
  20. </properties>
  21. <repositories>
  22. <repository>
  23. <id>vaadin-addons</id>
  24. <url>http://maven.vaadin.com/vaadin-addons</url>
  25. </repository>
  26. <repository>
  27. <id>vaadin-prereleases</id>
  28. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  29. <snapshots>
  30. <enabled>true</enabled>
  31. </snapshots>
  32. </repository>
  33. </repositories>
  34. <pluginRepositories>
  35. <pluginRepository>
  36. <id>vaadin-prereleases</id>
  37. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  38. <snapshots>
  39. <enabled>true</enabled>
  40. </snapshots>
  41. </pluginRepository>
  42. </pluginRepositories>
  43. <dependencyManagement>
  44. <dependencies>
  45. <dependency>
  46. <groupId>com.vaadin</groupId>
  47. <artifactId>vaadin-bom</artifactId>
  48. <version>${vaadin.version}</version>
  49. <type>pom</type>
  50. <scope>import</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>junit</groupId>
  54. <artifactId>junit</artifactId>
  55. <version>4.11</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.vaadin</groupId>
  59. <artifactId>vaadin-testbench-api</artifactId>
  60. <version>${testbench.api.version}</version>
  61. </dependency>
  62. </dependencies>
  63. </dependencyManagement>
  64. <dependencies>
  65. <!-- API DEPENDENCIES -->
  66. <!-- Project modules -->
  67. <dependency>
  68. <groupId>com.vaadin</groupId>
  69. <artifactId>vaadin-server</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.vaadin</groupId>
  73. <artifactId>vaadin-themes</artifactId>
  74. </dependency>
  75. <!-- Servlet 3.0 API -->
  76. <dependency>
  77. <groupId>javax.servlet</groupId>
  78. <artifactId>javax.servlet-api</artifactId>
  79. <version>3.0.1</version>
  80. <scope>provided</scope>
  81. </dependency>
  82. <!-- Testing -->
  83. <dependency>
  84. <groupId>junit</groupId>
  85. <artifactId>junit</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.hamcrest</groupId>
  90. <artifactId>hamcrest-all</artifactId>
  91. <version>1.3</version>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.vaadin</groupId>
  96. <artifactId>vaadin-testbench</artifactId>
  97. <version>${testbench.version}</version>
  98. <scope>test</scope>
  99. </dependency>
  100. </dependencies>
  101. <modules>
  102. <module>widget-set-testutil</module>
  103. <module>default-widget-set</module>
  104. <module>own-widget-set</module>
  105. <module>addon-using-own-widget-set</module>
  106. <module>addon-using-no-defined-widget-set</module>
  107. <module>addon-using-init-param-widget-set</module>
  108. <module>space in directory</module>
  109. <module>vaadinservletconfiguration-widget-set</module>
  110. <module>servlet-containers</module>
  111. </modules>
  112. <build>
  113. <pluginManagement>
  114. <plugins>
  115. <plugin>
  116. <groupId>com.vaadin</groupId>
  117. <artifactId>vaadin-maven-plugin</artifactId>
  118. <version>${vaadin.maven.version}</version>
  119. </plugin>
  120. <plugin>
  121. <artifactId>maven-jar-plugin</artifactId>
  122. <version>3.1.0</version>
  123. </plugin>
  124. </plugins>
  125. </pluginManagement>
  126. <plugins>
  127. <plugin>
  128. <groupId>org.eclipse.jetty</groupId>
  129. <artifactId>jetty-maven-plugin</artifactId>
  130. <version>${jetty.version}</version>
  131. <configuration>
  132. <scanIntervalSeconds>-1</scanIntervalSeconds>
  133. <stopPort>8081</stopPort>
  134. <stopWait>5</stopWait>
  135. <stopKey>foo</stopKey>
  136. </configuration>
  137. <executions>
  138. <!-- start and stop jetty (running our app) when running
  139. integration tests -->
  140. <execution>
  141. <id>start-jetty</id>
  142. <phase>pre-integration-test</phase>
  143. <goals>
  144. <goal>start</goal>
  145. </goals>
  146. </execution>
  147. <execution>
  148. <id>stop-jetty</id>
  149. <phase>post-integration-test</phase>
  150. <goals>
  151. <goal>stop</goal>
  152. </goals>
  153. </execution>
  154. </executions>
  155. </plugin>
  156. <plugin>
  157. <groupId>com.github.klieber</groupId>
  158. <artifactId>phantomjs-maven-plugin</artifactId>
  159. <version>0.7</version>
  160. <executions>
  161. <execution>
  162. <goals>
  163. <goal>install</goal>
  164. </goals>
  165. <configuration>
  166. <version>${phantomjs.version}</version>
  167. </configuration>
  168. </execution>
  169. </executions>
  170. </plugin>
  171. <plugin>
  172. <artifactId>maven-surefire-plugin</artifactId>
  173. <version>2.22.0</version>
  174. </plugin>
  175. <plugin>
  176. <artifactId>maven-failsafe-plugin</artifactId>
  177. <version>2.22.0</version>
  178. <executions>
  179. <execution>
  180. <goals>
  181. <goal>integration-test</goal>
  182. <goal>verify</goal>
  183. </goals>
  184. </execution>
  185. </executions>
  186. <configuration>
  187. <systemPropertyVariables>
  188. <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
  189. <server-name>${server.name}</server-name>
  190. <com.vaadin.testbench.Parameters.screenshotReferenceDirectory>${reference.directory}</com.vaadin.testbench.Parameters.screenshotReferenceDirectory>
  191. <com.vaadin.testbench.Parameters.screenshotErrorDirectory>target/error-screenshots</com.vaadin.testbench.Parameters.screenshotErrorDirectory>
  192. </systemPropertyVariables>
  193. <testFailureIgnore>true</testFailureIgnore>
  194. </configuration>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </project>