pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.3.3</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <java.version>17</java.version>
  15. <!-- 指定 Maven 编译时使用的 JDK 版本 -->
  16. <maven.compiler.source>17</maven.compiler.source>
  17. <maven.compiler.target>17</maven.compiler.target>
  18. </properties>
  19. <groupId>org.jeeplus</groupId>
  20. <artifactId>jeeplus</artifactId>
  21. <version>9.0</version>
  22. <packaging>pom</packaging>
  23. <name>jeeplus boot</name>
  24. <modules>
  25. <!--启动模块-->
  26. <module>jeeplus-web</module>
  27. <!--平台核心模块-->
  28. <module>jeeplus-platform</module>
  29. <!--添加插件模块-->
  30. <module>jeeplus-plugins</module>
  31. <!--添加业务模块-->
  32. <module>jeeplus-modules</module>
  33. </modules>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-aop</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-cache</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-data-redis</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-freemarker</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-jdbc</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-security</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-validation</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-web</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-websocket</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  74. </dependency>
  75. <!-- quartz -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-quartz</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-mail</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.baomidou</groupId>
  86. <artifactId>mybatis-plus-spring-boot3-starter</artifactId>
  87. <version>3.5.6</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.github.gavlyukovskiy</groupId>
  91. <artifactId>p6spy-spring-boot-starter</artifactId>
  92. <version>1.9.1</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.mapstruct</groupId>
  96. <artifactId>mapstruct</artifactId>
  97. <version>1.5.5.Final</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.mapstruct</groupId>
  101. <artifactId>mapstruct-processor</artifactId>
  102. <version>1.5.5.Final</version>
  103. <scope>provided</scope>
  104. </dependency>
  105. <!--<dependency>-->
  106. <!--<groupId>org.springframework.boot</groupId>-->
  107. <!--<artifactId>spring-boot-devtools</artifactId>-->
  108. <!--<optional>true</optional>-->
  109. <!--</dependency>-->
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-tomcat</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.microsoft.sqlserver</groupId>
  116. <artifactId>mssql-jdbc</artifactId>
  117. <scope>runtime</scope>
  118. </dependency>
  119. <!-- https://mvnrepository.com/artifact/net.sourceforge.jtds/jtds -->
  120. <dependency>
  121. <groupId>net.sourceforge.jtds</groupId>
  122. <artifactId>jtds</artifactId>
  123. <version>1.3.1</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.mysql</groupId>
  127. <artifactId>mysql-connector-j</artifactId>
  128. <version>8.4.0</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.postgresql</groupId>
  132. <artifactId>postgresql</artifactId>
  133. <version>42.2.19</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>cglib</groupId>
  137. <artifactId>cglib</artifactId>
  138. <version>3.2.7</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>commons-dbcp</groupId>
  142. <artifactId>commons-dbcp</artifactId>
  143. <version>1.4</version>
  144. </dependency>
  145. <!-- SECURITY begin -->
  146. <dependency>
  147. <groupId>com.auth0</groupId>
  148. <artifactId>java-jwt</artifactId>
  149. <version>4.4.0</version>
  150. </dependency>
  151. <!-- GENERAL UTILS begin -->
  152. <dependency>
  153. <groupId>commons-io</groupId>
  154. <artifactId>commons-io</artifactId>
  155. <version>2.16.1</version>
  156. </dependency>
  157. <!-- jackson json -->
  158. <dependency>
  159. <groupId>com.fasterxml.jackson.module</groupId>
  160. <artifactId>jackson-module-jaxb-annotations</artifactId>
  161. </dependency>
  162. <dependency>
  163. <groupId>cn.hutool</groupId>
  164. <artifactId>hutool-all</artifactId>
  165. <version>5.8.28</version>
  166. </dependency>
  167. <!-- pojo copy -->
  168. <dependency>
  169. <groupId>net.sf.dozer</groupId>
  170. <artifactId>dozer</artifactId>
  171. <version>5.5.1</version>
  172. </dependency>
  173. <!-- poi office -->
  174. <dependency>
  175. <groupId>com.alibaba</groupId>
  176. <artifactId>easyexcel</artifactId>
  177. <version>4.0.2</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.apache.xmlbeans</groupId>
  181. <artifactId>xmlbeans</artifactId>
  182. <version>5.2.1</version>
  183. </dependency>
  184. <!--httpclient -->
  185. <dependency>
  186. <groupId>org.apache.httpcomponents</groupId>
  187. <artifactId>httpclient</artifactId>
  188. <version>4.5.14</version>
  189. </dependency>
  190. <!-- swagger-springmvc -->
  191. <dependency>
  192. <groupId>org.springdoc</groupId>
  193. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  194. <version>2.5.0</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.github.xiaoymin</groupId>
  198. <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
  199. <version>4.4.0</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.google.guava</groupId>
  203. <artifactId>guava</artifactId>
  204. <version>29.0-jre</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>commons-lang</groupId>
  208. <artifactId>commons-lang</artifactId>
  209. <version>2.6</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.apache.commons</groupId>
  213. <artifactId>commons-lang3</artifactId>
  214. <version>3.14.0</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>net.sf.json-lib</groupId>
  218. <artifactId>json-lib</artifactId>
  219. <version>2.4</version>
  220. <classifier>jdk15</classifier>
  221. <exclusions>
  222. <exclusion>
  223. <groupId>commons-lang</groupId>
  224. <artifactId>commons-lang</artifactId>
  225. </exclusion>
  226. <exclusion>
  227. <groupId>commons-logging</groupId>
  228. <artifactId>commons-logging</artifactId>
  229. </exclusion>
  230. <exclusion>
  231. <groupId>commons-beanutils</groupId>
  232. <artifactId>commons-beanutils</artifactId>
  233. </exclusion>
  234. <exclusion>
  235. <groupId>commons-collections</groupId>
  236. <artifactId>commons-collections</artifactId>
  237. </exclusion>
  238. </exclusions>
  239. </dependency>
  240. <!-- jdbc连接池 -->
  241. <dependency>
  242. <groupId>com.mchange</groupId>
  243. <artifactId>c3p0</artifactId>
  244. <version>0.9.5.2</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.google.code.maven-play-plugin.com.mchange</groupId>
  248. <artifactId>c3p0-oracle-thin-extras</artifactId>
  249. <version>0.9.5</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>dom4j</groupId>
  253. <artifactId>dom4j</artifactId>
  254. <version>1.6</version>
  255. <exclusions>
  256. <exclusion>
  257. <groupId>xml-apis</groupId>
  258. <artifactId>xml-apis</artifactId>
  259. </exclusion>
  260. </exclusions>
  261. </dependency>
  262. <dependency>
  263. <groupId>com.google.code.gson</groupId>
  264. <artifactId>gson</artifactId>
  265. <version>2.10.1</version>
  266. </dependency>
  267. <!-- https://mvnrepository.com/artifact/com.baomidou/dynamic-datasource-spring-boot-starter -->
  268. <dependency>
  269. <groupId>com.baomidou</groupId>
  270. <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
  271. <version>4.3.0</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>io.seata</groupId>
  275. <artifactId>seata-rm-datasource</artifactId>
  276. <version>2.0.0</version>
  277. <optional>true</optional>
  278. </dependency>
  279. <!-- Lombok -->
  280. <dependency>
  281. <groupId>org.projectlombok</groupId>
  282. <artifactId>lombok</artifactId>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.aliyun</groupId>
  286. <artifactId>aliyun-java-sdk-core</artifactId>
  287. <version>4.5.30</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>com.aliyun</groupId>
  291. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  292. <version>2.1.0</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>com.oracle.database.jdbc</groupId>
  296. <artifactId>ojdbc8</artifactId>
  297. <version>19.8.0.0</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>jakarta.validation</groupId>
  301. <artifactId>jakarta.validation-api</artifactId>
  302. <version>3.1.0</version>
  303. </dependency>
  304. </dependencies>
  305. <!-- 设定仓库 -->
  306. <repositories>
  307. <repository>
  308. <id>aliyun-repos</id>
  309. <url>https://maven.aliyun.com/repository/public</url>
  310. <releases>
  311. <enabled>true</enabled>
  312. </releases>
  313. <snapshots>
  314. <enabled>false</enabled>
  315. </snapshots>
  316. </repository>
  317. <repository>
  318. <id>sonatype-repos-s</id>
  319. <name>Sonatype Repository</name>
  320. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  321. <releases>
  322. <enabled>false</enabled>
  323. </releases>
  324. <snapshots>
  325. <enabled>true</enabled>
  326. </snapshots>
  327. </repository>
  328. </repositories>
  329. <pluginRepositories>
  330. <pluginRepository>
  331. <id>aliyun-repos</id>
  332. <url>https://maven.aliyun.com/repository/public</url>
  333. </pluginRepository>
  334. </pluginRepositories>
  335. <build>
  336. <plugins>
  337. <!-- Compiler 插件, 设定JDK版本 -->
  338. <plugin>
  339. <groupId>org.apache.maven.plugins</groupId>
  340. <artifactId>maven-compiler-plugin</artifactId>
  341. <configuration>
  342. <showWarnings>true</showWarnings>
  343. <source>17</source>
  344. <target>17</target>
  345. <encoding>UTF-8</encoding>
  346. <annotationProcessorPaths>
  347. <path>
  348. <groupId>org.mapstruct</groupId>
  349. <artifactId>mapstruct-processor</artifactId>
  350. <version>1.5.5.Final</version>
  351. </path>
  352. <path>
  353. <groupId>org.projectlombok</groupId>
  354. <artifactId>lombok</artifactId>
  355. <version>1.18.20</version>
  356. </path>
  357. <path>
  358. <groupId>org.projectlombok</groupId>
  359. <artifactId>lombok-mapstruct-binding</artifactId>
  360. <version>0.2.0</version>
  361. </path>
  362. </annotationProcessorPaths>
  363. </configuration>
  364. </plugin>
  365. <plugin>
  366. <groupId>org.apache.maven.plugins</groupId>
  367. <artifactId>maven-surefire-plugin</artifactId>
  368. <version>2.22.2</version>
  369. <configuration>
  370. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  371. </configuration>
  372. </plugin>
  373. <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
  374. <plugin>
  375. <groupId>org.apache.maven.plugins</groupId>
  376. <artifactId>maven-jar-plugin</artifactId>
  377. <configuration>
  378. <archive>
  379. <addMavenDescriptor>false</addMavenDescriptor>
  380. </archive>
  381. </configuration>
  382. <executions>
  383. <execution>
  384. <configuration>
  385. <archive>
  386. <manifest>
  387. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  388. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  389. <addClasspath>true</addClasspath>
  390. </manifest>
  391. </archive>
  392. </configuration>
  393. </execution>
  394. </executions>
  395. </plugin>
  396. <!-- resource插件 -->
  397. <plugin>
  398. <groupId>org.apache.maven.plugins</groupId>
  399. <artifactId>maven-resources-plugin</artifactId>
  400. </plugin>
  401. <!-- install插件 -->
  402. <plugin>
  403. <groupId>org.apache.maven.plugins</groupId>
  404. <artifactId>maven-install-plugin</artifactId>
  405. </plugin>
  406. <!-- clean插件 -->
  407. <plugin>
  408. <groupId>org.apache.maven.plugins</groupId>
  409. <artifactId>maven-clean-plugin</artifactId>
  410. </plugin>
  411. <!-- ant插件 -->
  412. <plugin>
  413. <groupId>org.apache.maven.plugins</groupId>
  414. <artifactId>maven-antrun-plugin</artifactId>
  415. </plugin>
  416. <!-- dependency插件 -->
  417. <plugin>
  418. <groupId>org.apache.maven.plugins</groupId>
  419. <artifactId>maven-dependency-plugin</artifactId>
  420. </plugin>
  421. </plugins>
  422. <!-- 资源文件配置 -->
  423. <resources>
  424. <resource>
  425. <directory>src/main/webapp</directory>
  426. </resource>
  427. <resource>
  428. <directory>src/main/resources</directory>
  429. </resource>
  430. <resource>
  431. <directory>src/main/java</directory>
  432. <includes>
  433. <include>**/*.xml</include>
  434. <include>**/*.ftl</include>
  435. </includes>
  436. </resource>
  437. </resources>
  438. </build>
  439. </project>