pom.xml 7.5 KB

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