pom.xml 12 KB

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