Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pom.xml 9.1KB

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