pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.example</groupId>
  6. <artifactId>hxds-dr</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>hxds-dr</name>
  9. <description>hxds-dr</description>
  10. <parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>hxds</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. </parent>
  15. <properties>
  16. <java.version>15</java.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <spring-boot.version>2.3.7.RELEASE</spring-boot.version>
  20. <spring-cloud-alibaba.version>2.2.2.RELEASE</spring-cloud-alibaba.version>
  21. <codingapi.version>5.0.2.RELEASE</codingapi.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-tomcat</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-jetty</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba.cloud</groupId>
  40. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba.cloud</groupId>
  44. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.mybatis.spring.boot</groupId>
  48. <artifactId>mybatis-spring-boot-starter</artifactId>
  49. <version>2.2.0</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-openfeign</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. <scope>runtime</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.alibaba</groupId>
  62. <artifactId>druid-spring-boot-starter</artifactId>
  63. <version>1.1.13</version>
  64. </dependency>
  65. <!--SpringDoc-->
  66. <dependency>
  67. <groupId>org.springdoc</groupId>
  68. <artifactId>springdoc-openapi-spring-boot-2-webmvc</artifactId>
  69. <version>3.1.5</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-test</artifactId>
  74. <scope>test</scope>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>org.junit.vintage</groupId>
  78. <artifactId>junit-vintage-engine</artifactId>
  79. </exclusion>
  80. </exclusions>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-validation</artifactId>
  85. </dependency>
  86. <!-- txlcn 分布式事务 -->
  87. <dependency>
  88. <groupId>com.codingapi.txlcn</groupId>
  89. <artifactId>txlcn-tc</artifactId>
  90. <version>${codingapi.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.codingapi.txlcn</groupId>
  94. <artifactId>txlcn-txmsg-netty</artifactId>
  95. <version>${codingapi.version}</version>
  96. </dependency>
  97. <!--依赖公共模块-->
  98. <dependency>
  99. <groupId>com.example</groupId>
  100. <artifactId>common</artifactId>
  101. <version>0.0.1-SNAPSHOT</version>
  102. </dependency>
  103. </dependencies>
  104. <dependencyManagement>
  105. <dependencies>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-dependencies</artifactId>
  109. <version>${spring-boot.version}</version>
  110. <type>pom</type>
  111. <scope>import</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.alibaba.cloud</groupId>
  115. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  116. <version>${spring-cloud-alibaba.version}</version>
  117. <type>pom</type>
  118. <scope>import</scope>
  119. </dependency>
  120. </dependencies>
  121. </dependencyManagement>
  122. <build>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-compiler-plugin</artifactId>
  127. <version>3.8.1</version>
  128. <configuration>
  129. <source>15</source>
  130. <target>15</target>
  131. <encoding>UTF-8</encoding>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-maven-plugin</artifactId>
  137. <version>2.3.7.RELEASE</version>
  138. <configuration>
  139. <mainClass>com.example.hxds.dr.HxdsDrApplication</mainClass>
  140. </configuration>
  141. <executions>
  142. <execution>
  143. <id>repackage</id>
  144. <goals>
  145. <goal>repackage</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>