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

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