Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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