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

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