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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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. <parent>
  6. <groupId>com.vaadin</groupId>
  7. <artifactId>vaadin-root</artifactId>
  8. <version>8.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-uitest</artifactId>
  11. <name>vaadin-uitest</name>
  12. <packaging>war</packaging>
  13. <properties>
  14. <jetty.version>9.3.9.v20160517</jetty.version>
  15. <skip.uitest.deployment>true</skip.uitest.deployment>
  16. </properties>
  17. <url>https://vaadin.com/</url>
  18. <description>Vaadin UI tests</description>
  19. <repositories>
  20. <repository>
  21. <id>vaadin-addons</id>
  22. <url>http://maven.vaadin.com/vaadin-addons</url>
  23. </repository>
  24. </repositories>
  25. <dependencies>
  26. <!-- API DEPENDENCIES -->
  27. <dependency>
  28. <groupId>javax.portlet</groupId>
  29. <artifactId>portlet-api</artifactId>
  30. <version>2.0</version>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>javax.validation</groupId>
  35. <artifactId>validation-api</artifactId>
  36. <version>1.0.0.GA</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.hibernate</groupId>
  40. <artifactId>hibernate-validator</artifactId>
  41. <version>4.2.0.Final</version>
  42. </dependency>
  43. <!-- Google App Engine -->
  44. <dependency>
  45. <groupId>com.google.appengine</groupId>
  46. <artifactId>appengine-api-1.0-sdk</artifactId>
  47. <version>1.7.7</version>
  48. <scope>provided</scope>
  49. </dependency>
  50. <!-- jetty-servlets needed by ProxyTest, but not by jetty-runner -->
  51. <!-- Jetty before vaadin-* on the classpath to make Eclipse use the right version -->
  52. <dependency>
  53. <groupId>org.eclipse.jetty</groupId>
  54. <artifactId>jetty-server</artifactId>
  55. <version>${jetty.version}</version>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.eclipse.jetty</groupId>
  60. <artifactId>jetty-servlets</artifactId>
  61. <version>${jetty.version}</version>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.eclipse.jetty.websocket</groupId>
  66. <artifactId>websocket-server</artifactId>
  67. <version>${jetty.version}</version>
  68. <scope>provided</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.eclipse.jetty</groupId>
  72. <artifactId>jetty-webapp</artifactId>
  73. <version>${jetty.version}</version>
  74. <scope>provided</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.eclipse.jetty</groupId>
  78. <artifactId>jetty-util</artifactId>
  79. <version>${jetty.version}</version>
  80. <scope>provided</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.eclipse.jetty</groupId>
  84. <artifactId>jetty-proxy</artifactId>
  85. <version>${jetty.version}</version>
  86. <scope>provided</scope>
  87. </dependency>
  88. <!-- LIBRARY DEPENDENCIES (compile time) -->
  89. <!-- Project modules -->
  90. <dependency>
  91. <groupId>com.vaadin</groupId>
  92. <artifactId>vaadin-server</artifactId>
  93. <version>${project.version}</version>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>javax.servlet</groupId>
  97. <artifactId>javax.servlet-api</artifactId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.vaadin</groupId>
  103. <artifactId>vaadin-client</artifactId>
  104. <version>${project.version}</version>
  105. <exclusions>
  106. <exclusion>
  107. <groupId>javax.validation</groupId>
  108. <artifactId>javax.servlet-api</artifactId>
  109. </exclusion>
  110. </exclusions>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.vaadin.external.gwt</groupId>
  114. <artifactId>gwt-elemental</artifactId>
  115. <version>${vaadin.gwt.version}</version>
  116. <scope>provided</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.vaadin.external.gwt</groupId>
  120. <artifactId>gwt-servlet</artifactId>
  121. <version>${vaadin.gwt.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.vaadin</groupId>
  125. <artifactId>vaadin-client-compiled</artifactId>
  126. <version>${project.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.vaadin</groupId>
  130. <artifactId>vaadin-themes</artifactId>
  131. <version>${project.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.vaadin</groupId>
  135. <artifactId>vaadin-push</artifactId>
  136. <version>${project.version}</version>
  137. <exclusions>
  138. <exclusion>
  139. <groupId>javax.validation</groupId>
  140. <artifactId>javax.servlet-api</artifactId>
  141. </exclusion>
  142. </exclusions>
  143. </dependency>
  144. <!-- For compiling TestingWidgetSet -->
  145. <dependency>
  146. <groupId>com.vaadin</groupId>
  147. <artifactId>vaadin-client-compiler</artifactId>
  148. <version>${project.version}</version>
  149. <scope>provided</scope>
  150. </dependency>
  151. <!-- Servlet 3.0 API -->
  152. <dependency>
  153. <groupId>javax.servlet</groupId>
  154. <artifactId>javax.servlet-api</artifactId>
  155. <version>3.1.0</version>
  156. <scope>provided</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>junit</groupId>
  160. <artifactId>junit</artifactId>
  161. <version>4.11</version>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.hamcrest</groupId>
  166. <artifactId>hamcrest-all</artifactId>
  167. <version>1.3</version>
  168. <scope>test</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.jcraft</groupId>
  172. <artifactId>jsch</artifactId>
  173. <version>0.1.52</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>commons-codec</groupId>
  177. <artifactId>commons-codec</artifactId>
  178. <version>1.5</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>commons-io</groupId>
  182. <artifactId>commons-io</artifactId>
  183. <version>${commons-io.version}</version>
  184. </dependency>
  185. <!-- Mainly for SQLContainer tests -->
  186. <dependency>
  187. <groupId>org.hsqldb</groupId>
  188. <artifactId>hsqldb</artifactId>
  189. <version>2.2.6</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.vaadin</groupId>
  193. <artifactId>vaadin-testbench</artifactId>
  194. <version>4.0.3</version>
  195. <scope>test</scope>
  196. </dependency>
  197. <!-- This should be removed once tests have been updated to use lang3 -->
  198. <dependency>
  199. <groupId>commons-lang</groupId>
  200. <artifactId>commons-lang</artifactId>
  201. <version>2.6</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.vaadin</groupId>
  205. <artifactId>vaadin-sass-compiler</artifactId>
  206. <version>${vaadin.sass.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.eclipse.jgit</groupId>
  210. <artifactId>org.eclipse.jgit</artifactId>
  211. <version>3.5.1.201410131835-r</version>
  212. <exclusions>
  213. <exclusion>
  214. <groupId>org.apache.httpcomponents</groupId>
  215. <artifactId>httpclient</artifactId>
  216. </exclusion>
  217. </exclusions>
  218. </dependency>
  219. </dependencies>
  220. <build>
  221. <resources>
  222. <resource>
  223. <directory>src/main/themes</directory>
  224. <excludes>
  225. <exclude>**/*.scss</exclude>
  226. </excludes>
  227. </resource>
  228. <resource>
  229. <directory>src/main/resources</directory>
  230. </resource>
  231. </resources>
  232. <plugins>
  233. <plugin>
  234. <groupId>com.vaadin</groupId>
  235. <artifactId>vaadin-maven-plugin</artifactId>
  236. <configuration>
  237. <warSourceDirectory>src/main/themes</warSourceDirectory>
  238. <webappDirectory>${project.build.outputDirectory}/VAADIN/widgetsets</webappDirectory>
  239. <persistentunitcachedir>${project.build.directory}/gwt-unitCache</persistentunitcachedir>
  240. </configuration>
  241. <executions>
  242. <execution>
  243. <goals>
  244. <goal>compile</goal>
  245. <goal>compile-theme</goal>
  246. </goals>
  247. </execution>
  248. </executions>
  249. </plugin>
  250. <plugin>
  251. <groupId>org.eclipse.jetty</groupId>
  252. <artifactId>jetty-maven-plugin</artifactId>
  253. <version>${jetty.version}</version>
  254. <configuration>
  255. <httpConnector>
  256. <port>8888</port>
  257. </httpConnector>
  258. </configuration>
  259. </plugin>
  260. <plugin>
  261. <artifactId>maven-install-plugin</artifactId>
  262. <configuration>
  263. <skip>true</skip>
  264. </configuration>
  265. </plugin>
  266. <plugin>
  267. <artifactId>maven-deploy-plugin</artifactId>
  268. <configuration>
  269. <skip>${skip.uitest.deployment}</skip>
  270. </configuration>
  271. </plugin>
  272. <plugin>
  273. <artifactId>maven-surefire-plugin</artifactId>
  274. <configuration>
  275. <skip>true</skip>
  276. </configuration>
  277. </plugin>
  278. <plugin>
  279. <groupId>org.codehaus.mojo</groupId>
  280. <artifactId>animal-sniffer-maven-plugin</artifactId>
  281. <configuration>
  282. <skip>true</skip>
  283. </configuration>
  284. </plugin>
  285. </plugins>
  286. <pluginManagement>
  287. <plugins>
  288. <plugin>
  289. <groupId>org.sonatype.plugins</groupId>
  290. <artifactId>nexus-staging-maven-plugin</artifactId>
  291. <configuration>
  292. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  293. </configuration>
  294. </plugin>
  295. <plugin>
  296. <artifactId>maven-javadoc-plugin</artifactId>
  297. <configuration>
  298. <skip>true</skip>
  299. </configuration>
  300. </plugin>
  301. </plugins>
  302. </pluginManagement>
  303. </build>
  304. <profiles>
  305. <profile>
  306. <!-- Profile used to deploy the uitest war for testing -->
  307. <id>dev-build</id>
  308. <activation>
  309. <activeByDefault>false</activeByDefault>
  310. </activation>
  311. <properties>
  312. <skip.uitest.deployment>false</skip.uitest.deployment>
  313. </properties>
  314. </profile>
  315. </profiles>
  316. </project>