pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>org.jeecgframework.boot</groupId>
  4. <artifactId>jeecg-boot-parent</artifactId>
  5. <version>2.2.0</version>
  6. <packaging>pom</packaging>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.1.3.RELEASE</version>
  11. <relativePath/>
  12. </parent>
  13. <modules>
  14. <module>jeecg-boot-base-common</module>
  15. <module>jeecg-boot-module-system</module>
  16. <module>jeecg-boot-module-activiti</module>
  17. </modules>
  18. <distributionManagement>
  19. <repository>
  20. <id>jeecg</id>
  21. <name>jeecg Repository</name>
  22. <url>http://maven.jeecg.com:8090/nexus/content/repositories/jeecg</url>
  23. </repository>
  24. <snapshotRepository>
  25. <id>jeecg-snapshots</id>
  26. <name>jeecg Snapshot Repository</name>
  27. <url>http://maven.jeecg.com:8090/nexus/content/repositories/snapshots/</url>
  28. </snapshotRepository>
  29. </distributionManagement>
  30. <repositories>
  31. <repository>
  32. <id>aliyun</id>
  33. <name>aliyun Repository</name>
  34. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  35. <snapshots>
  36. <enabled>false</enabled>
  37. </snapshots>
  38. </repository>
  39. <repository>
  40. <id>jeecg</id>
  41. <name>jeecg Repository</name>
  42. <url>http://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  43. <snapshots>
  44. <enabled>false</enabled>
  45. </snapshots>
  46. </repository>
  47. </repositories>
  48. <properties>
  49. <jeecgboot.version>2.2.0</jeecgboot.version>
  50. <java.version>1.8</java.version>
  51. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  52. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  53. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  54. <druid.version>1.1.17</druid.version>
  55. <jwt.version>0.9.1</jwt.version>
  56. <commons.version>2.6</commons.version>
  57. <aliyun-java-sdk-core.version>3.2.3</aliyun-java-sdk-core.version>
  58. <aliyun-java-sdk-dysmsapi.version>1.0.0</aliyun-java-sdk-dysmsapi.version>
  59. <aliyun.oss.version>3.6.0</aliyun.oss.version>
  60. <guava.version>26.0-jre</guava.version>
  61. </properties>
  62. <dependencies>
  63. <!--集成springmvc框架并实现自动配置 -->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-web</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-mail</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-test</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-aop</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-actuator</artifactId>
  84. </dependency>
  85. <!-- <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-devtools</artifactId>
  88. <optional>true</optional>
  89. </dependency> -->
  90. <!-- commons -->
  91. <dependency>
  92. <groupId>commons-io</groupId>
  93. <artifactId>commons-io</artifactId>
  94. <version>${commons.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>commons-lang</groupId>
  98. <artifactId>commons-lang</artifactId>
  99. <version>${commons.version}</version>
  100. </dependency>
  101. <!-- freemarker -->
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-freemarker</artifactId>
  105. </dependency>
  106. <!-- Lombok -->
  107. <dependency>
  108. <groupId>org.projectlombok</groupId>
  109. <artifactId>lombok</artifactId>
  110. </dependency>
  111. <!-- mybatis-plus -->
  112. <dependency>
  113. <groupId>com.baomidou</groupId>
  114. <artifactId>mybatis-plus-boot-starter</artifactId>
  115. <version>${mybatis-plus.version}</version>
  116. </dependency>
  117. <!-- druid -->
  118. <dependency>
  119. <groupId>com.alibaba</groupId>
  120. <artifactId>druid-spring-boot-starter</artifactId>
  121. <version>${druid.version}</version>
  122. </dependency>
  123. <!-- 动态数据源 -->
  124. <dependency>
  125. <groupId>com.baomidou</groupId>
  126. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  127. <version>2.5.4</version>
  128. </dependency>
  129. <!-- json -->
  130. <dependency>
  131. <groupId>com.alibaba</groupId>
  132. <artifactId>fastjson</artifactId>
  133. <version>1.2.69</version>
  134. </dependency>
  135. <!--mysql-->
  136. <dependency>
  137. <groupId>mysql</groupId>
  138. <artifactId>mysql-connector-java</artifactId>
  139. <version>5.1.47</version>
  140. <scope>runtime</scope>
  141. </dependency>
  142. <!-- sqlserver-->
  143. <dependency>
  144. <groupId>com.microsoft.sqlserver</groupId>
  145. <artifactId>sqljdbc4</artifactId>
  146. <version>4.0</version>
  147. <scope>runtime</scope>
  148. </dependency>
  149. <!-- oracle驱动 -->
  150. <dependency>
  151. <groupId>com.oracle</groupId>
  152. <artifactId>ojdbc6</artifactId>
  153. <version>11.2.0.3</version>
  154. <scope>runtime</scope>
  155. </dependency>
  156. <!-- postgresql驱动 -->
  157. <dependency>
  158. <groupId>org.postgresql</groupId>
  159. <artifactId>postgresql</artifactId>
  160. <version>42.2.6</version>
  161. <scope>runtime</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.hibernate</groupId>
  165. <artifactId>hibernate-re</artifactId>
  166. <version>2.1.5</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.hibernate</groupId>
  170. <artifactId>hibernate-core</artifactId>
  171. <exclusions>
  172. <exclusion>
  173. <groupId>commons-collections</groupId>
  174. <artifactId>commons-collections</artifactId>
  175. </exclusion>
  176. </exclusions>
  177. </dependency>
  178. <!-- Quartz定时任务 -->
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-quartz</artifactId>
  182. </dependency>
  183. <!--JWT-->
  184. <dependency>
  185. <groupId>com.auth0</groupId>
  186. <artifactId>java-jwt</artifactId>
  187. <version>3.7.0</version>
  188. </dependency>
  189. <!--shiro-->
  190. <dependency>
  191. <groupId>org.apache.shiro</groupId>
  192. <artifactId>shiro-spring-boot-starter</artifactId>
  193. <version>1.4.0</version>
  194. </dependency>
  195. <!-- shiro-redis -->
  196. <dependency>
  197. <groupId>org.crazycake</groupId>
  198. <artifactId>shiro-redis</artifactId>
  199. <version>3.1.0</version>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>org.apache.shiro</groupId>
  203. <artifactId>shiro-core</artifactId>
  204. </exclusion>
  205. <exclusion>
  206. <artifactId>guava</artifactId>
  207. <groupId>com.google.guava</groupId>
  208. </exclusion>
  209. </exclusions>
  210. </dependency>
  211. <!-- Swagger API文档 -->
  212. <dependency>
  213. <groupId>io.springfox</groupId>
  214. <artifactId>springfox-swagger2</artifactId>
  215. <version>2.9.2</version>
  216. <exclusions>
  217. <exclusion>
  218. <artifactId>swagger-annotations</artifactId>
  219. <groupId>io.swagger</groupId>
  220. </exclusion>
  221. <exclusion>
  222. <artifactId>swagger-models</artifactId>
  223. <groupId>io.swagger</groupId>
  224. </exclusion>
  225. <exclusion>
  226. <artifactId>guava</artifactId>
  227. <groupId>com.google.guava</groupId>
  228. </exclusion>
  229. </exclusions>
  230. </dependency>
  231. <dependency>
  232. <groupId>io.springfox</groupId>
  233. <artifactId>springfox-swagger-ui</artifactId>
  234. <version>2.9.2</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>com.github.xiaoymin</groupId>
  238. <artifactId>swagger-bootstrap-ui</artifactId>
  239. <version>1.9.3</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>io.springfox</groupId>
  243. <artifactId>springfox-bean-validators</artifactId>
  244. <version>2.9.2</version>
  245. <exclusions>
  246. <exclusion>
  247. <artifactId>guava</artifactId>
  248. <groupId>com.google.guava</groupId>
  249. </exclusion>
  250. </exclusions>
  251. </dependency>
  252. <!-- # 增加两个配置解决 NumberFormatException -->
  253. <dependency>
  254. <groupId>io.swagger</groupId>
  255. <artifactId>swagger-annotations</artifactId>
  256. <version>1.5.22</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>io.swagger</groupId>
  260. <artifactId>swagger-models</artifactId>
  261. <version>1.5.22</version>
  262. </dependency>
  263. <!-- Redis -->
  264. <dependency>
  265. <groupId>org.springframework.boot</groupId>
  266. <artifactId>spring-boot-starter-data-redis</artifactId>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.apache.commons</groupId>
  270. <artifactId>commons-pool2</artifactId>
  271. </dependency>
  272. <!-- 代码生成器 -->
  273. <!-- 如果下载失败,看这个链接http://jeecg-boot.mydoc.io/?t=345672 -->
  274. <dependency>
  275. <groupId>org.jeecgframework.boot</groupId>
  276. <artifactId>codegenerate</artifactId>
  277. <version>1.2.0</version>
  278. </dependency>
  279. <!-- AutoPoi Excel工具类-->
  280. <dependency>
  281. <groupId>org.jeecgframework</groupId>
  282. <artifactId>autopoi-web</artifactId>
  283. <version>1.1.1</version>
  284. <exclusions>
  285. <exclusion>
  286. <groupId>commons-codec</groupId>
  287. <artifactId>commons-codec</artifactId>
  288. </exclusion>
  289. </exclusions>
  290. </dependency>
  291. <dependency>
  292. <groupId>cn.hutool</groupId>
  293. <artifactId>hutool-all</artifactId>
  294. <version>5.0.7</version>
  295. </dependency>
  296. <!-- mini文件存储服务 -->
  297. <dependency>
  298. <groupId>io.minio</groupId>
  299. <artifactId>minio</artifactId>
  300. <version>4.0.0</version>
  301. <exclusions>
  302. <exclusion>
  303. <artifactId>guava</artifactId>
  304. <groupId>com.google.guava</groupId>
  305. </exclusion>
  306. <exclusion>
  307. <artifactId>jsr305</artifactId>
  308. <groupId>com.google.code.findbugs</groupId>
  309. </exclusion>
  310. </exclusions>
  311. </dependency>
  312. <dependency>
  313. <groupId>com.google.guava</groupId>
  314. <artifactId>guava</artifactId>
  315. <version>${guava.version}</version>
  316. </dependency>
  317. <!-- 阿里云短信 -->
  318. <dependency>
  319. <groupId>com.aliyun</groupId>
  320. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  321. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  322. </dependency>
  323. <!-- websocket -->
  324. <dependency>
  325. <groupId>org.springframework.boot</groupId>
  326. <artifactId>spring-boot-starter-websocket</artifactId>
  327. </dependency>
  328. <!-- aliyun oss -->
  329. <dependency>
  330. <groupId>com.aliyun.oss</groupId>
  331. <artifactId>aliyun-sdk-oss</artifactId>
  332. <version>${aliyun.oss.version}</version>
  333. </dependency>
  334. <!-- 第三方登录 -->
  335. <dependency>
  336. <groupId>com.xkcoding.justauth</groupId>
  337. <artifactId>justauth-spring-boot-starter</artifactId>
  338. <version>1.3.2</version>
  339. <exclusions>
  340. <exclusion>
  341. <artifactId>fastjson</artifactId>
  342. <groupId>com.alibaba</groupId>
  343. </exclusion>
  344. </exclusions>
  345. </dependency>
  346. </dependencies>
  347. <dependencyManagement>
  348. <dependencies>
  349. <!-- jeecg-boot-base-common -->
  350. <dependency>
  351. <groupId>org.jeecgframework.boot</groupId>
  352. <artifactId>jeecg-boot-base-common</artifactId>
  353. <version>${jeecgboot.version}</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>org.jeecgframework.boot</groupId>
  357. <artifactId>jeecg-boot-module-activiti</artifactId>
  358. <version>${jeecgboot.version}</version>
  359. </dependency>
  360. <!-- 七牛云SDK -->
  361. <dependency>
  362. <groupId>com.qiniu</groupId>
  363. <artifactId>qiniu-java-sdk</artifactId>
  364. <version>7.2.23</version>
  365. </dependency>
  366. </dependencies>
  367. </dependencyManagement>
  368. <build>
  369. <plugins>
  370. <!--<plugin>
  371. <groupId>org.springframework.boot</groupId>
  372. <artifactId>spring-boot-maven-plugin</artifactId>
  373. </plugin>
  374. 指定JDK编译版本 -->
  375. <plugin>
  376. <groupId>org.apache.maven.plugins</groupId>
  377. <artifactId>maven-compiler-plugin</artifactId>
  378. <configuration>
  379. <source>1.8</source>
  380. <target>1.8</target>
  381. <encoding>UTF-8</encoding>
  382. </configuration>
  383. </plugin>
  384. <!-- 打包跳过测试 -->
  385. <plugin>
  386. <groupId>org.apache.maven.plugins</groupId>
  387. <artifactId>maven-surefire-plugin</artifactId>
  388. <configuration>
  389. <skipTests>true</skipTests>
  390. </configuration>
  391. </plugin>
  392. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  393. <plugin>
  394. <groupId>org.apache.maven.plugins</groupId>
  395. <artifactId>maven-resources-plugin</artifactId>
  396. <configuration>
  397. <nonFilteredFileExtensions>
  398. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  399. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  400. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  401. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  402. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  403. </nonFilteredFileExtensions>
  404. </configuration>
  405. </plugin>
  406. </plugins>
  407. <resources>
  408. <resource>
  409. <directory>src/main/resources</directory>
  410. <filtering>true</filtering>
  411. </resource>
  412. <resource>
  413. <directory>src/main/java</directory>
  414. <includes>
  415. <include>**/*.xml</include>
  416. <include>**/*.json</include>
  417. <include>**/*.ftl</include>
  418. </includes>
  419. </resource>
  420. </resources>
  421. </build>
  422. </project>