pom.xml 14 KB

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