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.

pom.xml 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. <name>vaadin-test</name>
  8. <version>8.6-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <properties>
  11. <maven.compiler.source>1.8</maven.compiler.source>
  12. <maven.compiler.target>1.8</maven.compiler.target>
  13. <jetty.version>9.3.7.v20160115</jetty.version>
  14. <phantomjs.version>2.1.1</phantomjs.version>
  15. <vaadin.version>${project.version}</vaadin.version>
  16. <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
  17. <failOnMissingWebXml>false</failOnMissingWebXml>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <spring.boot.version>1.5.9.RELEASE</spring.boot.version>
  21. <selenium.version>3.4.0</selenium.version>
  22. <!-- Don't care about coding style for tests -->
  23. <sonar.skip>true</sonar.skip>
  24. <!-- Allow installing for local testing purposes -->
  25. <install.skip>true</install.skip>
  26. </properties>
  27. <repositories>
  28. <repository>
  29. <id>vaadin-snapshots</id>
  30. <url>https://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
  31. <releases>
  32. <enabled>false</enabled>
  33. </releases>
  34. <snapshots>
  35. <enabled>true</enabled>
  36. </snapshots>
  37. </repository>
  38. <repository>
  39. <id>vaadin-addons</id>
  40. <url>http://maven.vaadin.com/vaadin-addons</url>
  41. </repository>
  42. <repository>
  43. <id>vaadin-prereleases</id>
  44. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  45. </repository>
  46. </repositories>
  47. <dependencyManagement>
  48. <dependencies>
  49. <dependency>
  50. <groupId>com.vaadin</groupId>
  51. <artifactId>vaadin-bom</artifactId>
  52. <version>${vaadin.version}</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.vaadin</groupId>
  58. <artifactId>vaadin-test-widget-set-testutil</artifactId>
  59. <version>${project.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>junit</groupId>
  63. <artifactId>junit</artifactId>
  64. <version>4.12</version>
  65. </dependency>
  66. <!-- Override Selenium version from Spring Boot -->
  67. <dependency>
  68. <groupId>org.seleniumhq.selenium</groupId>
  69. <artifactId>selenium-api</artifactId>
  70. <version>${selenium.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.seleniumhq.selenium</groupId>
  74. <artifactId>selenium-chrome-driver</artifactId>
  75. <version>${selenium.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.seleniumhq.selenium</groupId>
  79. <artifactId>selenium-server</artifactId>
  80. <version>${selenium.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.seleniumhq.selenium</groupId>
  84. <artifactId>selenium-java</artifactId>
  85. <version>${selenium.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.seleniumhq.selenium</groupId>
  89. <artifactId>selenium-remote-driver</artifactId>
  90. <version>${selenium.version}</version>
  91. <exclusions>
  92. <exclusion>
  93. <artifactId>commons-logging</artifactId>
  94. <groupId>commons-logging</groupId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. </dependencies>
  99. </dependencyManagement>
  100. <dependencies>
  101. <!-- API DEPENDENCIES -->
  102. <dependency>
  103. <groupId>javax.servlet</groupId>
  104. <artifactId>javax.servlet-api</artifactId>
  105. <version>3.0.1</version>
  106. <scope>provided</scope>
  107. </dependency>
  108. <!-- Project modules -->
  109. <dependency>
  110. <groupId>com.vaadin</groupId>
  111. <artifactId>vaadin-server</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.vaadin</groupId>
  115. <artifactId>vaadin-themes</artifactId>
  116. </dependency>
  117. <!-- Testing -->
  118. <dependency>
  119. <groupId>junit</groupId>
  120. <artifactId>junit</artifactId>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.vaadin</groupId>
  125. <artifactId>vaadin-testbench-api</artifactId>
  126. <scope>test</scope>
  127. </dependency>
  128. </dependencies>
  129. <modules>
  130. <module>widget-set-testutil</module>
  131. <module>default-widget-set</module>
  132. <module>vaadin7-widget-set</module>
  133. <module>own-widget-set</module>
  134. <module>addon-using-own-widget-set</module>
  135. <module>addon-using-no-defined-widget-set</module>
  136. <module>addon-using-init-param-widget-set</module>
  137. <module>space in directory</module>
  138. <module>vaadinservletconfiguration-widget-set</module>
  139. <module>spring-boot</module>
  140. <module>spring-boot-subcontext</module>
  141. <module>cdi</module>
  142. <!-- Servlet container tests -->
  143. <module>servlet-containers</module>
  144. <module>bean-api-validation</module>
  145. <module>bean-impl-validation</module>
  146. <module>dependency-rewrite-addon</module>
  147. <module>dependency-rewrite</module>
  148. </modules>
  149. <build>
  150. <pluginManagement>
  151. <plugins>
  152. <!--This plugin's configuration is used to store Eclipse
  153. m2e settings only. It has no influence on the Maven build itself. -->
  154. <plugin>
  155. <groupId>org.eclipse.m2e</groupId>
  156. <artifactId>lifecycle-mapping</artifactId>
  157. <version>1.0.0</version>
  158. <configuration>
  159. <lifecycleMappingMetadata>
  160. <pluginExecutions>
  161. <pluginExecution>
  162. <pluginExecutionFilter>
  163. <groupId>
  164. com.github.klieber
  165. </groupId>
  166. <artifactId>
  167. phantomjs-maven-plugin
  168. </artifactId>
  169. <versionRange>
  170. [0.7,)
  171. </versionRange>
  172. <goals>
  173. <goal>install</goal>
  174. </goals>
  175. </pluginExecutionFilter>
  176. <action>
  177. <ignore></ignore>
  178. </action>
  179. </pluginExecution>
  180. </pluginExecutions>
  181. </lifecycleMappingMetadata>
  182. </configuration>
  183. </plugin>
  184. <plugin>
  185. <artifactId>maven-install-plugin</artifactId>
  186. <version>2.5.1</version>
  187. <configuration>
  188. <skip>${install.skip}</skip>
  189. </configuration>
  190. </plugin>
  191. <plugin>
  192. <groupId>com.vaadin</groupId>
  193. <artifactId>vaadin-maven-plugin</artifactId>
  194. <version>${vaadin.plugin.version}</version>
  195. <executions>
  196. <execution>
  197. <goals>
  198. <goal>resources</goal>
  199. <goal>update-widgetset</goal>
  200. <goal>compile</goal>
  201. </goals>
  202. </execution>
  203. </executions>
  204. </plugin>
  205. </plugins>
  206. </pluginManagement>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.eclipse.jetty</groupId>
  210. <artifactId>jetty-maven-plugin</artifactId>
  211. <version>${jetty.version}</version>
  212. <configuration>
  213. <scanIntervalSeconds>-1</scanIntervalSeconds>
  214. <stopPort>8081</stopPort>
  215. <stopWait>5</stopWait>
  216. <stopKey>foo</stopKey>
  217. </configuration>
  218. <executions>
  219. <!-- start and stop jetty (running our app) when running
  220. integration tests -->
  221. <execution>
  222. <id>start-jetty</id>
  223. <phase>pre-integration-test</phase>
  224. <goals>
  225. <goal>start</goal>
  226. </goals>
  227. </execution>
  228. <execution>
  229. <id>stop-jetty</id>
  230. <phase>post-integration-test</phase>
  231. <goals>
  232. <goal>stop</goal>
  233. </goals>
  234. </execution>
  235. </executions>
  236. </plugin>
  237. <plugin>
  238. <groupId>com.github.klieber</groupId>
  239. <artifactId>phantomjs-maven-plugin</artifactId>
  240. <version>0.7</version>
  241. <executions>
  242. <execution>
  243. <goals>
  244. <goal>install</goal>
  245. </goals>
  246. <configuration>
  247. <version>${phantomjs.version}</version>
  248. </configuration>
  249. </execution>
  250. </executions>
  251. </plugin>
  252. <plugin>
  253. <artifactId>maven-surefire-plugin</artifactId>
  254. <version>2.19.1</version>
  255. </plugin>
  256. <plugin>
  257. <artifactId>maven-failsafe-plugin</artifactId>
  258. <version>2.19.1</version>
  259. <executions>
  260. <execution>
  261. <goals>
  262. <goal>integration-test</goal>
  263. <goal>verify</goal>
  264. </goals>
  265. </execution>
  266. </executions>
  267. <configuration>
  268. <systemPropertyVariables>
  269. <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
  270. <server-name>${server.name}</server-name>
  271. <com.vaadin.testbench.Parameters.screenshotReferenceDirectory>${reference.directory}</com.vaadin.testbench.Parameters.screenshotReferenceDirectory>
  272. <com.vaadin.testbench.Parameters.screenshotErrorDirectory>target/error-screenshots</com.vaadin.testbench.Parameters.screenshotErrorDirectory>
  273. </systemPropertyVariables>
  274. <!-- Run all the tests, don't stop on first failure -->
  275. <testFailureIgnore>true</testFailureIgnore>
  276. </configuration>
  277. </plugin>
  278. </plugins>
  279. </build>
  280. </project>