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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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-test</artifactId>
  8. <version>8.12-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>vaadin-servlet-containers-test</artifactId>
  11. <name>vaadin-servlet-containers-test</name>
  12. <packaging>pom</packaging>
  13. <properties>
  14. <server.name>jetty9</server.name>
  15. <context.path>/${project.build.finalName}</context.path>
  16. <!-- Default reference screenshot location, relative to the module path -->
  17. <reference.directory>${project.basedir}/../screenshots</reference.directory>
  18. </properties>
  19. <modules>
  20. <module>generic-ui</module>
  21. <module>generic-tests</module>
  22. </modules>
  23. <build>
  24. <pluginManagement>
  25. <plugins>
  26. <!-- Wildfly Configuration. Version selected with wildfly.version -->
  27. <plugin>
  28. <groupId>org.wildfly.plugins</groupId>
  29. <artifactId>wildfly-maven-plugin</artifactId>
  30. <version>1.2.0.Final</version>
  31. <executions>
  32. <execution>
  33. <id>start-wildfly</id>
  34. <phase>pre-integration-test</phase>
  35. <goals>
  36. <goal>start</goal>
  37. <goal>deploy</goal>
  38. </goals>
  39. </execution>
  40. <execution>
  41. <id>stop-wildfly</id>
  42. <phase>post-integration-test</phase>
  43. <goals>
  44. <goal>shutdown</goal>
  45. </goals>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. <!-- Payara Micro Configuration. Version selected with payara.version -->
  50. <plugin>
  51. <groupId>fish.payara.maven.plugins</groupId>
  52. <artifactId>payara-micro-maven-plugin</artifactId>
  53. <version>1.0.0</version>
  54. <executions>
  55. <execution>
  56. <id>start-payara</id>
  57. <phase>pre-integration-test</phase>
  58. <goals>
  59. <goal>bundle</goal>
  60. <goal>start</goal>
  61. </goals>
  62. </execution>
  63. <execution>
  64. <id>stop-payara</id>
  65. <phase>post-integration-test</phase>
  66. <goals>
  67. <goal>stop</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. <configuration>
  72. <payaraVersion>${payara.version}</payaraVersion>
  73. <useUberJar>true</useUberJar>
  74. <daemon>true</daemon>
  75. </configuration>
  76. </plugin>
  77. <!-- Glassfish Embedded Configuration. -->
  78. <plugin>
  79. <groupId>org.glassfish.embedded</groupId>
  80. <artifactId>maven-embedded-glassfish-plugin</artifactId>
  81. <version>4.1.1</version>
  82. <executions>
  83. <execution>
  84. <id>start-glassfish</id>
  85. <phase>pre-integration-test</phase>
  86. <goals>
  87. <goal>start</goal>
  88. <goal>deploy</goal>
  89. </goals>
  90. </execution>
  91. <execution>
  92. <id>stop-glassfish</id>
  93. <phase>post-integration-test</phase>
  94. <goals>
  95. <goal>stop</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. <configuration>
  100. <port>8080</port>
  101. </configuration>
  102. </plugin>
  103. <!-- Generic cargo plugin configuration. Define container to use in submodule. -->
  104. <plugin>
  105. <groupId>org.codehaus.cargo</groupId>
  106. <artifactId>cargo-maven2-plugin</artifactId>
  107. <configuration>
  108. <configuration>
  109. <type>standalone</type>
  110. <home>
  111. ${project.build.directory}/cargo-server
  112. </home>
  113. <properties>
  114. <cargo.servlet.port>8080</cargo.servlet.port>
  115. </properties>
  116. </configuration>
  117. <deployables>
  118. <deployable>
  119. <groupId>${project.groupId}</groupId>
  120. <artifactId>${project.artifactId}</artifactId>
  121. <type>war</type>
  122. <properties>
  123. <context>${context.path}</context>
  124. </properties>
  125. </deployable>
  126. </deployables>
  127. </configuration>
  128. <executions>
  129. <execution>
  130. <id>start-cargo-server</id>
  131. <phase>pre-integration-test</phase>
  132. <goals>
  133. <goal>start</goal>
  134. </goals>
  135. </execution>
  136. <execution>
  137. <id>stop-cargo-server</id>
  138. <phase>post-integration-test</phase>
  139. <goals>
  140. <goal>stop</goal>
  141. </goals>
  142. </execution>
  143. </executions>
  144. </plugin>
  145. <!-- WebSphere Liberty Configuration. Version and profile are configurable with liberty.version and liberty.profile -->
  146. <plugin>
  147. <groupId>net.wasdev.wlp.maven.plugins</groupId>
  148. <artifactId>liberty-maven-plugin</artifactId>
  149. <version>2.0</version>
  150. <executions>
  151. <execution>
  152. <id>start-liberty</id>
  153. <phase>pre-integration-test</phase>
  154. <goals>
  155. <goal>start-server</goal>
  156. <goal>deploy</goal>
  157. </goals>
  158. </execution>
  159. <execution>
  160. <id>stop-liberty</id>
  161. <phase>post-integration-test</phase>
  162. <goals>
  163. <goal>stop-server</goal>
  164. </goals>
  165. </execution>
  166. </executions>
  167. <configuration>
  168. <!-- FIXME: This plug-in should also use port 8080 -->
  169. <appArtifact>
  170. <groupId>${project.groupId}</groupId>
  171. <artifactId>${project.artifactId}</artifactId>
  172. <version>${project.version}</version>
  173. <type>${project.packaging}</type>
  174. </appArtifact>
  175. <assemblyArtifact>
  176. <groupId>com.ibm.websphere.appserver.runtime</groupId>
  177. <artifactId>${liberty.profile}</artifactId>
  178. <version>${liberty.version}</version>
  179. <type>zip</type>
  180. </assemblyArtifact>
  181. </configuration>
  182. </plugin>
  183. <!-- Jetty Configuration. Version selected with jetty.version -->
  184. <plugin>
  185. <groupId>org.eclipse.jetty</groupId>
  186. <artifactId>jetty-maven-plugin</artifactId>
  187. <configuration>
  188. <webApp>
  189. <contextPath>${context.path}</contextPath>
  190. </webApp>
  191. </configuration>
  192. </plugin>
  193. <!-- General purpose plugins -->
  194. <plugin>
  195. <artifactId>maven-deploy-plugin</artifactId>
  196. <configuration>
  197. <skip>true</skip>
  198. </configuration>
  199. </plugin>
  200. <plugin>
  201. <artifactId>maven-surefire-plugin</artifactId>
  202. <configuration>
  203. <skip>true</skip>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <artifactId>maven-failsafe-plugin</artifactId>
  208. <configuration>
  209. <dependenciesToScan>
  210. <dependency>${project.groupId}:vaadin-test-server-tests</dependency>
  211. </dependenciesToScan>
  212. <systemPropertyVariables>
  213. <deployment.context.path>${context.path}</deployment.context.path>
  214. </systemPropertyVariables>
  215. </configuration>
  216. </plugin>
  217. </plugins>
  218. </pluginManagement>
  219. </build>
  220. <profiles>
  221. <profile>
  222. <id>all</id>
  223. <activation>
  224. <activeByDefault>true</activeByDefault>
  225. </activation>
  226. <modules>
  227. <module>jsp-integration</module>
  228. <module>karaf</module>
  229. <module>wildfly13</module>
  230. <module>wildfly12</module>
  231. <module>wildfly11</module>
  232. <module>wildfly10</module>
  233. <module>wildfly9</module>
  234. <module>wildfly8</module>
  235. <module>wildfly-swarm</module>
  236. <module>jetty8</module>
  237. <module>jetty9</module>
  238. <module>payara-micro</module>
  239. <module>glassfish</module>
  240. <!-- TODO: Payara 5 and Glassfish 5 -->
  241. <module>tomcat7</module>
  242. <module>tomcat80</module>
  243. <module>tomcat85</module>
  244. <module>tomcat9</module>
  245. <module>liberty-javaee</module>
  246. <module>liberty-webprofile</module>
  247. <module>liberty-microprofile</module>
  248. </modules>
  249. </profile>
  250. <profile>
  251. <!-- TODO Remove this when the ant build is no longer used. -->
  252. <id>ant-test</id>
  253. <modules>
  254. <module>generic</module>
  255. </modules>
  256. </profile>
  257. <profile>
  258. <id>wildfly</id>
  259. <modules>
  260. <module>wildfly13</module>
  261. <module>wildfly12</module>
  262. <module>wildfly11</module>
  263. <module>wildfly10</module>
  264. <module>wildfly9</module>
  265. <module>wildfly8</module>
  266. </modules>
  267. </profile>
  268. <profile>
  269. <id>jetty</id>
  270. <modules>
  271. <module>jetty9</module>
  272. <module>jetty8</module>
  273. </modules>
  274. </profile>
  275. <profile>
  276. <id>liberty</id>
  277. <modules>
  278. <module>liberty-webprofile</module>
  279. <module>liberty-javaee</module>
  280. </modules>
  281. </profile>
  282. <profile>
  283. <id>glassfish</id>
  284. <modules>
  285. <module>glassfish</module>
  286. </modules>
  287. </profile>
  288. <profile>
  289. <id>tomcat</id>
  290. <modules>
  291. <module>tomcat7</module>
  292. <module>tomcat80</module>
  293. <module>tomcat85</module>
  294. <module>tomcat9</module>
  295. </modules>
  296. </profile>
  297. <profile>
  298. <id>microprofile</id>
  299. <modules>
  300. <module>wildfly-swarm</module>
  301. <module>payara-micro</module>
  302. <module>liberty-microprofile</module>
  303. </modules>
  304. </profile>
  305. </profiles>
  306. </project>