pom.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  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>2.5.5</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>1.8</java.version>
  15. </properties>
  16. <groupId>org.jeeplus</groupId>
  17. <artifactId>jeeplus</artifactId>
  18. <version>9.0</version>
  19. <packaging>pom</packaging>
  20. <name>jeeplus cloud</name>
  21. <modules>
  22. <!--启动模块-->
  23. <module>jeeplus-web</module>
  24. <!--平台核心模块-->
  25. <module>jeeplus-platform</module>
  26. <!--添加插件模块-->
  27. <module>jeeplus-plugins</module>
  28. <!--添加业务模块-->
  29. <module>jeeplus-modules</module>
  30. </modules>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-aop</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-cache</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-redis</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-freemarker</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-jdbc</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-security</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.mybatis.spring.boot</groupId>
  58. <artifactId>mybatis-spring-boot-starter</artifactId>
  59. <version>2.1.3</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.baomidou</groupId>
  63. <artifactId>mybatis-plus-boot-starter</artifactId>
  64. <version>3.4.2</version>
  65. </dependency>
  66. <!--<dependency>-->
  67. <!--<groupId>org.springframework.boot</groupId>-->
  68. <!--<artifactId>spring-boot-configuration-processor</artifactId>-->
  69. <!--<optional>true</optional>-->
  70. <!--</dependency>-->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-validation</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-web</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-websocket</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-mail</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.mapstruct</groupId>
  89. <artifactId>mapstruct</artifactId>
  90. <version>1.4.2.Final</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.mapstruct</groupId>
  94. <artifactId>mapstruct-processor</artifactId>
  95. <version>1.4.2.Final</version>
  96. <scope>provided</scope>
  97. </dependency>
  98. <!--<dependency>-->
  99. <!--<groupId>org.springframework.boot</groupId>-->
  100. <!--<artifactId>spring-boot-devtools</artifactId>-->
  101. <!--<optional>true</optional>-->
  102. <!--</dependency>-->
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-tomcat</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.microsoft.sqlserver</groupId>
  109. <artifactId>mssql-jdbc</artifactId>
  110. <scope>runtime</scope>
  111. </dependency>
  112. <!-- https://mvnrepository.com/artifact/net.sourceforge.jtds/jtds -->
  113. <dependency>
  114. <groupId>net.sourceforge.jtds</groupId>
  115. <artifactId>jtds</artifactId>
  116. <version>1.3.1</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>mysql</groupId>
  120. <artifactId>mysql-connector-java</artifactId>
  121. <scope>runtime</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.postgresql</groupId>
  125. <artifactId>postgresql</artifactId>
  126. <version>42.2.19</version>
  127. </dependency>
  128. <!--<dependency>-->
  129. <!--<groupId>com.alibaba</groupId>-->
  130. <!--<artifactId>druid</artifactId>-->
  131. <!--<version>1.0.11</version>-->
  132. <!--</dependency>-->
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>druid-spring-boot-starter</artifactId>
  136. <version>1.2.1</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>cglib</groupId>
  140. <artifactId>cglib</artifactId>
  141. <version>3.2.7</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>javax.servlet.jsp</groupId>
  145. <artifactId>jsp-api</artifactId>
  146. <version>2.1</version>
  147. <scope>provided</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>commons-dbcp</groupId>
  151. <artifactId>commons-dbcp</artifactId>
  152. <version>1.4</version>
  153. </dependency>
  154. <!-- SECURITY begin -->
  155. <dependency>
  156. <groupId>com.auth0</groupId>
  157. <artifactId>java-jwt</artifactId>
  158. <version>3.4.0</version>
  159. </dependency>
  160. <!-- quartz -->
  161. <dependency>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-starter-quartz</artifactId>
  164. </dependency>
  165. <!-- GENERAL UTILS begin -->
  166. <dependency>
  167. <groupId>commons-io</groupId>
  168. <artifactId>commons-io</artifactId>
  169. <version>2.8.0</version>
  170. </dependency>
  171. <!-- jackson json -->
  172. <dependency>
  173. <groupId>com.fasterxml.jackson.module</groupId>
  174. <artifactId>jackson-module-jaxb-annotations</artifactId>
  175. <version>2.11.3</version>
  176. </dependency>
  177. <!-- fastjson json-->
  178. <!--<dependency>-->
  179. <!--<groupId>com.alibaba</groupId>-->
  180. <!--<artifactId>fastjson</artifactId>-->
  181. <!--<version>1.2.45</version>-->
  182. <!--</dependency>-->
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  186. </dependency>
  187. <dependency>
  188. <groupId>cn.hutool</groupId>
  189. <artifactId>hutool-all</artifactId>
  190. <version>5.7.13</version>
  191. </dependency>
  192. <!-- pojo copy -->
  193. <dependency>
  194. <groupId>net.sf.dozer</groupId>
  195. <artifactId>dozer</artifactId>
  196. <version>5.5.1</version>
  197. </dependency>
  198. <!-- poi office -->
  199. <dependency>
  200. <groupId>com.alibaba</groupId>
  201. <artifactId>easyexcel</artifactId>
  202. <version>3.1.1</version>
  203. </dependency>
  204. <!--<dependency>-->
  205. <!--<groupId>org.apache.poi</groupId>-->
  206. <!--<artifactId>poi</artifactId>-->
  207. <!--<version>3.17</version>-->
  208. <!--</dependency>-->
  209. <!--<dependency>-->
  210. <!--<groupId>org.apache.poi</groupId>-->
  211. <!--<artifactId>poi-ooxml</artifactId>-->
  212. <!--<version>3.17</version>-->
  213. <!--</dependency>-->
  214. <!--<dependency>-->
  215. <!--<groupId>org.apache.poi</groupId>-->
  216. <!--<artifactId>poi-ooxml-schemas</artifactId>-->
  217. <!--<version>3.17</version>-->
  218. <!--</dependency>-->
  219. <!--httpclient -->
  220. <dependency>
  221. <groupId>org.apache.httpcomponents</groupId>
  222. <artifactId>httpclient</artifactId>
  223. <version>4.5.13</version>
  224. </dependency>
  225. <!-- swagger-springmvc -->
  226. <dependency>
  227. <groupId>io.springfox</groupId>
  228. <artifactId>springfox-swagger2</artifactId>
  229. <version>2.9.2</version>
  230. <exclusions>
  231. <exclusion>
  232. <artifactId>swagger-annotations</artifactId>
  233. <groupId>io.swagger</groupId>
  234. </exclusion>
  235. <exclusion>
  236. <artifactId>swagger-models</artifactId>
  237. <groupId>io.swagger</groupId>
  238. </exclusion>
  239. <exclusion>
  240. <artifactId>guava</artifactId>
  241. <groupId>com.google.guava</groupId>
  242. </exclusion>
  243. </exclusions>
  244. </dependency>
  245. <dependency>
  246. <groupId>io.springfox</groupId>
  247. <artifactId>springfox-swagger-ui</artifactId>
  248. <version>2.9.2</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.github.xiaoymin</groupId>
  252. <artifactId>swagger-bootstrap-ui</artifactId>
  253. <version>1.9.3</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>io.springfox</groupId>
  257. <artifactId>springfox-bean-validators</artifactId>
  258. <version>2.9.2</version>
  259. <exclusions>
  260. <exclusion>
  261. <artifactId>guava</artifactId>
  262. <groupId>com.google.guava</groupId>
  263. </exclusion>
  264. </exclusions>
  265. </dependency>
  266. <dependency>
  267. <groupId>io.swagger</groupId>
  268. <artifactId>swagger-annotations</artifactId>
  269. <version>1.6.2</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>io.swagger</groupId>
  273. <artifactId>swagger-models</artifactId>
  274. <version>1.6.2</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.google.guava</groupId>
  278. <artifactId>guava</artifactId>
  279. <version>29.0-jre</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>commons-lang</groupId>
  283. <artifactId>commons-lang</artifactId>
  284. <version>2.6</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.apache.commons</groupId>
  288. <artifactId>commons-lang3</artifactId>
  289. <version>3.10</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>javax.servlet</groupId>
  293. <artifactId>javax.servlet-api</artifactId>
  294. <version>3.1.0</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>net.sf.json-lib</groupId>
  298. <artifactId>json-lib</artifactId>
  299. <version>2.4</version>
  300. <classifier>jdk15</classifier>
  301. <exclusions>
  302. <exclusion>
  303. <groupId>commons-lang</groupId>
  304. <artifactId>commons-lang</artifactId>
  305. </exclusion>
  306. <exclusion>
  307. <groupId>commons-logging</groupId>
  308. <artifactId>commons-logging</artifactId>
  309. </exclusion>
  310. <exclusion>
  311. <groupId>commons-beanutils</groupId>
  312. <artifactId>commons-beanutils</artifactId>
  313. </exclusion>
  314. <exclusion>
  315. <groupId>commons-collections</groupId>
  316. <artifactId>commons-collections</artifactId>
  317. </exclusion>
  318. </exclusions>
  319. </dependency>
  320. <!--hibernate多数据源-->
  321. <!--<dependency>-->
  322. <!--<groupId>org.hibernate</groupId>-->
  323. <!--<artifactId>hibernate-core</artifactId>-->
  324. <!--<version>5.2.12.Final</version>-->
  325. <!--<exclusions>-->
  326. <!--<exclusion>-->
  327. <!--<groupId>com.fasterxml</groupId>-->
  328. <!--<artifactId>classmate</artifactId>-->
  329. <!--</exclusion>-->
  330. <!--<exclusion>-->
  331. <!--<groupId>dom4j</groupId>-->
  332. <!--<artifactId>dom4j</artifactId>-->
  333. <!--</exclusion>-->
  334. <!--</exclusions>-->
  335. <!--</dependency>-->
  336. <!-- jdbc连接池 -->
  337. <dependency>
  338. <groupId>com.mchange</groupId>
  339. <artifactId>c3p0</artifactId>
  340. <version>0.9.5.2</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>com.google.code.maven-play-plugin.com.mchange</groupId>
  344. <artifactId>c3p0-oracle-thin-extras</artifactId>
  345. <version>0.9.5</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>dom4j</groupId>
  349. <artifactId>dom4j</artifactId>
  350. <version>1.6</version>
  351. <exclusions>
  352. <exclusion>
  353. <groupId>xml-apis</groupId>
  354. <artifactId>xml-apis</artifactId>
  355. </exclusion>
  356. </exclusions>
  357. </dependency>
  358. <dependency>
  359. <groupId>com.fasterxml.jackson.core</groupId>
  360. <artifactId>jackson-databind</artifactId>
  361. <version>2.11.3</version>
  362. </dependency>
  363. <dependency>
  364. <groupId>com.google.code.gson</groupId>
  365. <artifactId>gson</artifactId>
  366. <version>2.8.6</version>
  367. </dependency>
  368. <dependency>
  369. <groupId>org.jeeplus</groupId>
  370. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  371. <version>3.5.1</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>p6spy</groupId>
  375. <artifactId>p6spy</artifactId>
  376. <version>3.9.1</version>
  377. </dependency>
  378. <!-- Lombok -->
  379. <dependency>
  380. <groupId>org.projectlombok</groupId>
  381. <artifactId>lombok</artifactId>
  382. </dependency>
  383. <dependency>
  384. <groupId>com.aliyun</groupId>
  385. <artifactId>aliyun-java-sdk-core</artifactId>
  386. <version>4.5.16</version>
  387. </dependency>
  388. <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-dysmsapi -->
  389. <dependency>
  390. <groupId>com.aliyun</groupId>
  391. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  392. <version>2.1.0</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>com.oracle.database.jdbc</groupId>
  396. <artifactId>ojdbc8</artifactId>
  397. <version>19.8.0.0</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>javax.xml.bind</groupId>
  401. <artifactId>jaxb-api</artifactId>
  402. <version>2.3.1</version>
  403. </dependency>
  404. <dependency>
  405. <groupId>com.sun.xml.bind</groupId>
  406. <artifactId>jaxb-core</artifactId>
  407. <version>2.3.0.1</version>
  408. </dependency>
  409. <dependency>
  410. <groupId>com.sun.xml.bind</groupId>
  411. <artifactId>jaxb-impl</artifactId>
  412. <version>2.3.0.1</version>
  413. </dependency>
  414. <dependency>
  415. <groupId>javax.validation</groupId>
  416. <artifactId>validation-api</artifactId>
  417. </dependency>
  418. </dependencies>
  419. <!-- 设定仓库 -->
  420. <repositories>
  421. <repository>
  422. <id>aliyun-repos</id>
  423. <url>https://maven.aliyun.com/repository/public</url>
  424. <releases>
  425. <enabled>true</enabled>
  426. </releases>
  427. <snapshots>
  428. <enabled>false</enabled>
  429. </snapshots>
  430. </repository>
  431. <repository>
  432. <id>sonatype-repos-s</id>
  433. <name>Sonatype Repository</name>
  434. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  435. <releases>
  436. <enabled>false</enabled>
  437. </releases>
  438. <snapshots>
  439. <enabled>true</enabled>
  440. </snapshots>
  441. </repository>
  442. </repositories>
  443. <pluginRepositories>
  444. <pluginRepository>
  445. <id>aliyun-repos</id>
  446. <url>https://maven.aliyun.com/repository/public</url>
  447. </pluginRepository>
  448. </pluginRepositories>
  449. <build>
  450. <plugins>
  451. <!-- Compiler 插件, 设定JDK版本 -->
  452. <plugin>
  453. <groupId>org.apache.maven.plugins</groupId>
  454. <artifactId>maven-compiler-plugin</artifactId>
  455. <configuration>
  456. <showWarnings>true</showWarnings>
  457. <source>8</source>
  458. <target>8</target>
  459. <encoding>UTF-8</encoding>
  460. <annotationProcessorPaths>
  461. <path>
  462. <groupId>org.mapstruct</groupId>
  463. <artifactId>mapstruct-processor</artifactId>
  464. <version>1.4.1.Final</version>
  465. </path>
  466. <path>
  467. <groupId>org.projectlombok</groupId>
  468. <artifactId>lombok</artifactId>
  469. <version>1.18.20</version>
  470. </path>
  471. <path>
  472. <groupId>org.projectlombok</groupId>
  473. <artifactId>lombok-mapstruct-binding</artifactId>
  474. <version>0.2.0</version>
  475. </path>
  476. </annotationProcessorPaths>
  477. </configuration>
  478. </plugin>
  479. <plugin>
  480. <groupId>org.apache.maven.plugins</groupId>
  481. <artifactId>maven-surefire-plugin</artifactId>
  482. <version>2.22.2</version>
  483. <configuration>
  484. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  485. </configuration>
  486. </plugin>
  487. <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
  488. <plugin>
  489. <groupId>org.apache.maven.plugins</groupId>
  490. <artifactId>maven-jar-plugin</artifactId>
  491. <configuration>
  492. <archive>
  493. <addMavenDescriptor>false</addMavenDescriptor>
  494. </archive>
  495. </configuration>
  496. <executions>
  497. <execution>
  498. <configuration>
  499. <archive>
  500. <manifest>
  501. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  502. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  503. <addClasspath>true</addClasspath>
  504. </manifest>
  505. </archive>
  506. </configuration>
  507. </execution>
  508. </executions>
  509. </plugin>
  510. <!-- resource插件 -->
  511. <plugin>
  512. <groupId>org.apache.maven.plugins</groupId>
  513. <artifactId>maven-resources-plugin</artifactId>
  514. </plugin>
  515. <!-- install插件 -->
  516. <plugin>
  517. <groupId>org.apache.maven.plugins</groupId>
  518. <artifactId>maven-install-plugin</artifactId>
  519. </plugin>
  520. <!-- clean插件 -->
  521. <plugin>
  522. <groupId>org.apache.maven.plugins</groupId>
  523. <artifactId>maven-clean-plugin</artifactId>
  524. </plugin>
  525. <!-- ant插件 -->
  526. <plugin>
  527. <groupId>org.apache.maven.plugins</groupId>
  528. <artifactId>maven-antrun-plugin</artifactId>
  529. </plugin>
  530. <!-- dependency插件 -->
  531. <plugin>
  532. <groupId>org.apache.maven.plugins</groupId>
  533. <artifactId>maven-dependency-plugin</artifactId>
  534. </plugin>
  535. </plugins>
  536. <!-- 资源文件配置 -->
  537. <resources>
  538. <resource>
  539. <directory>src/main/webapp</directory>
  540. </resource>
  541. <resource>
  542. <directory>src/main/resources</directory>
  543. </resource>
  544. <resource>
  545. <directory>src/main/java</directory>
  546. <includes>
  547. <include>**/*.xml</include>
  548. <include>**/*.ftl</include>
  549. </includes>
  550. </resource>
  551. </resources>
  552. </build>
  553. </project>