pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.usky</groupId>
  7. <artifactId>uskycloud</artifactId>
  8. <version>0.0.1</version>
  9. <!-- <parent>-->
  10. <!-- <groupId>org.springframework.boot</groupId>-->
  11. <!-- <artifactId>spring-boot-starter-parent</artifactId>-->
  12. <!-- <version>2.1.3.RELEASE</version>-->
  13. <!-- <relativePath/>-->
  14. <!-- </parent>-->
  15. <description>微服务系统</description>
  16. <repositories>
  17. <repository>
  18. <id>aliyun</id>
  19. <name>aliyun Repository</name>
  20. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  21. <snapshots>
  22. <enabled>false</enabled>
  23. </snapshots>
  24. </repository>
  25. </repositories>
  26. <properties>
  27. <usky.version>0.0.1</usky.version>
  28. <ruoyi.version>0.0.1</ruoyi.version>
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  31. <java.version>1.8</java.version>
  32. <spring-boot.version>2.6.6</spring-boot.version>
  33. <spring-cloud.version>2021.0.1</spring-cloud.version>
  34. <spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
  35. <alibaba.nacos.version>2.0.4</alibaba.nacos.version>
  36. <spring-boot-admin.version>2.6.6</spring-boot-admin.version>
  37. <spring-boot.mybatis>2.2.2</spring-boot.mybatis>
  38. <swagger.fox.version>3.0.0</swagger.fox.version>
  39. <swagger.core.version>1.6.2</swagger.core.version>
  40. <tobato.version>1.27.2</tobato.version>
  41. <kaptcha.version>2.3.2</kaptcha.version>
  42. <pagehelper.boot.version>1.4.1</pagehelper.boot.version>
  43. <druid.version>1.2.8</druid.version>
  44. <dynamic-ds.version>3.5.0</dynamic-ds.version>
  45. <commons.io.version>2.11.0</commons.io.version>
  46. <commons.fileupload.version>1.4</commons.fileupload.version>
  47. <velocity.version>2.3</velocity.version>
  48. <fastjson.version>1.2.80</fastjson.version>
  49. <jjwt.version>0.9.1</jjwt.version>
  50. <minio.version>8.2.2</minio.version>
  51. <poi.version>4.1.2</poi.version>
  52. <commons-collections.version>3.2.2</commons-collections.version>
  53. <transmittable-thread-local.version>2.12.2</transmittable-thread-local.version>
  54. <mybatis-plus-boot-starter.version>3.3.0</mybatis-plus-boot-starter.version>
  55. <orika-core.version>1.5.4</orika-core.version>
  56. <!-- <commons-lang3.version>3.11</commons-lang3.version>-->
  57. <commons-beanutils.version>1.9.4</commons-beanutils.version>
  58. <guava.version>29.0-jre</guava.version>
  59. </properties>
  60. <!-- 依赖声明 -->
  61. <dependencyManagement>
  62. <dependencies>
  63. <!-- SpringCloud 微服务 -->
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-dependencies</artifactId>
  67. <version>${spring-cloud.version}</version>
  68. <type>pom</type>
  69. <scope>import</scope>
  70. </dependency>
  71. <!-- SpringCloud Alibaba 微服务 -->
  72. <dependency>
  73. <groupId>com.alibaba.cloud</groupId>
  74. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  75. <version>${spring-cloud-alibaba.version}</version>
  76. <type>pom</type>
  77. <scope>import</scope>
  78. </dependency>
  79. <!-- Alibaba Nacos 配置 -->
  80. <dependency>
  81. <groupId>com.alibaba.nacos</groupId>
  82. <artifactId>nacos-client</artifactId>
  83. <version>${alibaba.nacos.version}</version>
  84. </dependency>
  85. <!-- SpringBoot 依赖配置 -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-dependencies</artifactId>
  89. <version>${spring-boot.version}</version>
  90. <type>pom</type>
  91. <scope>import</scope>
  92. </dependency>
  93. <!-- SpringBoot 监控客户端 -->
  94. <dependency>
  95. <groupId>de.codecentric</groupId>
  96. <artifactId>spring-boot-admin-starter-client</artifactId>
  97. <version>${spring-boot-admin.version}</version>
  98. </dependency>
  99. <!-- FastDFS 分布式文件系统 -->
  100. <dependency>
  101. <groupId>com.github.tobato</groupId>
  102. <artifactId>fastdfs-client</artifactId>
  103. <version>${tobato.version}</version>
  104. </dependency>
  105. <!-- Mybatis 依赖配置 -->
  106. <dependency>
  107. <groupId>org.mybatis.spring.boot</groupId>
  108. <artifactId>mybatis-spring-boot-starter</artifactId>
  109. <version>${spring-boot.mybatis}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.baomidou</groupId>
  113. <artifactId>mybatis-plus-boot-starter</artifactId>
  114. <version>${mybatis-plus-boot-starter.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.baomidou</groupId>
  118. <artifactId>mybatis-plus-generator</artifactId>
  119. <version>${mybatis-plus-boot-starter.version}</version>
  120. </dependency>
  121. <!-- 代码生成使用模板 -->
  122. <dependency>
  123. <groupId>org.apache.velocity</groupId>
  124. <artifactId>velocity-engine-core</artifactId>
  125. <version>${velocity.version}</version>
  126. </dependency>
  127. <!-- Swagger 依赖配置 -->
  128. <dependency>
  129. <groupId>io.swagger</groupId>
  130. <artifactId>swagger-models</artifactId>
  131. <version>${swagger.core.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>io.swagger</groupId>
  135. <artifactId>swagger-annotations</artifactId>
  136. <version>${swagger.core.version}</version>
  137. </dependency>
  138. <!-- 验证码 -->
  139. <dependency>
  140. <groupId>com.github.penggle</groupId>
  141. <artifactId>kaptcha</artifactId>
  142. <version>${kaptcha.version}</version>
  143. </dependency>
  144. <!-- pagehelper 分页插件 -->
  145. <dependency>
  146. <groupId>com.github.pagehelper</groupId>
  147. <artifactId>pagehelper-spring-boot-starter</artifactId>
  148. <version>${pagehelper.boot.version}</version>
  149. </dependency>
  150. <!-- io常用工具类 -->
  151. <dependency>
  152. <groupId>commons-io</groupId>
  153. <artifactId>commons-io</artifactId>
  154. <version>${commons.io.version}</version>
  155. </dependency>
  156. <!-- excel工具 -->
  157. <dependency>
  158. <groupId>org.apache.poi</groupId>
  159. <artifactId>poi-ooxml</artifactId>
  160. <version>${poi.version}</version>
  161. </dependency>
  162. <!-- 文件上传工具类 -->
  163. <dependency>
  164. <groupId>commons-fileupload</groupId>
  165. <artifactId>commons-fileupload</artifactId>
  166. <version>${commons.fileupload.version}</version>
  167. </dependency>
  168. <!-- Collection 增强Java集合框架 -->
  169. <dependency>
  170. <groupId>commons-collections</groupId>
  171. <artifactId>commons-collections</artifactId>
  172. <version>${commons-collections.version}</version>
  173. </dependency>
  174. <!-- JSON 解析器和生成器 -->
  175. <dependency>
  176. <groupId>com.alibaba</groupId>
  177. <artifactId>fastjson</artifactId>
  178. <version>${fastjson.version}</version>
  179. </dependency>
  180. <!-- JWT -->
  181. <dependency>
  182. <groupId>io.jsonwebtoken</groupId>
  183. <artifactId>jjwt</artifactId>
  184. <version>${jjwt.version}</version>
  185. </dependency>
  186. <!-- 线程传递值 -->
  187. <dependency>
  188. <groupId>com.alibaba</groupId>
  189. <artifactId>transmittable-thread-local</artifactId>
  190. <version>${transmittable-thread-local.version}</version>
  191. </dependency>
  192. <!-- 核心模块 -->
  193. <dependency>
  194. <groupId>com.usky</groupId>
  195. <artifactId>ruoyi-common-core</artifactId>
  196. <version>${ruoyi.version}</version>
  197. </dependency>
  198. <!-- 接口模块 -->
  199. <dependency>
  200. <groupId>com.usky</groupId>
  201. <artifactId>ruoyi-common-swagger</artifactId>
  202. <version>${ruoyi.version}</version>
  203. </dependency>
  204. <!-- 安全模块 -->
  205. <dependency>
  206. <groupId>com.usky</groupId>
  207. <artifactId>ruoyi-common-security</artifactId>
  208. <version>${ruoyi.version}</version>
  209. </dependency>
  210. <!-- 权限范围 -->
  211. <dependency>
  212. <groupId>com.usky</groupId>
  213. <artifactId>ruoyi-common-datascope</artifactId>
  214. <version>${ruoyi.version}</version>
  215. </dependency>
  216. <!-- 多数据源 -->
  217. <dependency>
  218. <groupId>com.usky</groupId>
  219. <artifactId>ruoyi-common-datasource</artifactId>
  220. <version>${ruoyi.version}</version>
  221. </dependency>
  222. <!-- 日志记录 -->
  223. <dependency>
  224. <groupId>com.usky</groupId>
  225. <artifactId>ruoyi-common-log</artifactId>
  226. <version>${ruoyi.version}</version>
  227. </dependency>
  228. <!-- 缓存服务 -->
  229. <dependency>
  230. <groupId>com.usky</groupId>
  231. <artifactId>ruoyi-common-redis</artifactId>
  232. <version>${ruoyi.version}</version>
  233. </dependency>
  234. <!-- 系统接口 -->
  235. <dependency>
  236. <groupId>com.usky</groupId>
  237. <artifactId>service-system-api</artifactId>
  238. <version>${ruoyi.version}</version>
  239. </dependency>
  240. <!-- cloud启动器 -->
  241. <dependency>
  242. <groupId>com.usky</groupId>
  243. <artifactId>common-cloud-starter</artifactId>
  244. <version>${ruoyi.version}</version>
  245. </dependency>
  246. <!-- been转换工具 -->
  247. <dependency>
  248. <groupId>ma.glasnost.orika</groupId>
  249. <artifactId>orika-core</artifactId>
  250. <version>${orika-core.version}</version>
  251. </dependency>
  252. <!-- io常用工具类 -->
  253. <!-- <dependency>-->
  254. <!-- <groupId>org.apache.commons</groupId>-->
  255. <!-- <artifactId>commons-lang3</artifactId>-->
  256. <!-- <version>${commons-lang3.version}</version>-->
  257. <!-- </dependency>-->
  258. <dependency>
  259. <groupId>com.usky</groupId>
  260. <artifactId>usky-common-core</artifactId>
  261. <version>${usky.version}</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>com.usky</groupId>
  265. <artifactId>usky-common-mvc</artifactId>
  266. <version>${usky.version}</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.usky</groupId>
  270. <artifactId>usky-common-spring</artifactId>
  271. <version>${usky.version}</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>commons-beanutils</groupId>
  275. <artifactId>commons-beanutils</artifactId>
  276. <version>${commons-beanutils.version}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.google.guava</groupId>
  280. <artifactId>guava</artifactId>
  281. <version>${guava.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>com.baomidou</groupId>
  285. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  286. <version>${dynamic-ds.version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>com.alibaba</groupId>
  290. <artifactId>druid-spring-boot-starter</artifactId>
  291. <version>${druid.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.usky</groupId>
  295. <artifactId>service-system-api</artifactId>
  296. <version>${usky.version}</version>
  297. </dependency>
  298. </dependencies>
  299. </dependencyManagement>
  300. <modules>
  301. <module>base-components</module>
  302. <module>base-common</module>
  303. <module>base-modules</module>
  304. <module>usky-common</module>
  305. </modules>
  306. <packaging>pom</packaging>
  307. <dependencies>
  308. <!-- bootstrap 启动器 -->
  309. <dependency>
  310. <groupId>org.springframework.cloud</groupId>
  311. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  312. </dependency>
  313. </dependencies>
  314. <build>
  315. <plugins>
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-compiler-plugin</artifactId>
  319. <configuration>
  320. <source>${java.version}</source>
  321. <target>${java.version}</target>
  322. <encoding>${project.build.sourceEncoding}</encoding>
  323. </configuration>
  324. </plugin>
  325. <!-- <plugin>-->
  326. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  327. <!-- <artifactId>maven-resources-plugin</artifactId>-->
  328. <!-- <configuration>-->
  329. <!-- <delimiters>-->
  330. <!-- <delimiter>@</delimiter>-->
  331. <!-- </delimiters>-->
  332. <!-- <useDefaultDelimiters>false</useDefaultDelimiters>-->
  333. <!-- </configuration>-->
  334. <!-- </plugin>-->
  335. </plugins>
  336. <!-- <resources>-->
  337. <!-- <resource>-->
  338. <!-- <directory>src/main/resources</directory>-->
  339. <!-- <filtering>true</filtering>-->
  340. <!-- </resource>-->
  341. <!-- </resources>-->
  342. </build>
  343. <!-- <profiles>-->
  344. <!-- <profile>-->
  345. <!-- <id>dev</id>-->
  346. <!-- <activation>-->
  347. <!-- &lt;!&ndash; 是否默认 true表示默认&ndash;&gt;-->
  348. <!-- <activeByDefault>true</activeByDefault>-->
  349. <!-- </activation>-->
  350. <!-- <properties>-->
  351. <!-- &lt;!&ndash; 配置文件名字后缀 &ndash;&gt;-->
  352. <!-- <profiles.active>dev</profiles.active>-->
  353. <!-- </properties>-->
  354. <!-- </profile>-->
  355. <!-- &lt;!&ndash; 生产环境 &ndash;&gt;-->
  356. <!-- <profile>-->
  357. <!-- <id>prod</id>-->
  358. <!-- <properties>-->
  359. <!-- <profiles.active>prod</profiles.active>-->
  360. <!-- </properties>-->
  361. <!-- </profile>-->
  362. <!-- </profiles>-->
  363. </project>