Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pom.xml 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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-test</artifactId>
  11. <name>vaadin-test</name>
  12. <packaging>pom</packaging>
  13. <properties>
  14. <failOnMissingWebXml>false</failOnMissingWebXml>
  15. </properties>
  16. <repositories>
  17. <repository>
  18. <id>vaadin-addons</id>
  19. <url>http://maven.vaadin.com/vaadin-addons</url>
  20. </repository>
  21. </repositories>
  22. <dependencies>
  23. <!-- API DEPENDENCIES -->
  24. <!-- Project modules -->
  25. <dependency>
  26. <groupId>com.vaadin</groupId>
  27. <artifactId>vaadin-server</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.vaadin</groupId>
  32. <artifactId>vaadin-themes</artifactId>
  33. <version>${project.version}</version>
  34. </dependency>
  35. <!-- Servlet 3.0 API -->
  36. <dependency>
  37. <groupId>javax.servlet</groupId>
  38. <artifactId>javax.servlet-api</artifactId>
  39. <scope>provided</scope>
  40. </dependency>
  41. <!-- Testing -->
  42. <dependency>
  43. <groupId>junit</groupId>
  44. <artifactId>junit</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.hamcrest</groupId>
  49. <artifactId>hamcrest-all</artifactId>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.vaadin</groupId>
  54. <artifactId>vaadin-testbench</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. </dependencies>
  58. <modules>
  59. <module>widget-set-testutil</module>
  60. <module>default-widget-set</module>
  61. <module>own-widget-set</module>
  62. <module>addon-using-own-widget-set</module>
  63. <module>addon-using-no-defined-widget-set</module>
  64. <module>addon-using-init-param-widget-set</module>
  65. <module>space in directory</module>
  66. <module>vaadinservletconfiguration-widget-set</module>
  67. </modules>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.eclipse.jetty</groupId>
  72. <artifactId>jetty-maven-plugin</artifactId>
  73. <version>${jetty.version}</version>
  74. <configuration>
  75. <scanIntervalSeconds>-1</scanIntervalSeconds>
  76. <stopPort>8081</stopPort>
  77. <stopWait>5</stopWait>
  78. <stopKey>foo</stopKey>
  79. </configuration>
  80. <executions>
  81. <!-- start and stop jetty (running our app) when running
  82. integration tests -->
  83. <execution>
  84. <id>start-jetty</id>
  85. <phase>pre-integration-test</phase>
  86. <goals>
  87. <goal>start</goal>
  88. </goals>
  89. </execution>
  90. <execution>
  91. <id>stop-jetty</id>
  92. <phase>post-integration-test</phase>
  93. <goals>
  94. <goal>stop</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. <plugin>
  100. <groupId>com.github.klieber</groupId>
  101. <artifactId>phantomjs-maven-plugin</artifactId>
  102. <executions>
  103. <execution>
  104. <goals>
  105. <goal>install</goal>
  106. </goals>
  107. <configuration>
  108. <version>${phantomjs.version}</version>
  109. </configuration>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. <plugin>
  114. <artifactId>maven-surefire-plugin</artifactId>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-failsafe-plugin</artifactId>
  118. <executions>
  119. <execution>
  120. <goals>
  121. <goal>integration-test</goal>
  122. <goal>verify</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. <configuration>
  127. <systemPropertyVariables>
  128. <phantomjs.binary.path>${phantomjs.binary}</phantomjs.binary.path>
  129. </systemPropertyVariables>
  130. </configuration>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>