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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  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. <skip.uitest.deployment>true</skip.uitest.deployment>
  15. </properties>
  16. <url>https://vaadin.com/</url>
  17. <description>Vaadin UI tests</description>
  18. <repositories>
  19. <repository>
  20. <id>vaadin-addons</id>
  21. <url>http://maven.vaadin.com/vaadin-addons</url>
  22. </repository>
  23. </repositories>
  24. <dependencies>
  25. <!-- API DEPENDENCIES -->
  26. <dependency>
  27. <groupId>javax.portlet</groupId>
  28. <artifactId>portlet-api</artifactId>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>javax.validation</groupId>
  33. <artifactId>validation-api</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.hibernate</groupId>
  37. <artifactId>hibernate-validator</artifactId>
  38. </dependency>
  39. <!-- Google App Engine -->
  40. <dependency>
  41. <groupId>com.google.appengine</groupId>
  42. <artifactId>appengine-api-1.0-sdk</artifactId>
  43. <scope>provided</scope>
  44. </dependency>
  45. <!-- jetty-servlets needed by ProxyTest, but not by jetty-runner -->
  46. <!-- Jetty before vaadin-* on the classpath to make Eclipse use the
  47. right version -->
  48. <dependency>
  49. <groupId>org.eclipse.jetty</groupId>
  50. <artifactId>jetty-server</artifactId>
  51. <scope>provided</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.eclipse.jetty</groupId>
  55. <artifactId>jetty-servlets</artifactId>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.eclipse.jetty.websocket</groupId>
  60. <artifactId>websocket-server</artifactId>
  61. <scope>provided</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.eclipse.jetty</groupId>
  65. <artifactId>jetty-webapp</artifactId>
  66. <version>${jetty.version}</version>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.eclipse.jetty</groupId>
  71. <artifactId>jetty-util</artifactId>
  72. <version>${jetty.version}</version>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.eclipse.jetty</groupId>
  77. <artifactId>jetty-proxy</artifactId>
  78. <version>${jetty.version}</version>
  79. <scope>provided</scope>
  80. </dependency>
  81. <!-- LIBRARY DEPENDENCIES (compile time) -->
  82. <!-- Project modules -->
  83. <dependency>
  84. <groupId>${project.groupId}</groupId>
  85. <artifactId>vaadin-server</artifactId>
  86. <version>${project.version}</version>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>javax.servlet</groupId>
  90. <artifactId>javax.servlet-api</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency>
  95. <groupId>${project.groupId}</groupId>
  96. <artifactId>vaadin-client</artifactId>
  97. <version>${project.version}</version>
  98. <exclusions>
  99. <exclusion>
  100. <groupId>javax.validation</groupId>
  101. <artifactId>javax.servlet-api</artifactId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.google.gwt</groupId>
  107. <artifactId>gwt-elemental</artifactId>
  108. <scope>provided</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.google.gwt</groupId>
  112. <artifactId>gwt-servlet</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>${project.groupId}</groupId>
  116. <artifactId>vaadin-client-compiled</artifactId>
  117. <version>${project.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>${project.groupId}</groupId>
  121. <artifactId>vaadin-themes</artifactId>
  122. <version>${project.version}</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>${project.groupId}</groupId>
  126. <artifactId>vaadin-push</artifactId>
  127. <version>${project.version}</version>
  128. <exclusions>
  129. <exclusion>
  130. <groupId>javax.validation</groupId>
  131. <artifactId>javax.servlet-api</artifactId>
  132. </exclusion>
  133. </exclusions>
  134. </dependency>
  135. <!-- Vaadin 7 components -->
  136. <dependency>
  137. <groupId>${project.groupId}</groupId>
  138. <artifactId>vaadin-compatibility-client-compiled</artifactId>
  139. <version>${project.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>${project.groupId}</groupId>
  143. <artifactId>vaadin-compatibility-server</artifactId>
  144. <version>${project.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>${project.groupId}</groupId>
  148. <artifactId>vaadin-compatibility-themes</artifactId>
  149. <version>${project.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>${project.groupId}</groupId>
  153. <artifactId>vaadin-compatibility-client</artifactId>
  154. <version>${project.version}</version>
  155. </dependency>
  156. <!-- For compiling TestingWidgetSet -->
  157. <dependency>
  158. <groupId>${project.groupId}</groupId>
  159. <artifactId>vaadin-client-compiler</artifactId>
  160. <version>${project.version}</version>
  161. <scope>provided</scope>
  162. </dependency>
  163. <!-- Servlet API -->
  164. <dependency>
  165. <!-- Jetty requires 3.1.0 -->
  166. <groupId>javax.servlet</groupId>
  167. <artifactId>javax.servlet-api</artifactId>
  168. <version>3.1.0</version>
  169. <scope>provided</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>${project.groupId}</groupId>
  173. <artifactId>vaadin-uitest-common</artifactId>
  174. <version>${project.version}</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.jcraft</groupId>
  179. <artifactId>jsch</artifactId>
  180. </dependency>
  181. <dependency>
  182. <groupId>commons-codec</groupId>
  183. <artifactId>commons-codec</artifactId>
  184. </dependency>
  185. <dependency>
  186. <groupId>commons-io</groupId>
  187. <artifactId>commons-io</artifactId>
  188. </dependency>
  189. <!-- Mainly for SQLContainer tests -->
  190. <dependency>
  191. <groupId>org.hsqldb</groupId>
  192. <artifactId>hsqldb</artifactId>
  193. </dependency>
  194. <!-- This should be removed once tests have been updated to use lang3 -->
  195. <dependency>
  196. <groupId>commons-lang</groupId>
  197. <artifactId>commons-lang</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.vaadin</groupId>
  201. <artifactId>vaadin-sass-compiler</artifactId>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.eclipse.jgit</groupId>
  205. <artifactId>org.eclipse.jgit</artifactId>
  206. <exclusions>
  207. <exclusion>
  208. <groupId>org.apache.httpcomponents</groupId>
  209. <artifactId>httpclient</artifactId>
  210. </exclusion>
  211. </exclusions>
  212. </dependency>
  213. </dependencies>
  214. <build>
  215. <resources>
  216. <resource>
  217. <directory>src/main/themes</directory>
  218. <excludes>
  219. <exclude>**/*.scss</exclude>
  220. </excludes>
  221. </resource>
  222. <resource>
  223. <directory>src/main/resources</directory>
  224. </resource>
  225. </resources>
  226. <plugins>
  227. <plugin>
  228. <groupId>com.vaadin</groupId>
  229. <artifactId>vaadin-maven-plugin</artifactId>
  230. <configuration>
  231. <warSourceDirectory>src/main/themes</warSourceDirectory>
  232. <webappDirectory>${project.build.outputDirectory}/VAADIN/widgetsets</webappDirectory>
  233. <persistentunitcachedir>${project.build.directory}/gwt-unitCache</persistentunitcachedir>
  234. <checkAssertions>true</checkAssertions>
  235. <extraJvmArgs>-Xmx1G</extraJvmArgs>
  236. </configuration>
  237. <executions>
  238. <execution>
  239. <goals>
  240. <goal>compile</goal>
  241. <goal>compile-theme</goal>
  242. </goals>
  243. </execution>
  244. </executions>
  245. </plugin>
  246. <plugin>
  247. <groupId>org.eclipse.jetty</groupId>
  248. <artifactId>jetty-maven-plugin</artifactId>
  249. <version>${jetty.version}</version>
  250. <configuration>
  251. <httpConnector>
  252. <port>8888</port>
  253. </httpConnector>
  254. </configuration>
  255. </plugin>
  256. <plugin>
  257. <artifactId>maven-install-plugin</artifactId>
  258. <configuration>
  259. <skip>true</skip>
  260. </configuration>
  261. </plugin>
  262. <plugin>
  263. <artifactId>maven-deploy-plugin</artifactId>
  264. <configuration>
  265. <skip>${skip.uitest.deployment}</skip>
  266. </configuration>
  267. </plugin>
  268. <plugin>
  269. <artifactId>maven-surefire-plugin</artifactId>
  270. <configuration>
  271. <skip>true</skip>
  272. </configuration>
  273. </plugin>
  274. <plugin>
  275. <groupId>org.codehaus.mojo</groupId>
  276. <artifactId>animal-sniffer-maven-plugin</artifactId>
  277. <configuration>
  278. <skip>true</skip>
  279. </configuration>
  280. </plugin>
  281. </plugins>
  282. <pluginManagement>
  283. <plugins>
  284. <plugin>
  285. <groupId>org.sonatype.plugins</groupId>
  286. <artifactId>nexus-staging-maven-plugin</artifactId>
  287. <configuration>
  288. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  289. </configuration>
  290. </plugin>
  291. <plugin>
  292. <artifactId>maven-javadoc-plugin</artifactId>
  293. <configuration>
  294. <skip>true</skip>
  295. </configuration>
  296. </plugin>
  297. </plugins>
  298. </pluginManagement>
  299. </build>
  300. <profiles>
  301. <profile>
  302. <!-- Profile used to deploy the uitest war for testing -->
  303. <id>dev-build</id>
  304. <activation>
  305. <activeByDefault>false</activeByDefault>
  306. </activation>
  307. <properties>
  308. <skip.uitest.deployment>false</skip.uitest.deployment>
  309. </properties>
  310. </profile>
  311. <profile>
  312. <id>default</id>
  313. <activation>
  314. <activeByDefault>true</activeByDefault>
  315. </activation>
  316. <build>
  317. <plugins>
  318. <plugin>
  319. <artifactId>maven-surefire-plugin</artifactId>
  320. <configuration>
  321. <excludedGroups>com.vaadin.testcategory.MeasurementTest</excludedGroups>
  322. </configuration>
  323. </plugin>
  324. </plugins>
  325. </build>
  326. </profile>
  327. <profile>
  328. <id>measurements</id>
  329. <activation>
  330. <activeByDefault>false</activeByDefault>
  331. </activation>
  332. <properties>
  333. <skipTests>false</skipTests>
  334. </properties>
  335. <build>
  336. <plugins>
  337. <plugin>
  338. <artifactId>maven-failsafe-plugin</artifactId>
  339. <executions>
  340. <execution>
  341. <goals>
  342. <goal>integration-test</goal>
  343. <goal>verify</goal>
  344. </goals>
  345. </execution>
  346. </executions>
  347. <configuration>
  348. <groups>com.vaadin.testcategory.MeasurementTest</groups>
  349. <systemPropertyVariables>
  350. <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
  351. </systemPropertyVariables>
  352. </configuration>
  353. </plugin>
  354. <plugin>
  355. <groupId>org.eclipse.jetty</groupId>
  356. <artifactId>jetty-maven-plugin</artifactId>
  357. <configuration>
  358. <httpConnector>
  359. <port>8888</port>
  360. </httpConnector>
  361. <scanIntervalSeconds>-1</scanIntervalSeconds>
  362. <stopPort>8081</stopPort>
  363. <stopWait>5</stopWait>
  364. <stopKey>foo</stopKey>
  365. </configuration>
  366. <executions>
  367. <!-- start and stop jetty (running our app) when
  368. running integration tests -->
  369. <execution>
  370. <id>start-jetty</id>
  371. <phase>pre-integration-test</phase>
  372. <goals>
  373. <goal>start</goal>
  374. </goals>
  375. </execution>
  376. <execution>
  377. <id>stop-jetty</id>
  378. <phase>post-integration-test</phase>
  379. <goals>
  380. <goal>stop</goal>
  381. </goals>
  382. </execution>
  383. </executions>
  384. </plugin>
  385. <plugin>
  386. <groupId>com.github.klieber</groupId>
  387. <artifactId>phantomjs-maven-plugin</artifactId>
  388. <executions>
  389. <execution>
  390. <goals>
  391. <goal>install</goal>
  392. </goals>
  393. <configuration>
  394. <version>${phantomjs.version}</version>
  395. </configuration>
  396. </execution>
  397. </executions>
  398. </plugin>
  399. </plugins>
  400. </build>
  401. </profile>
  402. </profiles>
  403. </project>