pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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.system</groupId>
  13. <artifactId>microarch_bg_system</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>microarch_bg_system</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>2.0-SNAPSHOT</version>
  26. </dependency>
  27. <!--common 安全包-->
  28. <dependency>
  29. <groupId>com.gct.common.security</groupId>
  30. <artifactId>common-security</artifactId>
  31. <version>2.0-SNAPSHOT</version>
  32. </dependency>
  33. <!--nocas 注册中心依赖-->
  34. <dependency>
  35. <groupId>com.alibaba.cloud</groupId>
  36. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  37. </dependency>
  38. <!--sentinel依赖-->
  39. <!-- <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  42. </dependency>
  43. &lt;!&ndash;actuator 流量收集 使用sentinel的前提&ndash;&gt;
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-actuator</artifactId>
  47. </dependency>-->
  48. <!--web 依赖-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-web</artifactId>
  52. </dependency>
  53. <!--lombok-->
  54. <dependency>
  55. <groupId>org.projectlombok</groupId>
  56. <artifactId>lombok</artifactId>
  57. </dependency>
  58. <!--mybatis-plus-->
  59. <!--<dependency>-->
  60. <!--<groupId>com.baomidou</groupId>-->
  61. <!--<artifactId>mybatis-plus-boot-starter</artifactId>-->
  62. <!--<version>3.3.1</version>-->
  63. <!--</dependency>-->
  64. <!--mybatis-plus 关联查询工具-->
  65. <!-- <dependency>
  66. <groupId>com.github.dreamyoung</groupId>
  67. <artifactId>mprelation</artifactId>
  68. <version>0.0.3.1-RELEASE</version>
  69. </dependency>-->
  70. <!--这个必须引用 因为使用mybatis-plus localdatatime问题-->
  71. <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-typehandlers-jsr310 -->
  72. <!--<dependency>-->
  73. <!--<groupId>org.mybatis</groupId>-->
  74. <!--<artifactId>mybatis-typehandlers-jsr310</artifactId>-->
  75. <!--<version>1.0.2</version>-->
  76. <!--</dependency>-->
  77. <!--代码生成模式插件 3.0.3以后需要手动设置依赖-->
  78. <!--<dependency>-->
  79. <!--<groupId>com.baomidou</groupId>-->
  80. <!--<artifactId>mybatis-plus-generator</artifactId>-->
  81. <!--<version>3.3.1.tmp</version>-->
  82. <!--</dependency>-->
  83. <!--代码生成模板-->
  84. <!--<dependency>-->
  85. <!--<groupId>org.apache.velocity</groupId>-->
  86. <!--<artifactId>velocity-engine-core</artifactId>-->
  87. <!--<version>2.2</version>-->
  88. <!--</dependency>-->
  89. <!--mybatis 依赖 mybatis-plus内置mybatis 这里不用引用-->
  90. <!-- <dependency>
  91. <groupId>org.mybatis.spring.boot</groupId>
  92. <artifactId>mybatis-spring-boot-starter</artifactId>
  93. <version>2.1.1</version>
  94. </dependency>-->
  95. <!-- 与数据库操作相关依赖 -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-jdbc</artifactId>
  99. </dependency>
  100. <!-- postgresql -->
  101. <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
  102. <dependency>
  103. <groupId>org.postgresql</groupId>
  104. <artifactId>postgresql</artifactId>
  105. <version>42.2.18</version>
  106. </dependency>
  107. <!--swagger-->
  108. <!--<dependency>-->
  109. <!--<groupId>com.spring4all</groupId>-->
  110. <!--<artifactId>swagger-spring-boot-starter</artifactId>-->
  111. <!--<version>1.9.1.RELEASE</version>-->
  112. <!--</dependency>-->
  113. <!--文件上传相关-->
  114. <dependency>
  115. <groupId>commons-io</groupId>
  116. <artifactId>commons-io</artifactId>
  117. <version>2.8.0</version>
  118. </dependency>
  119. <!-- spring security -->
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-starter-security</artifactId>
  123. </dependency>
  124. <!-- jwt -->
  125. <!--<dependency>-->
  126. <!--<groupId>io.jsonwebtoken</groupId>-->
  127. <!--<artifactId>jjwt</artifactId>-->
  128. <!--<version>0.9.1</version>-->
  129. <!--</dependency>-->
  130. <!-- spring aop -->
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-starter-aop</artifactId>
  134. </dependency>
  135. <!-- commons-beanutils -->
  136. <dependency>
  137. <groupId>commons-beanutils</groupId>
  138. <artifactId>commons-beanutils</artifactId>
  139. <version>1.9.3</version>
  140. </dependency>
  141. <!-- poi -->
  142. <dependency>
  143. <groupId>org.apache.poi</groupId>
  144. <artifactId>poi-ooxml</artifactId>
  145. <version>4.0.1</version>
  146. </dependency>
  147. <!--junit测试-->
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-test</artifactId>
  151. <scope>test</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-starter-validation</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.alibaba.cloud</groupId>
  159. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  160. </dependency>
  161. <!-- <dependency>
  162. <groupId>com.alibaba.csp</groupId>
  163. <artifactId>sentinel-datasource-nacos</artifactId>
  164. </dependency>-->
  165. <dependency>
  166. <groupId>com.alibaba.cloud</groupId>
  167. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  168. </dependency>
  169. </dependencies>
  170. <dependencyManagement>
  171. <dependencies>
  172. <!-- Spring Cloud Hoxton -->
  173. <dependency>
  174. <groupId>org.springframework.cloud</groupId>
  175. <artifactId>spring-cloud-dependencies</artifactId>
  176. <version>Hoxton.SR3</version>
  177. <type>pom</type>
  178. <scope>import</scope>
  179. </dependency>
  180. <!-- Spring Cloud Alibaba -->
  181. <dependency>
  182. <groupId>com.alibaba.cloud</groupId>
  183. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  184. <version>2.2.1.RELEASE</version>
  185. <type>pom</type>
  186. <scope>import</scope>
  187. </dependency>
  188. </dependencies>
  189. </dependencyManagement>
  190. <build>
  191. <resources>
  192. <resource>
  193. <directory>src/main/java</directory>
  194. <excludes>
  195. <exclude>**/*.java</exclude>
  196. </excludes>
  197. </resource>
  198. <resource>
  199. <directory>src/main/resources</directory>
  200. <includes>
  201. <include>**/*.*</include>
  202. </includes>
  203. </resource>
  204. </resources>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.springframework.boot</groupId>
  208. <artifactId>spring-boot-maven-plugin</artifactId>
  209. </plugin>
  210. <!-- 打包过程忽略Junit测试 -->
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-surefire-plugin</artifactId>
  214. <configuration>
  215. <skip>true</skip>
  216. </configuration>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. </project>