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.5KB

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