pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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.7</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.11.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.19.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.1</nacos.version>
  67. <boot-admin.version>3.5.6</boot-admin.version>
  68. <mybatis.version>3.5.19</mybatis.version>
  69. <mybatis-spring.version>3.0.5</mybatis-spring.version>
  70. <mybatis-plus.version>3.5.14</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.19.0</commons-codec.version>
  79. <commons-lang3.version>3.19.0</commons-lang3.version>
  80. <commons-io.version>2.20.0</commons-io.version>
  81. <commons-configuration.version>1.10</commons-configuration.version>
  82. <commons-configuration2.version>2.12.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. <!--imwork-commons-->
  90. <imwork-commons.version>${project.version}</imwork-commons.version>
  91. </properties>
  92. <dependencyManagement>
  93. <dependencies>
  94. <dependency>
  95. <groupId>com.google.code.gson</groupId>
  96. <artifactId>gson</artifactId>
  97. <version>${gson.version}</version>
  98. </dependency>
  99. <!--imwork-commons-->
  100. <dependency>
  101. <groupId>top.imwork</groupId>
  102. <artifactId>imwork-commons-base</artifactId>
  103. <version>${imwork-commons.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>top.imwork</groupId>
  107. <artifactId>imwork-commons-core</artifactId>
  108. <version>${imwork-commons.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>top.imwork</groupId>
  112. <artifactId>imwork-commons-dao</artifactId>
  113. <version>${imwork-commons.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>top.imwork</groupId>
  117. <artifactId>imwork-commons-doc</artifactId>
  118. <version>${imwork-commons.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>top.imwork</groupId>
  122. <artifactId>imwork-commons-redis</artifactId>
  123. <version>${imwork-commons.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>top.imwork</groupId>
  127. <artifactId>imwork-commons-security</artifactId>
  128. <version>${imwork-commons.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>top.imwork</groupId>
  132. <artifactId>imwork-commons-alibaba</artifactId>
  133. <version>${imwork-commons.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.projectlombok</groupId>
  137. <artifactId>lombok</artifactId>
  138. <version>${lombok.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.alibaba</groupId>
  142. <artifactId>fastjson</artifactId>
  143. <version>${fastjson.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.alibaba</groupId>
  147. <artifactId>easyexcel</artifactId>
  148. <version>${easyexcel.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.github.ulisesbocchio</groupId>
  152. <artifactId>jasypt-spring-boot-starter</artifactId>
  153. <version>${jasypt.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>commons-codec</groupId>
  157. <artifactId>commons-codec</artifactId>
  158. <version>${commons-codec.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>commons-configuration</groupId>
  162. <artifactId>commons-configuration</artifactId>
  163. <version>${commons-configuration.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>commons-io</groupId>
  167. <artifactId>commons-io</artifactId>
  168. <version>${commons-io.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.apache.commons</groupId>
  172. <artifactId>commons-lang3</artifactId>
  173. <version>${commons-lang3.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.github.pagehelper</groupId>
  177. <artifactId>pagehelper-spring-boot-starter</artifactId>
  178. <version>${pagehelper.version}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.baomidou</groupId>
  182. <artifactId>mybatis-plus-boot-starter</artifactId>
  183. <version>${mybatis-plus.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.mybatis.spring.boot</groupId>
  187. <artifactId>mybatis-spring-boot-starter</artifactId>
  188. <version>${mybatis-spring.version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.mybatis</groupId>
  192. <artifactId>mybatis</artifactId>
  193. <version>${mybatis.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.mysql</groupId>
  197. <artifactId>mysql-connector-j</artifactId>
  198. <version>${mysql.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.postgresql</groupId>
  202. <artifactId>postgresql</artifactId>
  203. <version>${postgresql.version}</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>de.codecentric</groupId>
  207. <artifactId>spring-boot-admin-starter-server</artifactId>
  208. <version>${boot-admin.version}</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>de.codecentric</groupId>
  212. <artifactId>spring-boot-admin-starter-client</artifactId>
  213. <version>${boot-admin.version}</version>
  214. </dependency>
  215. <!--Spring Cloud Alibaba-->
  216. <dependency>
  217. <groupId>com.alibaba.nacos</groupId>
  218. <artifactId>nacos-client</artifactId>
  219. <version>${nacos.version}</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>com.alibaba.cloud</groupId>
  223. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  224. <version>${spring-cloud-alibaba.version}</version>
  225. <type>pom</type>
  226. <scope>import</scope>
  227. </dependency>
  228. <!--Spring Cloud 基础服务框架-->
  229. <dependency>
  230. <groupId>org.springframework.cloud</groupId>
  231. <artifactId>spring-cloud-dependencies</artifactId>
  232. <version>${spring-cloud.version}</version>
  233. <type>pom</type>
  234. <scope>import</scope>
  235. </dependency>
  236. </dependencies>
  237. </dependencyManagement>
  238. <build>
  239. <finalName>${project.artifactId}-${version}</finalName>
  240. <plugins>
  241. <!--版本号同步插件-->
  242. <plugin>
  243. <groupId>org.codehaus.mojo</groupId>
  244. <artifactId>versions-maven-plugin</artifactId>
  245. <version>${versions-maven-plugin.version}</version>
  246. </plugin>
  247. </plugins>
  248. <resources>
  249. <resource>
  250. <directory>src/main/java</directory>
  251. <includes>
  252. <include>**/*.xml</include>
  253. <include>**/*.properties</include>
  254. <include>**/*.yml</include>
  255. <include>**/*.yaml</include>
  256. <include>**/*.json</include>
  257. </includes>
  258. </resource>
  259. <resource>
  260. <directory>src/main/resources</directory>
  261. <filtering>true</filtering>
  262. </resource>
  263. </resources>
  264. </build>
  265. <profiles>
  266. <profile>
  267. <id>imwork</id>
  268. <properties>
  269. <!--全局配置文件地址-->
  270. <base.config.namespace>imwork-silos</base.config.namespace>
  271. <base.config.nacos.hostname>127.0.0.1</base.config.nacos.hostname>
  272. <base.config.nacos.port>8848</base.config.nacos.port>
  273. <base.config.nacos.username>admin</base.config.nacos.username>
  274. <base.config.nacos.password>zh.3417.JXW</base.config.nacos.password>
  275. <base.logs.home>/app/logs/</base.logs.home>
  276. <!-- 环境标识,需要与配置文件的名称相对应 -->
  277. <profiles.active>imwork-silos</profiles.active>
  278. </properties>
  279. <activation>
  280. <!-- 默认环境 -->
  281. <activeByDefault>true</activeByDefault>
  282. </activation>
  283. </profile>
  284. </profiles>
  285. </project>