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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  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.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-uitest</artifactId>
  11. <name>vaadin-uitest</name>
  12. <packaging>war</packaging>
  13. <properties>
  14. <jetty.version>8.1.12.v20130726</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. <!-- LIBRARY DEPENDENCIES (compile time) -->
  51. <!-- Project modules -->
  52. <dependency>
  53. <groupId>com.vaadin</groupId>
  54. <artifactId>vaadin-server</artifactId>
  55. <version>${project.version}</version>
  56. <exclusions>
  57. <exclusion>
  58. <groupId>javax.servlet</groupId>
  59. <artifactId>javax.servlet-api</artifactId>
  60. </exclusion>
  61. </exclusions>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.vaadin</groupId>
  65. <artifactId>vaadin-client</artifactId>
  66. <version>${project.version}</version>
  67. <exclusions>
  68. <exclusion>
  69. <groupId>javax.validation</groupId>
  70. <artifactId>javax.servlet-api</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.vaadin</groupId>
  76. <artifactId>vaadin-client-compiled</artifactId>
  77. <version>${project.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.vaadin</groupId>
  81. <artifactId>vaadin-themes</artifactId>
  82. <version>${project.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.vaadin</groupId>
  86. <artifactId>vaadin-push</artifactId>
  87. <version>${project.version}</version>
  88. <exclusions>
  89. <exclusion>
  90. <groupId>javax.validation</groupId>
  91. <artifactId>javax.servlet-api</artifactId>
  92. </exclusion>
  93. </exclusions>
  94. </dependency>
  95. <!-- For compiling TestingWidgetSet -->
  96. <dependency>
  97. <groupId>com.vaadin</groupId>
  98. <artifactId>vaadin-client-compiler</artifactId>
  99. <version>${project.version}</version>
  100. <scope>provided</scope>
  101. </dependency>
  102. <!-- Servlet 3.0 API -->
  103. <dependency>
  104. <groupId>javax.servlet</groupId>
  105. <artifactId>javax.servlet-api</artifactId>
  106. <version>3.0.1</version>
  107. <scope>provided</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.eclipse.jetty</groupId>
  111. <artifactId>jetty-server</artifactId>
  112. <version>${jetty.version}</version>
  113. <exclusions>
  114. <exclusion>
  115. <groupId>org.eclipse.jetty</groupId>
  116. <artifactId>orbit</artifactId>
  117. </exclusion>
  118. </exclusions>
  119. <scope>provided</scope>
  120. </dependency>
  121. <!-- jetty-servlets needed by ProxyTest, but not by jetty-runner -->
  122. <dependency>
  123. <groupId>org.eclipse.jetty</groupId>
  124. <artifactId>jetty-servlets</artifactId>
  125. <version>${jetty.version}</version>
  126. <exclusions>
  127. <exclusion>
  128. <groupId>org.eclipse.jetty</groupId>
  129. <artifactId>orbit</artifactId>
  130. </exclusion>
  131. </exclusions>
  132. <scope>provided</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.eclipse.jetty</groupId>
  136. <artifactId>jetty-websocket</artifactId>
  137. <version>${jetty.version}</version>
  138. <exclusions>
  139. <exclusion>
  140. <groupId>org.eclipse.jetty</groupId>
  141. <artifactId>orbit</artifactId>
  142. </exclusion>
  143. </exclusions>
  144. <scope>provided</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.eclipse.jetty</groupId>
  148. <artifactId>jetty-webapp</artifactId>
  149. <version>${jetty.version}</version>
  150. <exclusions>
  151. <exclusion>
  152. <groupId>org.eclipse.jetty</groupId>
  153. <artifactId>orbit</artifactId>
  154. </exclusion>
  155. </exclusions>
  156. <scope>provided</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.eclipse.jetty</groupId>
  160. <artifactId>jetty-util</artifactId>
  161. <version>${jetty.version}</version>
  162. <exclusions>
  163. <exclusion>
  164. <groupId>org.eclipse.jetty</groupId>
  165. <artifactId>orbit</artifactId>
  166. </exclusion>
  167. </exclusions>
  168. <scope>provided</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.mortbay.jetty</groupId>
  172. <artifactId>jetty-runner</artifactId>
  173. <version>${jetty.version}</version>
  174. <exclusions>
  175. <exclusion>
  176. <groupId>org.eclipse.jetty</groupId>
  177. <artifactId>orbit</artifactId>
  178. </exclusion>
  179. </exclusions>
  180. <scope>provided</scope>
  181. </dependency>
  182. <dependency>
  183. <groupId>junit</groupId>
  184. <artifactId>junit</artifactId>
  185. <version>4.11</version>
  186. <scope>test</scope>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.hamcrest</groupId>
  190. <artifactId>hamcrest-all</artifactId>
  191. <version>1.3</version>
  192. <scope>test</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.jcraft</groupId>
  196. <artifactId>jsch</artifactId>
  197. <version>0.1.52</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>commons-codec</groupId>
  201. <artifactId>commons-codec</artifactId>
  202. <version>1.5</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>commons-io</groupId>
  206. <artifactId>commons-io</artifactId>
  207. <version>${commons-io.version}</version>
  208. </dependency>
  209. <!-- Mainly for SQLContainer tests -->
  210. <dependency>
  211. <groupId>org.hsqldb</groupId>
  212. <artifactId>hsqldb</artifactId>
  213. <version>2.2.6</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.vaadin</groupId>
  217. <artifactId>vaadin-testbench</artifactId>
  218. <version>4.0.3</version>
  219. <scope>test</scope>
  220. </dependency>
  221. <!-- This should be removed once tests have been updated to use lang3 -->
  222. <dependency>
  223. <groupId>commons-lang</groupId>
  224. <artifactId>commons-lang</artifactId>
  225. <version>2.6</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>com.vaadin</groupId>
  229. <artifactId>vaadin-sass-compiler</artifactId>
  230. <version>${vaadin.sass.version}</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.eclipse.jgit</groupId>
  234. <artifactId>org.eclipse.jgit</artifactId>
  235. <version>3.5.1.201410131835-r</version>
  236. <exclusions>
  237. <exclusion>
  238. <groupId>org.apache.httpcomponents</groupId>
  239. <artifactId>httpclient</artifactId>
  240. </exclusion>
  241. </exclusions>
  242. </dependency>
  243. </dependencies>
  244. <build>
  245. <resources>
  246. <resource>
  247. <directory>src/main/resources</directory>
  248. <filtering>false</filtering>
  249. <excludes>
  250. <exclude>**/tests-valo*/**</exclude>
  251. </excludes>
  252. </resource>
  253. </resources>
  254. <plugins>
  255. <plugin>
  256. <groupId>com.vaadin</groupId>
  257. <artifactId>vaadin-maven-plugin</artifactId>
  258. <configuration>
  259. <warSourceDirectory>${project.build.directory}/compile-themes</warSourceDirectory>
  260. <webappDirectory>${project.build.outputDirectory}/VAADIN/widgetsets</webappDirectory>
  261. <persistentunitcachedir>${project.build.directory}/gwt-unitCache</persistentunitcachedir>
  262. </configuration>
  263. <executions>
  264. <execution>
  265. <goals>
  266. <goal>compile</goal>
  267. <goal>compile-theme</goal>
  268. </goals>
  269. </execution>
  270. </executions>
  271. </plugin>
  272. <plugin>
  273. <groupId>org.mortbay.jetty</groupId>
  274. <artifactId>jetty-maven-plugin</artifactId>
  275. <version>${jetty.version}</version>
  276. </plugin>
  277. <plugin>
  278. <artifactId>maven-resources-plugin</artifactId>
  279. <executions>
  280. <execution>
  281. <id>copy-theme-sources</id>
  282. <phase>generate-resources</phase>
  283. <goals>
  284. <goal>copy-resources</goal>
  285. </goals>
  286. <configuration>
  287. <outputDirectory>${project.build.directory}/compile-themes</outputDirectory>
  288. <resources>
  289. <resource>
  290. <directory>src/main/resources</directory>
  291. <filtering>false</filtering>
  292. <includes>
  293. <include>**/tests-valo*/**</include>
  294. </includes>
  295. </resource>
  296. </resources>
  297. </configuration>
  298. </execution>
  299. <execution>
  300. <id>copy-compiled-themes</id>
  301. <phase>prepare-package</phase>
  302. <goals>
  303. <goal>copy-resources</goal>
  304. </goals>
  305. <configuration>
  306. <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  307. <resources>
  308. <resource>
  309. <directory>${project.build.directory}/compile-themes</directory>
  310. <filtering>false</filtering>
  311. </resource>
  312. </resources>
  313. </configuration>
  314. </execution>
  315. </executions>
  316. </plugin>
  317. <plugin>
  318. <artifactId>maven-install-plugin</artifactId>
  319. <configuration>
  320. <skip>true</skip>
  321. </configuration>
  322. </plugin>
  323. <plugin>
  324. <artifactId>maven-deploy-plugin</artifactId>
  325. <configuration>
  326. <skip>${skip.uitest.deployment}</skip>
  327. </configuration>
  328. </plugin>
  329. <plugin>
  330. <artifactId>maven-surefire-plugin</artifactId>
  331. <configuration>
  332. <skip>true</skip>
  333. </configuration>
  334. </plugin>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-checkstyle-plugin</artifactId>
  338. <configuration>
  339. <skip>true</skip>
  340. </configuration>
  341. </plugin>
  342. </plugins>
  343. <pluginManagement>
  344. <plugins>
  345. <plugin>
  346. <groupId>org.sonatype.plugins</groupId>
  347. <artifactId>nexus-staging-maven-plugin</artifactId>
  348. <configuration>
  349. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  350. </configuration>
  351. </plugin>
  352. <plugin>
  353. <artifactId>maven-javadoc-plugin</artifactId>
  354. <configuration>
  355. <skip>true</skip>
  356. </configuration>
  357. </plugin>
  358. </plugins>
  359. </pluginManagement>
  360. </build>
  361. <profiles>
  362. <profile>
  363. <!-- Profile used to deploy the uitest war for testing -->
  364. <id>dev-build</id>
  365. <activation>
  366. <activeByDefault>false</activeByDefault>
  367. </activation>
  368. <properties>
  369. <skip.uitest.deployment>false</skip.uitest.deployment>
  370. </properties>
  371. </profile>
  372. </profiles>
  373. </project>