pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2013-2019 the original author or authors.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ https://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  18. xmlns="http://maven.apache.org/POM/4.0.0"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>io.awspring.cloud</groupId>
  23. <artifactId>spring-cloud-aws</artifactId>
  24. <version>2.3.6-SNAPSHOT</version>
  25. </parent>
  26. <artifactId>spring-cloud-aws-integration-test</artifactId>
  27. <name>Spring Cloud AWS Integration Tests</name>
  28. <description>Spring Cloud AWS Integration Tests</description>
  29. <dependencies>
  30. <dependency>
  31. <groupId>io.awspring.cloud</groupId>
  32. <artifactId>spring-cloud-aws-context</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>io.awspring.cloud</groupId>
  37. <artifactId>spring-cloud-aws-jdbc</artifactId>
  38. <scope>test</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>io.awspring.cloud</groupId>
  42. <artifactId>spring-cloud-aws-messaging</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.amazonaws</groupId>
  47. <artifactId>aws-java-sdk-ses</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>io.awspring.cloud</groupId>
  52. <artifactId>spring-cloud-aws-autoconfigure</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-test</artifactId>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>javax.mail</groupId>
  62. <artifactId>javax.mail-api</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.sun.mail</groupId>
  67. <artifactId>jakarta.mail</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.tomcat</groupId>
  72. <artifactId>tomcat-jdbc</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>mysql</groupId>
  77. <artifactId>mysql-connector-java</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.tomcat.extras</groupId>
  82. <artifactId>tomcat-extras-juli-adapters</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.retry</groupId>
  87. <artifactId>spring-retry</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework</groupId>
  92. <artifactId>spring-context-support</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>javax.servlet</groupId>
  97. <artifactId>javax.servlet-api</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-webmvc</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.aspectj</groupId>
  107. <artifactId>aspectjweaver</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.data</groupId>
  112. <artifactId>spring-data-redis</artifactId>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>redis.clients</groupId>
  117. <artifactId>jedis</artifactId>
  118. <scope>test</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.amazonaws</groupId>
  122. <artifactId>aws-java-sdk-elasticache</artifactId>
  123. <scope>test</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.amazonaws</groupId>
  127. <artifactId>aws-java-sdk-cloudformation</artifactId>
  128. <scope>test</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.amazonaws</groupId>
  132. <artifactId>elasticache-java-cluster-client</artifactId>
  133. <scope>test</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.awaitility</groupId>
  137. <artifactId>awaitility</artifactId>
  138. <version>4.0.3</version>
  139. <scope>test</scope>
  140. </dependency>
  141. </dependencies>
  142. <build>
  143. <plugins>
  144. <plugin>
  145. <artifactId>maven-surefire-plugin</artifactId>
  146. <configuration>
  147. <excludes>
  148. <exclude>**/*.java</exclude>
  149. </excludes>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <artifactId>maven-deploy-plugin</artifactId>
  154. <configuration>
  155. <skip>true</skip>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>com.github.davidmoten</groupId>
  160. <artifactId>aws-maven-plugin</artifactId>
  161. <version>0.2.26</version>
  162. <configuration>
  163. <stackName>IntegrationTestStack</stackName>
  164. <template>src/test/resources/IntegrationTestStack.yaml</template>
  165. <parameters>
  166. <RdsPassword>${rdsPassword}</RdsPassword>
  167. </parameters>
  168. <intervalSeconds>2</intervalSeconds>
  169. </configuration>
  170. </plugin>
  171. </plugins>
  172. </build>
  173. <profiles>
  174. <profile>
  175. <id>aws-integration-tests</id>
  176. <build>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-failsafe-plugin</artifactId>
  181. <version>3.0.0-M5</version>
  182. <configuration>
  183. <includes>
  184. <include>**/*Test.java</include>
  185. </includes>
  186. </configuration>
  187. <executions>
  188. <execution>
  189. <goals>
  190. <goal>integration-test</goal>
  191. <goal>verify</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. </profile>
  199. </profiles>
  200. </project>