pom.xml 12 KB

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