pom.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 1999-2019 Seata.io Group.
  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. ~ http://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="http://maven.apache.org/POM/4.0.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <parent>
  21. <groupId>org.dromara</groupId>
  22. <artifactId>ruoyi-visual</artifactId>
  23. <version>${revision}</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <artifactId>ruoyi-seata-server</artifactId>
  27. <packaging>jar</packaging>
  28. <properties>
  29. <seata.version>1.7.1</seata.version>
  30. <jcommander.version>1.82</jcommander.version>
  31. <druid.version>1.2.12</druid.version>
  32. <spring-boot.version>2.7.18</spring-boot.version>
  33. <native-build-tools-plugin.version>0.9.20</native-build-tools-plugin.version>
  34. <logstash-logback-encoder.version>7.2</logstash-logback-encoder.version>
  35. </properties>
  36. <dependencyManagement>
  37. <dependencies>
  38. <!-- SpringBoot 依赖配置 -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-dependencies</artifactId>
  42. <version>${spring-boot.version}</version>
  43. <type>pom</type>
  44. <scope>import</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>io.seata</groupId>
  48. <artifactId>seata-bom</artifactId>
  49. <version>${seata.version}</version>
  50. <type>pom</type>
  51. <scope>import</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>io.seata</groupId>
  55. <artifactId>seata-dependencies</artifactId>
  56. <version>${seata.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. </dependencies>
  61. </dependencyManagement>
  62. <dependencies>
  63. <!-- SpringBoot Web容器 -->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-web</artifactId>
  67. <exclusions>
  68. <exclusion>
  69. <artifactId>spring-boot-starter-tomcat</artifactId>
  70. <groupId>org.springframework.boot</groupId>
  71. </exclusion>
  72. <exclusion>
  73. <artifactId>*</artifactId>
  74. <groupId>org.apache.logging.log4j</groupId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <!-- web 容器使用 undertow 性能更强 -->
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-undertow</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.seata</groupId>
  85. <artifactId>seata-spring-autoconfigure-server</artifactId>
  86. <version>${seata.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.seata</groupId>
  90. <artifactId>seata-core</artifactId>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.seata</groupId>
  94. <artifactId>seata-config-all</artifactId>
  95. <exclusions>
  96. <exclusion>
  97. <artifactId>log4j</artifactId>
  98. <groupId>log4j</groupId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>io.seata</groupId>
  104. <artifactId>seata-discovery-all</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>io.seata</groupId>
  108. <artifactId>seata-serializer-all</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>io.seata</groupId>
  112. <artifactId>seata-compressor-all</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>io.seata</groupId>
  116. <artifactId>seata-metrics-all</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>io.seata</groupId>
  120. <artifactId>seata-console</artifactId>
  121. <version>${seata.version}</version>
  122. </dependency>
  123. <!-- for database -->
  124. <dependency>
  125. <groupId>com.alibaba</groupId>
  126. <artifactId>druid</artifactId>
  127. <version>${druid.version}</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.commons</groupId>
  131. <artifactId>commons-dbcp2</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.zaxxer</groupId>
  135. <artifactId>HikariCP</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.h2database</groupId>
  139. <artifactId>h2</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.mysql</groupId>
  143. <artifactId>mysql-connector-j</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.postgresql</groupId>
  147. <artifactId>postgresql</artifactId>
  148. </dependency>
  149. <!-- Copyright restrictions, do not reference this dependency.
  150. You can add this dependency to the '/seata/lib' directory of the seata-server when necessary.
  151. <dependency>
  152. <groupId>com.oracle.ojdbc</groupId>
  153. <artifactId>ojdbc8</artifactId>
  154. <version>${ojdbc.version}</version>
  155. </dependency>-->
  156. <dependency>
  157. <groupId>com.beust</groupId>
  158. <artifactId>jcommander</artifactId>
  159. <version>${jcommander.version}</version>
  160. </dependency>
  161. <!-- only for event bus -->
  162. <dependency>
  163. <groupId>com.google.guava</groupId>
  164. <artifactId>guava</artifactId>
  165. </dependency>
  166. <!-- jedis -->
  167. <dependency>
  168. <groupId>redis.clients</groupId>
  169. <artifactId>jedis</artifactId>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.alibaba</groupId>
  173. <artifactId>fastjson</artifactId>
  174. </dependency>
  175. <!-- logback -->
  176. <dependency>
  177. <groupId>ch.qos.logback</groupId>
  178. <artifactId>logback-classic</artifactId>
  179. </dependency>
  180. <dependency>
  181. <groupId>ch.qos.logback</groupId>
  182. <artifactId>logback-core</artifactId>
  183. </dependency>
  184. <!-- logback appenders -->
  185. <dependency>
  186. <groupId>net.logstash.logback</groupId>
  187. <artifactId>logstash-logback-encoder</artifactId>
  188. <version>${logstash-logback-encoder.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.codehaus.janino</groupId>
  192. <artifactId>janino</artifactId>
  193. </dependency>
  194. </dependencies>
  195. <build>
  196. <finalName>${project.artifactId}</finalName>
  197. <plugins>
  198. <plugin>
  199. <groupId>org.springframework.boot</groupId>
  200. <artifactId>spring-boot-maven-plugin</artifactId>
  201. <version>${spring-boot.version}</version>
  202. <executions>
  203. <execution>
  204. <goals>
  205. <goal>repackage</goal>
  206. </goals>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. </plugins>
  211. </build>
  212. </project>