pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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>com.ruoyi</groupId>
  22. <artifactId>ruoyi-visual</artifactId>
  23. <version>0.12.0</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.5.1</seata.version>
  30. <jcommander.version>1.72</jcommander.version>
  31. <logstash-logback-encoder.version>6.5</logstash-logback-encoder.version>
  32. <kafka-appender.version>0.2.0-RC2</kafka-appender.version>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>io.seata</groupId>
  38. <artifactId>seata-bom</artifactId>
  39. <version>${seata.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. </dependencies>
  44. </dependencyManagement>
  45. <dependencies>
  46. <!-- springboot web -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-web</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>io.seata</groupId>
  53. <artifactId>seata-spring-autoconfigure-server</artifactId>
  54. <version>${seata.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.seata</groupId>
  58. <artifactId>seata-core</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.seata</groupId>
  62. <artifactId>seata-config-all</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>io.seata</groupId>
  66. <artifactId>seata-discovery-all</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>io.seata</groupId>
  70. <artifactId>seata-serializer-all</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.seata</groupId>
  74. <artifactId>seata-compressor-all</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.seata</groupId>
  78. <artifactId>seata-metrics-all</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>io.seata</groupId>
  82. <artifactId>seata-console</artifactId>
  83. <version>${seata.version}</version>
  84. </dependency>
  85. <!-- for database -->
  86. <dependency>
  87. <groupId>com.alibaba</groupId>
  88. <artifactId>druid</artifactId>
  89. <version>${druid.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.commons</groupId>
  93. <artifactId>commons-dbcp2</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.zaxxer</groupId>
  97. <artifactId>HikariCP</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.h2database</groupId>
  101. <artifactId>h2</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>mysql</groupId>
  105. <artifactId>mysql-connector-java</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.postgresql</groupId>
  109. <artifactId>postgresql</artifactId>
  110. </dependency>
  111. <!-- Copyright restrictions, do not reference this dependency.
  112. You can add this dependency to the '/seata/lib' directory of the seata-server when necessary.
  113. <dependency>
  114. <groupId>com.oracle.ojdbc</groupId>
  115. <artifactId>ojdbc8</artifactId>
  116. <version>${ojdbc.version}</version>
  117. </dependency>-->
  118. <dependency>
  119. <groupId>com.beust</groupId>
  120. <artifactId>jcommander</artifactId>
  121. <version>${jcommander.version}</version>
  122. </dependency>
  123. <!-- only for event bus -->
  124. <dependency>
  125. <groupId>com.google.guava</groupId>
  126. <artifactId>guava</artifactId>
  127. </dependency>
  128. <!-- jedis -->
  129. <dependency>
  130. <groupId>redis.clients</groupId>
  131. <artifactId>jedis</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>fastjson</artifactId>
  136. </dependency>
  137. <!-- logback -->
  138. <dependency>
  139. <groupId>ch.qos.logback</groupId>
  140. <artifactId>logback-classic</artifactId>
  141. </dependency>
  142. <!-- logback appenders -->
  143. <dependency>
  144. <groupId>net.logstash.logback</groupId>
  145. <artifactId>logstash-logback-encoder</artifactId>
  146. <version>${logstash-logback-encoder.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.github.danielwegener</groupId>
  150. <artifactId>logback-kafka-appender</artifactId>
  151. <version>${kafka-appender.version}</version>
  152. </dependency>
  153. </dependencies>
  154. <build>
  155. <finalName>${project.artifactId}</finalName>
  156. <plugins>
  157. <plugin>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-maven-plugin</artifactId>
  160. <version>${spring-boot.version}</version>
  161. <executions>
  162. <execution>
  163. <goals>
  164. <goal>repackage</goal>
  165. </goals>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. <plugin>
  170. <groupId>com.spotify</groupId>
  171. <artifactId>docker-maven-plugin</artifactId>
  172. </plugin>
  173. </plugins>
  174. </build>
  175. </project>