seata-build-1.6.1.pom 12 KB

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