pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.0.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <groupId>com.gct.subsample</groupId>
  13. <artifactId>microarch_bg_centralbase</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>microarch_bg_centralbase</name>
  16. <description>基础数据服务</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <!-- common核心包依赖-->
  22. <dependency>
  23. <groupId>com.gct.common.core</groupId>
  24. <artifactId>common-core</artifactId>
  25. <version>3.0-SNAPSHOT</version>
  26. </dependency>
  27. <!--common工具包依赖-->
  28. <dependency>
  29. <groupId>com.gct.common.util</groupId>
  30. <artifactId>common-util</artifactId>
  31. <version>2.0-SNAPSHOT</version>
  32. </dependency>
  33. <!--common 安全包-->
  34. <dependency>
  35. <groupId>com.gct.common.security</groupId>
  36. <artifactId>common-security</artifactId>
  37. <version>2.0-SNAPSHOT</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-quartz</artifactId>
  42. </dependency>
  43. <!-- <dependency>
  44. <groupId>org.apache.shardingsphere</groupId>
  45. <artifactId>sharding-jdbc-spring-boot-starter</artifactId>
  46. <version>4.1.0</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.shardingsphere</groupId>
  50. <artifactId>sharding-jdbc-spring-namespace</artifactId>
  51. <version>4.1.0</version>
  52. </dependency>-->
  53. <!--nocas 注册中心依赖-->
  54. <dependency>
  55. <groupId>com.alibaba.cloud</groupId>
  56. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  57. </dependency>
  58. <!--sentinel依赖-->
  59. <!-- <dependency>
  60. <groupId>com.alibaba.cloud</groupId>
  61. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  62. </dependency>
  63. &lt;!&ndash;actuator 流量收集 使用sentinel的前提&ndash;&gt;
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-actuator</artifactId>
  67. </dependency>-->
  68. <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-typehandlers-jsr310 -->
  69. <!--web 依赖-->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-web</artifactId>
  73. </dependency>
  74. <!--lombok-->
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <optional>true</optional>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.cloud</groupId>
  82. <artifactId>spring-cloud-starter-openfeign</artifactId>
  83. </dependency>
  84. <!-- 与数据库操作相关依赖 -->
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-jdbc</artifactId>
  88. </dependency>
  89. <!-- postgresql -->
  90. <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
  91. <dependency>
  92. <groupId>org.postgresql</groupId>
  93. <artifactId>postgresql</artifactId>
  94. <version>42.2.18</version>
  95. </dependency>
  96. <!--文件上传相关-->
  97. <dependency>
  98. <groupId>commons-io</groupId>
  99. <artifactId>commons-io</artifactId>
  100. <version>2.8.0</version>
  101. </dependency>
  102. <!-- spring security -->
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-security</artifactId>
  106. </dependency>
  107. <!--junit测试-->
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-test</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-validation</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.baomidou</groupId>
  119. <artifactId>mybatis-plus-annotation</artifactId>
  120. <version>3.3.1</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework.boot</groupId>
  124. <artifactId>spring-boot-test</artifactId>
  125. <version>2.3.0.RELEASE</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>junit</groupId>
  129. <artifactId>junit</artifactId>
  130. <version>4.13</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework</groupId>
  134. <artifactId>spring-test</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.alibaba.cloud</groupId>
  138. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.alibaba</groupId>
  142. <artifactId>easyexcel</artifactId>
  143. <version>2.2.8</version>
  144. </dependency>
  145. <!-- <dependency>
  146. <groupId>com.alibaba.csp</groupId>
  147. <artifactId>sentinel-datasource-nacos</artifactId>
  148. </dependency>-->
  149. <!--<dependency>
  150. <groupId>org.apache.shardingsphere</groupId>
  151. <artifactId>sharding-jdbc-spring-boot-starter</artifactId>
  152. <version>4.1.0</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.shardingsphere</groupId>
  156. <artifactId>sharding-jdbc-spring-namespace</artifactId>
  157. <version>4.1.0</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.alibaba.cloud</groupId>
  161. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  162. </dependency>-->
  163. <dependency>
  164. <groupId>org.junit.jupiter</groupId>
  165. <artifactId>junit-jupiter-api</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.junit.jupiter</groupId>
  169. <artifactId>junit-jupiter-api</artifactId>
  170. </dependency>
  171. </dependencies>
  172. <dependencyManagement>
  173. <dependencies>
  174. <!-- Spring Cloud Hoxton -->
  175. <dependency>
  176. <groupId>org.springframework.cloud</groupId>
  177. <artifactId>spring-cloud-dependencies</artifactId>
  178. <version>Hoxton.SR3</version>
  179. <type>pom</type>
  180. <scope>import</scope>
  181. </dependency>
  182. <!-- Spring Cloud Alibaba -->
  183. <dependency>
  184. <groupId>com.alibaba.cloud</groupId>
  185. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  186. <version>2.2.1.RELEASE</version>
  187. <type>pom</type>
  188. <scope>import</scope>
  189. </dependency>
  190. </dependencies>
  191. </dependencyManagement>
  192. <build>
  193. <resources>
  194. <resource>
  195. <directory>src/main/java</directory>
  196. <excludes>
  197. <exclude>**/*.java</exclude>
  198. </excludes>
  199. </resource>
  200. <resource>
  201. <directory>src/main/resources</directory>
  202. <includes>
  203. <include>**/*.*</include>
  204. </includes>
  205. </resource>
  206. </resources>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.springframework.boot</groupId>
  210. <artifactId>spring-boot-maven-plugin</artifactId>
  211. </plugin>
  212. <!-- 打包过程忽略Junit测试 -->
  213. <plugin>
  214. <groupId>org.apache.maven.plugins</groupId>
  215. <artifactId>maven-surefire-plugin</artifactId>
  216. <configuration>
  217. <skip>true</skip>
  218. </configuration>
  219. </plugin>
  220. </plugins>
  221. </build>
  222. </project>