pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>3.5.10</version>
  10. <relativePath/>
  11. </parent>
  12. <modules>
  13. <module>imwork-commons</module>
  14. <module>imwork-windows</module>
  15. <module>imwork-iaas</module>
  16. <module>imwork-assist</module>
  17. <module>imwork-exercise</module>
  18. <module>imwork-iaas/imwork-uaa-service</module>
  19. <module>imwork-upms</module>
  20. </modules>
  21. <groupId>top.imwork</groupId>
  22. <artifactId>imwork-plus</artifactId>
  23. <version>2026.1.1.2</version>
  24. <packaging>pom</packaging>
  25. <name>${project.artifactId}</name>
  26. <url>https://www.imwork.top</url>
  27. <description>spring-cloud-imwork-dependencies</description>
  28. <licenses>
  29. <license>
  30. <name>Apache License, Version 2.0</name>
  31. <url>https://www.apache.org/licenses/LICENSE-2.0</url>
  32. <comments>
  33. Copyright 2014-2015 the original author or authors.
  34. Licensed under the Apache License, Version 2.0 (the "License");
  35. you may not use this file except in compliance with the License.
  36. You may obtain a copy of the License at
  37. https://www.apache.org/licenses/LICENSE-2.0
  38. Unless required by applicable law or agreed to in writing, software
  39. distributed under the License is distributed on an "AS IS" BASIS,
  40. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  41. implied.
  42. See the License for the specific language governing permissions and
  43. limitations under the License.
  44. </comments>
  45. </license>
  46. </licenses>
  47. <!--开发者信息-->
  48. <developers>
  49. <developer>
  50. <id>imwork</id>
  51. <name>jiangxiaowei</name>
  52. <email>e-jiangxiaowei@outlook.com</email>
  53. </developer>
  54. </developers>
  55. <properties>
  56. <java.version>25</java.version>
  57. <maven.compiler.source>${java.version}</maven.compiler.source>
  58. <maven.compiler.target>${java.version}</maven.compiler.target>
  59. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  60. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  61. <!--插件版本定义区 start-->
  62. <versions-maven-plugin.version>2.21.0</versions-maven-plugin.version>
  63. <lombok.version>1.18.42</lombok.version>
  64. <!--插件版本定义区 end-->
  65. <!--依赖框架版本定义区start-->
  66. <spring-cloud.version>2025.0.1</spring-cloud.version>
  67. <spring-cloud-alibaba.version>2025.0.0.0</spring-cloud-alibaba.version>
  68. <nacos.version>3.1.1</nacos.version>
  69. <boot-admin.version>3.5.6</boot-admin.version>
  70. <mybatis.version>3.5.19</mybatis.version>
  71. <mybatis-spring.version>4.0.1</mybatis-spring.version>
  72. <mybatis-plus.version>3.5.16</mybatis-plus.version>
  73. <pagehelper.version>2.1.1</pagehelper.version>
  74. <!--依赖框架版本定义区end-->
  75. <!--数据库版本start-->
  76. <mysql.version>9.5.0</mysql.version>
  77. <postgresql.version>42.7.9</postgresql.version>
  78. <!--数据库版本end-->
  79. <!--apache组件start-->
  80. <commons-codec.version>1.20.0</commons-codec.version>
  81. <commons-lang3.version>3.20.0</commons-lang3.version>
  82. <commons-io.version>2.21.0</commons-io.version>
  83. <commons-configuration.version>1.10</commons-configuration.version>
  84. <commons-configuration2.version>2.13.0</commons-configuration2.version>
  85. <tika.version>3.2.3</tika.version>
  86. <!--apache组件end-->
  87. <!--其它-->
  88. <fastjson.version>2.0.60</fastjson.version>
  89. <easyexcel.version>4.0.3</easyexcel.version>
  90. <jasypt.version>3.0.5</jasypt.version>
  91. <gson.version>2.13.2</gson.version>
  92. <poi.version>5.5.1</poi.version>
  93. <hutool.version>5.8.43</hutool.version>
  94. <!--imwork-commons-->
  95. <imwork-commons.version>${project.version}</imwork-commons.version>
  96. </properties>
  97. <dependencyManagement>
  98. <dependencies>
  99. <dependency>
  100. <groupId>cn.hutool</groupId>
  101. <artifactId>hutool-all</artifactId>
  102. <version>${hutool.version}</version>
  103. </dependency>
  104. <!-- 用于文件类型检测 -->
  105. <dependency>
  106. <groupId>org.apache.tika</groupId>
  107. <artifactId>tika-core</artifactId>
  108. <version>${tika.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.poi</groupId>
  112. <artifactId>poi-excelant</artifactId>
  113. <version>${poi.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.poi</groupId>
  117. <artifactId>poi-ooxml-full</artifactId>
  118. <version>${poi.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.poi</groupId>
  122. <artifactId>poi-scratchpad</artifactId>
  123. <version>${poi.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.poi</groupId>
  127. <artifactId>poi-ooxml</artifactId>
  128. <version>${poi.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.poi</groupId>
  132. <artifactId>poi</artifactId>
  133. <version>${poi.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.google.code.gson</groupId>
  137. <artifactId>gson</artifactId>
  138. <version>${gson.version}</version>
  139. </dependency>
  140. <!--imwork-commons-->
  141. <dependency>
  142. <groupId>top.imwork</groupId>
  143. <artifactId>imwork-commons-base</artifactId>
  144. <version>${imwork-commons.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>top.imwork</groupId>
  148. <artifactId>imwork-commons-core</artifactId>
  149. <version>${imwork-commons.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>top.imwork</groupId>
  153. <artifactId>imwork-commons-dao</artifactId>
  154. <version>${imwork-commons.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>top.imwork</groupId>
  158. <artifactId>imwork-commons-doc</artifactId>
  159. <version>${imwork-commons.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>top.imwork</groupId>
  163. <artifactId>imwork-commons-redis</artifactId>
  164. <version>${imwork-commons.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>top.imwork</groupId>
  168. <artifactId>imwork-commons-security</artifactId>
  169. <version>${imwork-commons.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>top.imwork</groupId>
  173. <artifactId>imwork-commons-alibaba</artifactId>
  174. <version>${imwork-commons.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>org.projectlombok</groupId>
  178. <artifactId>lombok</artifactId>
  179. <version>${lombok.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.alibaba</groupId>
  183. <artifactId>fastjson</artifactId>
  184. <version>${fastjson.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.alibaba</groupId>
  188. <artifactId>easyexcel</artifactId>
  189. <version>${easyexcel.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.github.ulisesbocchio</groupId>
  193. <artifactId>jasypt-spring-boot-starter</artifactId>
  194. <version>${jasypt.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>commons-codec</groupId>
  198. <artifactId>commons-codec</artifactId>
  199. <version>${commons-codec.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>commons-configuration</groupId>
  203. <artifactId>commons-configuration</artifactId>
  204. <version>${commons-configuration.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>commons-io</groupId>
  208. <artifactId>commons-io</artifactId>
  209. <version>${commons-io.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.apache.commons</groupId>
  213. <artifactId>commons-lang3</artifactId>
  214. <version>${commons-lang3.version}</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>com.github.pagehelper</groupId>
  218. <artifactId>pagehelper-spring-boot-starter</artifactId>
  219. <version>${pagehelper.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.baomidou</groupId>
  223. <artifactId>mybatis-plus-boot-starter</artifactId>
  224. <version>${mybatis-plus.version}</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.mybatis.spring.boot</groupId>
  228. <artifactId>mybatis-spring-boot-starter</artifactId>
  229. <version>${mybatis-spring.version}</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.mybatis</groupId>
  233. <artifactId>mybatis</artifactId>
  234. <version>${mybatis.version}</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.mysql</groupId>
  238. <artifactId>mysql-connector-j</artifactId>
  239. <version>${mysql.version}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.postgresql</groupId>
  243. <artifactId>postgresql</artifactId>
  244. <version>${postgresql.version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>de.codecentric</groupId>
  248. <artifactId>spring-boot-admin-starter-server</artifactId>
  249. <version>${boot-admin.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>de.codecentric</groupId>
  253. <artifactId>spring-boot-admin-starter-client</artifactId>
  254. <version>${boot-admin.version}</version>
  255. </dependency>
  256. <!--Spring Cloud Alibaba-->
  257. <dependency>
  258. <groupId>com.alibaba.nacos</groupId>
  259. <artifactId>nacos-client</artifactId>
  260. <version>${nacos.version}</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>com.alibaba.cloud</groupId>
  264. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  265. <version>${spring-cloud-alibaba.version}</version>
  266. <type>pom</type>
  267. <scope>import</scope>
  268. </dependency>
  269. <!--Spring Cloud 基础服务框架-->
  270. <dependency>
  271. <groupId>org.springframework.cloud</groupId>
  272. <artifactId>spring-cloud-dependencies</artifactId>
  273. <version>${spring-cloud.version}</version>
  274. <type>pom</type>
  275. <scope>import</scope>
  276. </dependency>
  277. </dependencies>
  278. </dependencyManagement>
  279. <build>
  280. <finalName>${project.artifactId}-${version}</finalName>
  281. <plugins>
  282. <!--版本号同步插件-->
  283. <plugin>
  284. <groupId>org.codehaus.mojo</groupId>
  285. <artifactId>versions-maven-plugin</artifactId>
  286. <version>${versions-maven-plugin.version}</version>
  287. </plugin>
  288. </plugins>
  289. <resources>
  290. <resource>
  291. <directory>src/main/java</directory>
  292. <includes>
  293. <include>**/*.xml</include>
  294. <include>**/*.properties</include>
  295. <include>**/*.yml</include>
  296. <include>**/*.yaml</include>
  297. <include>**/*.json</include>
  298. </includes>
  299. </resource>
  300. <resource>
  301. <directory>src/main/resources</directory>
  302. <filtering>true</filtering>
  303. </resource>
  304. </resources>
  305. </build>
  306. <profiles>
  307. <profile>
  308. <id>imwork</id>
  309. <properties>
  310. <!--全局配置文件地址-->
  311. <base.config.namespace>imwork-silos</base.config.namespace>
  312. <base.config.nacos.hostname>127.0.0.1</base.config.nacos.hostname>
  313. <base.config.nacos.port>8848</base.config.nacos.port>
  314. <base.config.nacos.username>admin</base.config.nacos.username>
  315. <base.config.nacos.password>zh.3417.JXW</base.config.nacos.password>
  316. <base.logs.home>/app/logs/</base.logs.home>
  317. <!-- 环境标识,需要与配置文件的名称相对应 -->
  318. <profiles.active>imwork-silos</profiles.active>
  319. </properties>
  320. <activation>
  321. <!-- 默认环境 -->
  322. <activeByDefault>true</activeByDefault>
  323. </activation>
  324. </profile>
  325. </profiles>
  326. </project>