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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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>servlet-containers/karaf</module>
  101. <module>bean-api-validation</module>
  102. <module>bean-impl-validation</module>
  103. <module>dependency-rewrite-addon</module>
  104. <module>dependency-rewrite</module>
  105. </modules>
  106. <build>
  107. <pluginManagement>
  108. <plugins>
  109. <!--This plugin's configuration is used to store Eclipse
  110. m2e settings only. It has no influence on the Maven build itself. -->
  111. <plugin>
  112. <groupId>org.eclipse.m2e</groupId>
  113. <artifactId>lifecycle-mapping</artifactId>
  114. <version>1.0.0</version>
  115. <configuration>
  116. <lifecycleMappingMetadata>
  117. <pluginExecutions>
  118. <pluginExecution>
  119. <pluginExecutionFilter>
  120. <groupId>
  121. com.github.klieber
  122. </groupId>
  123. <artifactId>
  124. phantomjs-maven-plugin
  125. </artifactId>
  126. <versionRange>
  127. [0.7,)
  128. </versionRange>
  129. <goals>
  130. <goal>install</goal>
  131. </goals>
  132. </pluginExecutionFilter>
  133. <action>
  134. <ignore></ignore>
  135. </action>
  136. </pluginExecution>
  137. </pluginExecutions>
  138. </lifecycleMappingMetadata>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-install-plugin</artifactId>
  143. <version>2.5.1</version>
  144. <configuration>
  145. <skip>true</skip>
  146. </configuration>
  147. </plugin>
  148. <plugin>
  149. <groupId>com.vaadin</groupId>
  150. <artifactId>vaadin-maven-plugin</artifactId>
  151. <version>${vaadin.plugin.version}</version>
  152. <executions>
  153. <execution>
  154. <goals>
  155. <goal>resources</goal>
  156. <goal>update-widgetset</goal>
  157. <goal>compile</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. </plugins>
  163. </pluginManagement>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.eclipse.jetty</groupId>
  167. <artifactId>jetty-maven-plugin</artifactId>
  168. <version>${jetty.version}</version>
  169. <configuration>
  170. <scanIntervalSeconds>-1</scanIntervalSeconds>
  171. <stopPort>8081</stopPort>
  172. <stopWait>5</stopWait>
  173. <stopKey>foo</stopKey>
  174. </configuration>
  175. <executions>
  176. <!-- start and stop jetty (running our app) when running
  177. integration tests -->
  178. <execution>
  179. <id>start-jetty</id>
  180. <phase>pre-integration-test</phase>
  181. <goals>
  182. <goal>start</goal>
  183. </goals>
  184. </execution>
  185. <execution>
  186. <id>stop-jetty</id>
  187. <phase>post-integration-test</phase>
  188. <goals>
  189. <goal>stop</goal>
  190. </goals>
  191. </execution>
  192. </executions>
  193. </plugin>
  194. <plugin>
  195. <groupId>com.github.klieber</groupId>
  196. <artifactId>phantomjs-maven-plugin</artifactId>
  197. <version>0.7</version>
  198. <executions>
  199. <execution>
  200. <goals>
  201. <goal>install</goal>
  202. </goals>
  203. <configuration>
  204. <version>${phantomjs.version}</version>
  205. </configuration>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. <plugin>
  210. <artifactId>maven-surefire-plugin</artifactId>
  211. <version>2.19.1</version>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-failsafe-plugin</artifactId>
  215. <version>2.19.1</version>
  216. <executions>
  217. <execution>
  218. <goals>
  219. <goal>integration-test</goal>
  220. <goal>verify</goal>
  221. </goals>
  222. </execution>
  223. </executions>
  224. <configuration>
  225. <systemPropertyVariables>
  226. <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
  227. </systemPropertyVariables>
  228. </configuration>
  229. </plugin>
  230. </plugins>
  231. </build>
  232. </project>