.flattened-pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>io.seata</groupId>
  5. <artifactId>seata-build</artifactId>
  6. <version>1.6.1</version>
  7. <packaging>pom</packaging>
  8. <name>Seata Build 1.6.1</name>
  9. <description>plugin management for Seata built with Maven</description>
  10. <url>https://seata.io</url>
  11. <organization>
  12. <name>Seata</name>
  13. <url>https://github.com/seata</url>
  14. </organization>
  15. <licenses>
  16. <license>
  17. <name>Apache License, Version 2.0</name>
  18. <url>https://www.apache.org/licenses/LICENSE-2.0</url>
  19. <distribution>repo</distribution>
  20. </license>
  21. </licenses>
  22. <developers>
  23. <developer>
  24. <id>Seata</id>
  25. <name>Seata</name>
  26. <email>dev-seata@googlegroups.com</email>
  27. <url>https://seata.io</url>
  28. </developer>
  29. </developers>
  30. <scm>
  31. <connection>scm:git@github.com:seata/seata.git</connection>
  32. <developerConnection>scm:git@github.com:seata/seata.git</developerConnection>
  33. <url>git@github.com:seata/seata.git</url>
  34. </scm>
  35. <issueManagement>
  36. <system>github</system>
  37. <url>https://github.com/seata/seata/issues</url>
  38. </issueManagement>
  39. <properties>
  40. <checkstyle.skip>true</checkstyle.skip>
  41. <dependencies.copy.skip>true</dependencies.copy.skip>
  42. <easyj-maven-plugin.version>1.0.5</easyj-maven-plugin.version>
  43. <gpg.arg1/>
  44. <gpg.arg2/>
  45. <gpg.keyname>A1C4DAB9B220DBA0C277E945D6A1420D747D1EE0</gpg.keyname>
  46. <image.publish.skip>true</image.publish.skip>
  47. <image.tags>latest</image.tags>
  48. <jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
  49. <java.version>1.8</java.version>
  50. <jib-maven-plugin.version>3.2.0</jib-maven-plugin.version>
  51. <junit-jupiter.version>5.8.2</junit-jupiter.version>
  52. <junit-platform.version>1.8.2</junit-platform.version>
  53. <kotlin-maven-plugin.version>1.3.72</kotlin-maven-plugin.version>
  54. <license-maven-plugin.version>3.0</license-maven-plugin.version>
  55. <license.skip>true</license.skip>
  56. <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
  57. <maven-assembly-plugin.version>3.0.0</maven-assembly-plugin.version>
  58. <maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>
  59. <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
  60. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  61. <maven-dependency-plugin.version>3.0.2</maven-dependency-plugin.version>
  62. <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
  63. <maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version>
  64. <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
  65. <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
  66. <maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
  67. <maven-pmd-plugin.version>3.8</maven-pmd-plugin.version>
  68. <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
  69. <maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
  70. <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
  71. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  72. <maven.compiler.source>${java.version}</maven.compiler.source>
  73. <maven.compiler.target>${java.version}</maven.compiler.target>
  74. <maven.surefire.argLine/>
  75. <maven.test.skip>false</maven.test.skip>
  76. <mojo-license-maven-plugin.version>1.20</mojo-license-maven-plugin.version>
  77. <nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version>
  78. <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
  79. <p3c-pmd.version>1.3.6</p3c-pmd.version>
  80. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  81. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  82. <protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
  83. <spring-boot.version>2.5.13</spring-boot.version>
  84. <spring-framework.version>5.3.19</spring-framework.version>
  85. </properties>
  86. <build>
  87. <pluginManagement>
  88. <plugins>
  89. <plugin>
  90. <artifactId>maven-deploy-plugin</artifactId>
  91. <version>${maven-deploy-plugin.version}</version>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-shade-plugin</artifactId>
  95. <version>${maven-shade-plugin.version}</version>
  96. </plugin>
  97. <plugin>
  98. <artifactId>maven-dependency-plugin</artifactId>
  99. <version>${maven-dependency-plugin.version}</version>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-checkstyle-plugin</artifactId>
  103. <version>${maven-checkstyle-plugin.version}</version>
  104. </plugin>
  105. <plugin>
  106. <artifactId>maven-javadoc-plugin</artifactId>
  107. <version>${maven-javadoc-plugin.version}</version>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.xolstice.maven.plugins</groupId>
  111. <artifactId>protobuf-maven-plugin</artifactId>
  112. <version>${protobuf-maven-plugin.version}</version>
  113. </plugin>
  114. <plugin>
  115. <groupId>com.mycila</groupId>
  116. <artifactId>license-maven-plugin</artifactId>
  117. <version>${license-maven-plugin.version}</version>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.codehaus.mojo</groupId>
  121. <artifactId>license-maven-plugin</artifactId>
  122. <version>${mojo-license-maven-plugin.version}</version>
  123. </plugin>
  124. <plugin>
  125. <groupId>icu.easyj.maven.plugins</groupId>
  126. <artifactId>easyj-maven-plugin</artifactId>
  127. <version>${easyj-maven-plugin.version}</version>
  128. <executions>
  129. <execution>
  130. <id>simplify-pom</id>
  131. <goals>
  132. <goal>simplify-pom</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. <configuration>
  137. <simplifiedPomFileName>.flattened-pom.xml</simplifiedPomFileName>
  138. <useTabIndent>true</useTabIndent>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </pluginManagement>
  143. <plugins>
  144. <plugin>
  145. <artifactId>maven-compiler-plugin</artifactId>
  146. <version>${maven-compiler-plugin.version}</version>
  147. <configuration>
  148. <source>${maven.compiler.source}</source>
  149. <target>${maven.compiler.target}</target>
  150. <encoding>${project.build.sourceEncoding}</encoding>
  151. <parameters>true</parameters>
  152. </configuration>
  153. </plugin>
  154. <plugin>
  155. <artifactId>maven-resources-plugin</artifactId>
  156. <version>${maven-resources-plugin.version}</version>
  157. <configuration>
  158. <encoding>${project.build.sourceEncoding}</encoding>
  159. </configuration>
  160. </plugin>
  161. <plugin>
  162. <artifactId>maven-jar-plugin</artifactId>
  163. <version>${maven-jar-plugin.version}</version>
  164. <configuration>
  165. <archive>
  166. <addMavenDescriptor>true</addMavenDescriptor>
  167. <index>true</index>
  168. <manifest>
  169. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  170. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  171. </manifest>
  172. <manifestEntries>
  173. <Implementation-Build>${maven.build.timestamp}</Implementation-Build>
  174. </manifestEntries>
  175. </archive>
  176. <excludes>
  177. <exclude>**/META-INF/additional-spring-configuration-metadata.json</exclude>
  178. <exclude>protobuf/**</exclude>
  179. <exclude>**/*.proto</exclude>
  180. <exclude>static/console-fe/**</exclude>
  181. </excludes>
  182. </configuration>
  183. </plugin>
  184. <plugin>
  185. <artifactId>maven-clean-plugin</artifactId>
  186. <version>${maven-clean-plugin.version}</version>
  187. <configuration>
  188. <filesets>
  189. <fileset>
  190. <directory>./</directory>
  191. <includes>
  192. <include>*-pom.xml</include>
  193. <include>**/db_store/**</include>
  194. <include>**/sessionStore/**</include>
  195. <include>**/root.data</include>
  196. </includes>
  197. <followSymlinks>false</followSymlinks>
  198. </fileset>
  199. </filesets>
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <groupId>icu.easyj.maven.plugins</groupId>
  204. <artifactId>easyj-maven-plugin</artifactId>
  205. </plugin>
  206. <plugin>
  207. <artifactId>maven-enforcer-plugin</artifactId>
  208. <version>${maven-enforcer-plugin.version}</version>
  209. <executions>
  210. <execution>
  211. <id>enforce-maven</id>
  212. <goals>
  213. <goal>enforce</goal>
  214. </goals>
  215. <configuration>
  216. <rules>
  217. <requireMavenVersion>
  218. <version>[3.6.0,)</version>
  219. </requireMavenVersion>
  220. </rules>
  221. </configuration>
  222. </execution>
  223. </executions>
  224. </plugin>
  225. </plugins>
  226. </build>
  227. <profiles>
  228. <profile>
  229. <id>release</id>
  230. <build>
  231. <plugins>
  232. <plugin>
  233. <artifactId>maven-javadoc-plugin</artifactId>
  234. <executions>
  235. <execution>
  236. <phase>package</phase>
  237. <goals>
  238. <goal>jar</goal>
  239. </goals>
  240. </execution>
  241. </executions>
  242. <configuration>
  243. <charset>${project.build.sourceEncoding}</charset>
  244. <encoding>${project.build.sourceEncoding}</encoding>
  245. <failOnError>false</failOnError>
  246. </configuration>
  247. </plugin>
  248. <plugin>
  249. <groupId>org.sonatype.plugins</groupId>
  250. <artifactId>nexus-staging-maven-plugin</artifactId>
  251. <version>${nexus-staging-maven-plugin.version}</version>
  252. <extensions>true</extensions>
  253. <configuration>
  254. <serverId>oss_seata</serverId>
  255. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  256. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  257. </configuration>
  258. </plugin>
  259. <plugin>
  260. <artifactId>maven-gpg-plugin</artifactId>
  261. <version>${maven-gpg-plugin.version}</version>
  262. <executions>
  263. <execution>
  264. <id>sign-artifacts</id>
  265. <phase>verify</phase>
  266. <goals>
  267. <goal>sign</goal>
  268. </goals>
  269. <configuration>
  270. <keyname>${gpg.keyname}</keyname>
  271. <gpgArguments>
  272. <arg>${gpg.arg1}</arg>
  273. <arg>${gpg.arg2}</arg>
  274. </gpgArguments>
  275. </configuration>
  276. </execution>
  277. </executions>
  278. </plugin>
  279. </plugins>
  280. </build>
  281. <distributionManagement>
  282. <repository>
  283. <id>oss_seata</id>
  284. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  285. </repository>
  286. <snapshotRepository>
  287. <id>oss_seata</id>
  288. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  289. </snapshotRepository>
  290. </distributionManagement>
  291. <properties>
  292. <image.tags>${project.version},latest</image.tags>
  293. </properties>
  294. </profile>
  295. <profile>
  296. <id>release-by-github-actions</id>
  297. <properties>
  298. <gpg.arg1>--pinentry-mode</gpg.arg1>
  299. <gpg.arg2>loopback</gpg.arg2>
  300. </properties>
  301. </profile>
  302. <profile>
  303. <id>args-for-test-by-jdk17</id>
  304. <activation>
  305. <jdk>17</jdk>
  306. </activation>
  307. <properties>
  308. <maven.surefire.argLine>--add-opens java.base/java.lang=ALL-UNNAMED
  309. --add-opens java.base/java.net=ALL-UNNAMED
  310. --add-opens java.base/java.math=ALL-UNNAMED
  311. --add-opens java.base/java.text=ALL-UNNAMED
  312. --add-opens java.base/java.util=ALL-UNNAMED
  313. --add-opens java.base/java.util.regex=ALL-UNNAMED
  314. --add-opens java.base/java.util.concurrent=ALL-UNNAMED
  315. --add-opens java.sql/java.sql=ALL-UNNAMED
  316. --add-opens java.sql.rowset/javax.sql.rowset.serial=ALL-UNNAMED
  317. --illegal-access=permit
  318. -Dillegal-access=permit</maven.surefire.argLine>
  319. <os.detected.arch>x86_64</os.detected.arch>
  320. <os.detected.classifier>windows-x86_64</os.detected.classifier>
  321. <os.detected.name>windows</os.detected.name>
  322. </properties>
  323. </profile>
  324. </profiles>
  325. </project>