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

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