seata-build-1.7.1.pom 11 KB

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