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

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