Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pom.xml 8.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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.3.7.v20160115</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. </repository>
  30. <repository>
  31. <id>vaadin-snapshots</id>
  32. <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots</url>
  33. <releases>
  34. <enabled>false</enabled>
  35. </releases>
  36. <snapshots>
  37. <enabled>true</enabled>
  38. </snapshots>
  39. </repository>
  40. </repositories>
  41. <pluginRepositories>
  42. <pluginRepository>
  43. <id>vaadin-prereleases</id>
  44. <url>http://maven.vaadin.com/vaadin-prereleases</url>
  45. </pluginRepository>
  46. <pluginRepository>
  47. <id>vaadin-snapshots</id>
  48. <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots</url>
  49. <releases>
  50. <enabled>false</enabled>
  51. </releases>
  52. <snapshots>
  53. <enabled>true</enabled>
  54. </snapshots>
  55. </pluginRepository>
  56. </pluginRepositories>
  57. <dependencyManagement>
  58. <dependencies>
  59. <dependency>
  60. <groupId>com.vaadin</groupId>
  61. <artifactId>vaadin-bom</artifactId>
  62. <version>${vaadin.version}</version>
  63. <type>pom</type>
  64. <scope>import</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>junit</groupId>
  68. <artifactId>junit</artifactId>
  69. <version>4.11</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.vaadin</groupId>
  73. <artifactId>vaadin-testbench-api</artifactId>
  74. <version>${testbench.api.version}</version>
  75. </dependency>
  76. </dependencies>
  77. </dependencyManagement>
  78. <dependencies>
  79. <!-- API DEPENDENCIES -->
  80. <!-- Project modules -->
  81. <dependency>
  82. <groupId>com.vaadin</groupId>
  83. <artifactId>vaadin-server</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.vaadin</groupId>
  87. <artifactId>vaadin-themes</artifactId>
  88. </dependency>
  89. <!-- Servlet 3.0 API -->
  90. <dependency>
  91. <groupId>javax.servlet</groupId>
  92. <artifactId>javax.servlet-api</artifactId>
  93. <version>3.0.1</version>
  94. <scope>provided</scope>
  95. </dependency>
  96. <!-- Testing -->
  97. <dependency>
  98. <groupId>junit</groupId>
  99. <artifactId>junit</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.hamcrest</groupId>
  104. <artifactId>hamcrest-all</artifactId>
  105. <version>1.3</version>
  106. <scope>test</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.vaadin</groupId>
  110. <artifactId>vaadin-testbench</artifactId>
  111. <version>${testbench.version}</version>
  112. <scope>test</scope>
  113. </dependency>
  114. </dependencies>
  115. <modules>
  116. <module>widget-set-testutil</module>
  117. <module>default-widget-set</module>
  118. <module>own-widget-set</module>
  119. <module>addon-using-own-widget-set</module>
  120. <module>addon-using-no-defined-widget-set</module>
  121. <module>addon-using-init-param-widget-set</module>
  122. <module>space in directory</module>
  123. <module>vaadinservletconfiguration-widget-set</module>
  124. <module>servlet-containers</module>
  125. </modules>
  126. <build>
  127. <pluginManagement>
  128. <plugins>
  129. <plugin>
  130. <groupId>com.vaadin</groupId>
  131. <artifactId>vaadin-maven-plugin</artifactId>
  132. <version>${vaadin.maven.version}</version>
  133. </plugin>
  134. <plugin>
  135. <artifactId>maven-jar-plugin</artifactId>
  136. <version>3.1.0</version>
  137. </plugin>
  138. </plugins>
  139. </pluginManagement>
  140. <plugins>
  141. <plugin>
  142. <groupId>org.eclipse.jetty</groupId>
  143. <artifactId>jetty-maven-plugin</artifactId>
  144. <version>${jetty.version}</version>
  145. <configuration>
  146. <scanIntervalSeconds>-1</scanIntervalSeconds>
  147. <stopPort>8081</stopPort>
  148. <stopWait>5</stopWait>
  149. <stopKey>foo</stopKey>
  150. </configuration>
  151. <executions>
  152. <!-- start and stop jetty (running our app) when running
  153. integration tests -->
  154. <execution>
  155. <id>start-jetty</id>
  156. <phase>pre-integration-test</phase>
  157. <goals>
  158. <goal>start</goal>
  159. </goals>
  160. </execution>
  161. <execution>
  162. <id>stop-jetty</id>
  163. <phase>post-integration-test</phase>
  164. <goals>
  165. <goal>stop</goal>
  166. </goals>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. <plugin>
  171. <groupId>com.github.klieber</groupId>
  172. <artifactId>phantomjs-maven-plugin</artifactId>
  173. <version>0.7</version>
  174. <executions>
  175. <execution>
  176. <goals>
  177. <goal>install</goal>
  178. </goals>
  179. <configuration>
  180. <version>${phantomjs.version}</version>
  181. </configuration>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <plugin>
  186. <artifactId>maven-surefire-plugin</artifactId>
  187. <version>2.22.0</version>
  188. </plugin>
  189. <plugin>
  190. <artifactId>maven-failsafe-plugin</artifactId>
  191. <version>2.22.0</version>
  192. <executions>
  193. <execution>
  194. <goals>
  195. <goal>integration-test</goal>
  196. <goal>verify</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. <configuration>
  201. <systemPropertyVariables>
  202. <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
  203. <server-name>${server.name}</server-name>
  204. <com.vaadin.testbench.Parameters.screenshotReferenceDirectory>${reference.directory}</com.vaadin.testbench.Parameters.screenshotReferenceDirectory>
  205. <com.vaadin.testbench.Parameters.screenshotErrorDirectory>target/error-screenshots</com.vaadin.testbench.Parameters.screenshotErrorDirectory>
  206. </systemPropertyVariables>
  207. <testFailureIgnore>true</testFailureIgnore>
  208. </configuration>
  209. </plugin>
  210. </plugins>
  211. </build>
  212. </project>