pom.xml 8.0 KB

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