pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.cloud</groupId>
  8. <artifactId>spring-cloud-build</artifactId>
  9. <version>4.0.1</version>
  10. <relativePath/><!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>io.awspring.cloud</groupId>
  13. <artifactId>spring-cloud-aws</artifactId>
  14. <version>3.0.0-SNAPSHOT</version>
  15. <packaging>pom</packaging>
  16. <name>Spring Cloud AWS</name>
  17. <scm>
  18. <url>https://github.com/awspring/spring-cloud-aws</url>
  19. <connection>scm:git:git://github.com/awspring/spring-cloud-aws.git
  20. </connection>
  21. <developerConnection>
  22. scm:git:ssh://git@github.com/awspring/spring-cloud-aws.git
  23. </developerConnection>
  24. <tag>HEAD</tag>
  25. </scm>
  26. <properties>
  27. <spotless.version>2.31.0</spotless.version>
  28. <jacoco.version>0.8.8</jacoco.version>
  29. <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
  30. </properties>
  31. <modules>
  32. <module>spring-cloud-aws-core</module>
  33. <module>spring-cloud-aws-autoconfigure</module>
  34. <module>spring-cloud-aws-dependencies</module>
  35. <module>spring-cloud-aws-parameter-store</module>
  36. <module>spring-cloud-aws-secrets-manager</module>
  37. <module>spring-cloud-aws-ses</module>
  38. <module>spring-cloud-aws-sns</module>
  39. <module>spring-cloud-aws-sqs</module>
  40. <module>spring-cloud-aws-dynamodb</module>
  41. <module>spring-cloud-aws-s3-parent</module>
  42. <module>spring-cloud-aws-starters/spring-cloud-aws-starter</module>
  43. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-dynamodb</module>
  44. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-metrics</module>
  45. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-parameter-store</module>
  46. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-s3</module>
  47. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-secrets-manager</module>
  48. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-ses</module>
  49. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-sns</module>
  50. <module>spring-cloud-aws-starters/spring-cloud-aws-starter-sqs</module>
  51. <module>spring-cloud-aws-samples</module>
  52. <module>spring-cloud-aws-test</module>
  53. <module>docs</module>
  54. </modules>
  55. <dependencyManagement>
  56. <dependencies>
  57. <dependency>
  58. <groupId>io.awspring.cloud</groupId>
  59. <artifactId>spring-cloud-aws-dependencies</artifactId>
  60. <version>${project.version}</version>
  61. <type>pom</type>
  62. <scope>import</scope>
  63. </dependency>
  64. </dependencies>
  65. </dependencyManagement>
  66. <dependencies>
  67. <dependency>
  68. <groupId>org.slf4j</groupId>
  69. <artifactId>slf4j-api</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-test</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <pluginManagement>
  79. <plugins>
  80. <plugin>
  81. <artifactId>maven-compiler-plugin</artifactId>
  82. <configuration>
  83. <compilerArgs>
  84. <!-- Enable all warnings -->
  85. <compilerArg>-Xlint:all</compilerArg>
  86. <!-- Disable options warning because we will have differences between the compiler and source code level-->
  87. <compilerArg>-Xlint:-options</compilerArg>
  88. <!-- Disable serialversionuid warnings -->
  89. <compilerArg>-Xlint:-serial</compilerArg>
  90. <!--compilerArg>-Werror</compilerArg-->
  91. </compilerArgs>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <groupId>com.diffplug.spotless</groupId>
  96. <artifactId>spotless-maven-plugin</artifactId>
  97. <version>${spotless.version}</version>
  98. <configuration>
  99. <java>
  100. <importOrder />
  101. <eclipse>
  102. <file>${maven.multiModuleProjectDirectory}/eclipse-code-formatter.xml</file>
  103. </eclipse>
  104. <removeUnusedImports/>
  105. <licenseHeader>
  106. <file>${maven.multiModuleProjectDirectory}/license-header.txt</file>
  107. </licenseHeader>
  108. </java>
  109. </configuration>
  110. </plugin>
  111. </plugins>
  112. </pluginManagement>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-javadoc-plugin</artifactId>
  117. <configuration>
  118. <skip>true</skip>
  119. <links>
  120. <link>https://docs.oracle.com/javase/8/docs/api/</link>
  121. <link>https://javaee.github.io/javaee-spec/javadocs/</link>
  122. <link>https://fasterxml.github.io/jackson-core/javadoc/2.8/</link>
  123. <link>https://docs.spring.io/spring/docs/5.3.x/javadoc-api/</link>
  124. </links>
  125. <author>true</author>
  126. <header>${project.name}</header>
  127. <reportOutputDirectory>${project.build.directory}/site/${project.version}/apidocs</reportOutputDirectory>
  128. </configuration>
  129. </plugin>
  130. <plugin>
  131. <groupId>com.diffplug.spotless</groupId>
  132. <artifactId>spotless-maven-plugin</artifactId>
  133. <executions>
  134. <execution>
  135. <phase>validate</phase>
  136. <configuration>
  137. <skip>${disable.checks}</skip>
  138. </configuration>
  139. <goals>
  140. <goal>apply</goal>
  141. <goal>check</goal>
  142. </goals>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. </plugins>
  147. </build>
  148. <profiles>
  149. <profile>
  150. <id>spring</id>
  151. <repositories>
  152. <repository>
  153. <id>spring-snapshots</id>
  154. <name>Spring Snapshots</name>
  155. <url>https://repo.spring.io/libs-snapshot-local</url>
  156. <snapshots>
  157. <enabled>true</enabled>
  158. </snapshots>
  159. <releases>
  160. <enabled>false</enabled>
  161. </releases>
  162. </repository>
  163. <repository>
  164. <id>spring-milestones</id>
  165. <name>Spring Milestones</name>
  166. <url>https://repo.spring.io/libs-milestone-local</url>
  167. <snapshots>
  168. <enabled>false</enabled>
  169. </snapshots>
  170. </repository>
  171. <repository>
  172. <id>spring-releases</id>
  173. <name>Spring Releases</name>
  174. <url>https://repo.spring.io/release</url>
  175. <snapshots>
  176. <enabled>false</enabled>
  177. </snapshots>
  178. </repository>
  179. </repositories>
  180. <pluginRepositories>
  181. <pluginRepository>
  182. <id>spring-snapshots</id>
  183. <name>Spring Snapshots</name>
  184. <url>https://repo.spring.io/libs-snapshot-local</url>
  185. <snapshots>
  186. <enabled>true</enabled>
  187. </snapshots>
  188. <releases>
  189. <enabled>false</enabled>
  190. </releases>
  191. </pluginRepository>
  192. <pluginRepository>
  193. <id>spring-milestones</id>
  194. <name>Spring Milestones</name>
  195. <url>https://repo.spring.io/libs-milestone-local</url>
  196. <snapshots>
  197. <enabled>false</enabled>
  198. </snapshots>
  199. </pluginRepository>
  200. <pluginRepository>
  201. <id>spring-releases</id>
  202. <name>Spring Releases</name>
  203. <url>https://repo.spring.io/libs-release-local</url>
  204. <snapshots>
  205. <enabled>false</enabled>
  206. </snapshots>
  207. </pluginRepository>
  208. </pluginRepositories>
  209. </profile>
  210. <profile>
  211. <id>release</id>
  212. <build>
  213. <plugins>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-gpg-plugin</artifactId>
  217. <version>${maven-gpg-plugin.version}</version>
  218. <configuration>
  219. <!-- Prevent gpg from using pinentry programs -->
  220. <gpgArguments>
  221. <arg>--pinentry-mode</arg>
  222. <arg>loopback</arg>
  223. </gpgArguments>
  224. </configuration>
  225. <executions>
  226. <execution>
  227. <id>sign-artifacts</id>
  228. <phase>verify</phase>
  229. <goals>
  230. <goal>sign</goal>
  231. </goals>
  232. </execution>
  233. </executions>
  234. </plugin>
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-javadoc-plugin</artifactId>
  238. <configuration>
  239. <skip>false</skip>
  240. </configuration>
  241. </plugin>
  242. </plugins>
  243. </build>
  244. </profile>
  245. <profile>
  246. <id>docs</id>
  247. <build>
  248. <plugins>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-javadoc-plugin</artifactId>
  252. <configuration>
  253. <skip>false</skip>
  254. </configuration>
  255. </plugin>
  256. </plugins>
  257. </build>
  258. </profile>
  259. <profile>
  260. <id>coverage</id>
  261. <properties>
  262. <sonar.organization>awspring</sonar.organization>
  263. <sonar.projectKey>awspring_spring-cloud-aws</sonar.projectKey>
  264. <!-- https://community.sonarsource.com/t/project-quarkusio-quarkus-cant-have-2-modules-with-the-following-key-quarkusio-quarkus/33824/6 -->
  265. <sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
  266. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  267. </properties>
  268. <build>
  269. <plugins>
  270. <plugin>
  271. <groupId>org.jacoco</groupId>
  272. <artifactId>jacoco-maven-plugin</artifactId>
  273. <version>${jacoco.version}</version>
  274. <executions>
  275. <execution>
  276. <id>prepare-agent</id>
  277. <goals>
  278. <goal>prepare-agent</goal>
  279. </goals>
  280. </execution>
  281. <execution>
  282. <id>report</id>
  283. <goals>
  284. <goal>report</goal>
  285. </goals>
  286. <configuration>
  287. <formats>
  288. <format>XML</format>
  289. </formats>
  290. </configuration>
  291. </execution>
  292. </executions>
  293. </plugin>
  294. <plugin>
  295. <groupId>org.apache.maven.plugins</groupId>
  296. <artifactId>maven-surefire-plugin</artifactId>
  297. <configuration>
  298. <argLine>@{argLine} -Xms512m -Xmx512m</argLine>
  299. </configuration>
  300. </plugin>
  301. </plugins>
  302. </build>
  303. </profile>
  304. </profiles>
  305. <distributionManagement>
  306. <repository>
  307. <id>ossrh-awspring</id>
  308. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  309. </repository>
  310. </distributionManagement>
  311. <licenses>
  312. <license>
  313. <name>Apache License, Version 2.0</name>
  314. <url>https://www.apache.org/licenses/LICENSE-2.0</url>
  315. <comments>
  316. Copyright 2013-$YEAR the original author or authors.
  317. Licensed under the Apache License, Version 2.0 (the "License");
  318. you may not use this file except in compliance with the License.
  319. You may obtain a copy of the License at
  320. https://www.apache.org/licenses/LICENSE-2.0
  321. Unless required by applicable law or agreed to in writing, software
  322. distributed under the License is distributed on an "AS IS" BASIS,
  323. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  324. See the License for the specific language governing permissions and
  325. limitations under the License.
  326. </comments>
  327. </license>
  328. </licenses>
  329. </project>