pom.xml 13 KB

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