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 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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.0-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>8.0-SNAPSHOT</vaadin.version>
  16. <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
  17. <failOnMissingWebXml>false</failOnMissingWebXml>
  18. <contextmenu.version>2.0-SNAPSHOT</contextmenu.version>
  19. <!-- Don't care about coding style for tests -->
  20. <sonar.skip>true</sonar.skip>
  21. </properties>
  22. <repositories>
  23. <repository>
  24. <id>vaadin-addons</id>
  25. <url>http://maven.vaadin.com/vaadin-addons</url>
  26. </repository>
  27. </repositories>
  28. <dependencyManagement>
  29. <dependencies>
  30. <dependency>
  31. <groupId>com.vaadin</groupId>
  32. <artifactId>vaadin-bom</artifactId>
  33. <version>${vaadin.version}</version>
  34. <type>pom</type>
  35. <scope>import</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.vaadin</groupId>
  39. <artifactId>vaadin-test-widget-set-testutil</artifactId>
  40. <version>${project.version}</version>
  41. </dependency>
  42. </dependencies>
  43. </dependencyManagement>
  44. <dependencies>
  45. <!-- API DEPENDENCIES -->
  46. <dependency>
  47. <groupId>javax.servlet</groupId>
  48. <artifactId>javax.servlet-api</artifactId>
  49. <version>3.0.1</version>
  50. </dependency>
  51. <!-- Project modules -->
  52. <dependency>
  53. <groupId>com.vaadin</groupId>
  54. <artifactId>vaadin-server</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.vaadin</groupId>
  58. <artifactId>vaadin-themes</artifactId>
  59. </dependency>
  60. <!-- Testing -->
  61. <dependency>
  62. <groupId>junit</groupId>
  63. <artifactId>junit</artifactId>
  64. <version>4.12</version>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.vaadin</groupId>
  69. <artifactId>vaadin-testbench-api</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. </dependencies>
  73. <modules>
  74. <module>widget-set-testutil</module>
  75. <module>default-widget-set</module>
  76. <module>own-widget-set</module>
  77. <module>addon-using-own-widget-set</module>
  78. <module>addon-using-no-defined-widget-set</module>
  79. <module>addon-using-init-param-widget-set</module>
  80. <module>space in directory</module>
  81. <module>vaadinservletconfiguration-widget-set</module>
  82. <module>spring-boot</module>
  83. <module>cdi</module>
  84. </modules>
  85. <build>
  86. <pluginManagement>
  87. <plugins>
  88. <!--This plugin's configuration is used to store Eclipse
  89. m2e settings only. It has no influence on the Maven build itself. -->
  90. <plugin>
  91. <groupId>org.eclipse.m2e</groupId>
  92. <artifactId>lifecycle-mapping</artifactId>
  93. <version>1.0.0</version>
  94. <configuration>
  95. <lifecycleMappingMetadata>
  96. <pluginExecutions>
  97. <pluginExecution>
  98. <pluginExecutionFilter>
  99. <groupId>
  100. com.github.klieber
  101. </groupId>
  102. <artifactId>
  103. phantomjs-maven-plugin
  104. </artifactId>
  105. <versionRange>
  106. [0.7,)
  107. </versionRange>
  108. <goals>
  109. <goal>install</goal>
  110. </goals>
  111. </pluginExecutionFilter>
  112. <action>
  113. <ignore></ignore>
  114. </action>
  115. </pluginExecution>
  116. </pluginExecutions>
  117. </lifecycleMappingMetadata>
  118. </configuration>
  119. </plugin>
  120. <plugin>
  121. <artifactId>maven-install-plugin</artifactId>
  122. <version>2.5.1</version>
  123. <configuration>
  124. <skip>true</skip>
  125. </configuration>
  126. </plugin>
  127. </plugins>
  128. </pluginManagement>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.eclipse.jetty</groupId>
  132. <artifactId>jetty-maven-plugin</artifactId>
  133. <version>${jetty.version}</version>
  134. <configuration>
  135. <scanIntervalSeconds>-1</scanIntervalSeconds>
  136. <stopPort>8081</stopPort>
  137. <stopWait>5</stopWait>
  138. <stopKey>foo</stopKey>
  139. </configuration>
  140. <executions>
  141. <!-- start and stop jetty (running our app) when running
  142. integration tests -->
  143. <execution>
  144. <id>start-jetty</id>
  145. <phase>pre-integration-test</phase>
  146. <goals>
  147. <goal>start</goal>
  148. </goals>
  149. </execution>
  150. <execution>
  151. <id>stop-jetty</id>
  152. <phase>post-integration-test</phase>
  153. <goals>
  154. <goal>stop</goal>
  155. </goals>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. <plugin>
  160. <groupId>com.github.klieber</groupId>
  161. <artifactId>phantomjs-maven-plugin</artifactId>
  162. <version>0.7</version>
  163. <executions>
  164. <execution>
  165. <goals>
  166. <goal>install</goal>
  167. </goals>
  168. <configuration>
  169. <version>${phantomjs.version}</version>
  170. </configuration>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <artifactId>maven-surefire-plugin</artifactId>
  176. <version>2.19.1</version>
  177. </plugin>
  178. <plugin>
  179. <artifactId>maven-failsafe-plugin</artifactId>
  180. <version>2.19.1</version>
  181. <executions>
  182. <execution>
  183. <goals>
  184. <goal>integration-test</goal>
  185. <goal>verify</goal>
  186. </goals>
  187. </execution>
  188. </executions>
  189. <configuration>
  190. <systemPropertyVariables>
  191. <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
  192. </systemPropertyVariables>
  193. </configuration>
  194. </plugin>
  195. </plugins>
  196. </build>
  197. </project>