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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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.15-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-maven3-plugin</artifactId>
  107. <version>1.9.4</version>
  108. <configuration>
  109. <configuration>
  110. <type>standalone</type>
  111. <home>
  112. ${project.build.directory}/cargo-server
  113. </home>
  114. <properties>
  115. <cargo.servlet.port>8080</cargo.servlet.port>
  116. </properties>
  117. </configuration>
  118. <deployables>
  119. <deployable>
  120. <groupId>${project.groupId}</groupId>
  121. <artifactId>${project.artifactId}</artifactId>
  122. <type>war</type>
  123. <properties>
  124. <context>${context.path}</context>
  125. </properties>
  126. </deployable>
  127. </deployables>
  128. </configuration>
  129. <executions>
  130. <execution>
  131. <id>start-cargo-server</id>
  132. <phase>pre-integration-test</phase>
  133. <goals>
  134. <goal>start</goal>
  135. </goals>
  136. </execution>
  137. <execution>
  138. <id>stop-cargo-server</id>
  139. <phase>post-integration-test</phase>
  140. <goals>
  141. <goal>stop</goal>
  142. </goals>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. <!-- WebSphere Liberty Configuration. Version and profile are configurable with liberty.version and liberty.profile -->
  147. <plugin>
  148. <groupId>net.wasdev.wlp.maven.plugins</groupId>
  149. <artifactId>liberty-maven-plugin</artifactId>
  150. <version>2.0</version>
  151. <executions>
  152. <execution>
  153. <id>start-liberty</id>
  154. <phase>pre-integration-test</phase>
  155. <goals>
  156. <goal>start-server</goal>
  157. <goal>deploy</goal>
  158. </goals>
  159. </execution>
  160. <execution>
  161. <id>stop-liberty</id>
  162. <phase>post-integration-test</phase>
  163. <goals>
  164. <goal>stop-server</goal>
  165. </goals>
  166. </execution>
  167. </executions>
  168. <configuration>
  169. <!-- FIXME: This plug-in should also use port 8080 -->
  170. <appArtifact>
  171. <groupId>${project.groupId}</groupId>
  172. <artifactId>${project.artifactId}</artifactId>
  173. <version>${project.version}</version>
  174. <type>${project.packaging}</type>
  175. </appArtifact>
  176. <assemblyArtifact>
  177. <groupId>com.ibm.websphere.appserver.runtime</groupId>
  178. <artifactId>${liberty.profile}</artifactId>
  179. <version>${liberty.version}</version>
  180. <type>zip</type>
  181. </assemblyArtifact>
  182. </configuration>
  183. </plugin>
  184. <!-- Jetty Configuration. Version selected with jetty.version -->
  185. <plugin>
  186. <groupId>org.eclipse.jetty</groupId>
  187. <artifactId>jetty-maven-plugin</artifactId>
  188. <configuration>
  189. <supportedPackagings>pom,jar,war</supportedPackagings>
  190. <webApp>
  191. <contextPath>${context.path}</contextPath>
  192. </webApp>
  193. </configuration>
  194. </plugin>
  195. <!-- General purpose plugins -->
  196. <plugin>
  197. <artifactId>maven-deploy-plugin</artifactId>
  198. <configuration>
  199. <skip>true</skip>
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <artifactId>maven-surefire-plugin</artifactId>
  204. <configuration>
  205. <skip>true</skip>
  206. </configuration>
  207. </plugin>
  208. <plugin>
  209. <artifactId>maven-failsafe-plugin</artifactId>
  210. <configuration>
  211. <dependenciesToScan>
  212. <dependency>${project.groupId}:vaadin-test-server-tests</dependency>
  213. </dependenciesToScan>
  214. <systemPropertyVariables>
  215. <deployment.context.path>${context.path}</deployment.context.path>
  216. </systemPropertyVariables>
  217. </configuration>
  218. </plugin>
  219. </plugins>
  220. </pluginManagement>
  221. </build>
  222. <profiles>
  223. <profile>
  224. <id>all</id>
  225. <activation>
  226. <activeByDefault>true</activeByDefault>
  227. </activation>
  228. <modules>
  229. <module>jsp-integration</module>
  230. <module>karaf</module>
  231. <module>wildfly13</module>
  232. <module>wildfly12</module>
  233. <module>wildfly11</module>
  234. <module>wildfly10</module>
  235. <module>wildfly9</module>
  236. <module>wildfly8</module>
  237. <module>wildfly-swarm</module>
  238. <module>jetty8</module>
  239. <module>jetty9</module>
  240. <module>payara-micro</module>
  241. <module>glassfish</module>
  242. <!-- TODO: Payara 5 and Glassfish 5 -->
  243. <module>tomcat7</module>
  244. <module>tomcat80</module>
  245. <module>tomcat85</module>
  246. <module>tomcat9</module>
  247. <module>liberty-javaee</module>
  248. <module>liberty-webprofile</module>
  249. <module>liberty-microprofile</module>
  250. </modules>
  251. </profile>
  252. <profile>
  253. <!-- TODO Remove this when the ant build is no longer used. -->
  254. <id>ant-test</id>
  255. <modules>
  256. <module>generic</module>
  257. </modules>
  258. </profile>
  259. <profile>
  260. <id>wildfly</id>
  261. <modules>
  262. <module>wildfly13</module>
  263. <module>wildfly12</module>
  264. <module>wildfly11</module>
  265. <module>wildfly10</module>
  266. <module>wildfly9</module>
  267. <module>wildfly8</module>
  268. </modules>
  269. </profile>
  270. <profile>
  271. <id>jetty</id>
  272. <modules>
  273. <module>jetty9</module>
  274. <module>jetty8</module>
  275. </modules>
  276. </profile>
  277. <profile>
  278. <id>liberty</id>
  279. <modules>
  280. <module>liberty-webprofile</module>
  281. <module>liberty-javaee</module>
  282. </modules>
  283. </profile>
  284. <profile>
  285. <id>glassfish</id>
  286. <modules>
  287. <module>glassfish</module>
  288. </modules>
  289. </profile>
  290. <profile>
  291. <id>tomcat</id>
  292. <modules>
  293. <module>tomcat7</module>
  294. <module>tomcat80</module>
  295. <module>tomcat85</module>
  296. <module>tomcat9</module>
  297. </modules>
  298. </profile>
  299. <profile>
  300. <id>microprofile</id>
  301. <modules>
  302. <module>wildfly-swarm</module>
  303. <module>payara-micro</module>
  304. <module>liberty-microprofile</module>
  305. </modules>
  306. </profile>
  307. </profiles>
  308. </project>