pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  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.1.4</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>https://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  23. </repository>
  24. <snapshotRepository>
  25. <id>jeecg-snapshots</id>
  26. <name>jeecg Snapshot Repository</name>
  27. <url>https://maven.jeecg.org/nexus/content/repositories/snapshots/</url>
  28. </snapshotRepository>
  29. </distributionManagement>
  30. <repositories>
  31. <repository>
  32. <id>aliyun</id>
  33. <name>aliyun Repository</name>
  34. <url>https://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>https://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  43. <snapshots>
  44. <enabled>false</enabled>
  45. </snapshots>
  46. </repository>
  47. </repositories>
  48. <properties>
  49. <jeecgboot.common.version>2.1.4</jeecgboot.common.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. <!--<dependency>-->
  91. <!--<groupId>org.springframework.boot</groupId>-->
  92. <!--<artifactId>spring-boot-devtools</artifactId>-->
  93. <!--<optional>true</optional>-->
  94. <!--</dependency>-->
  95. <!-- commons -->
  96. <dependency>
  97. <groupId>commons-io</groupId>
  98. <artifactId>commons-io</artifactId>
  99. <version>${commons.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>commons-lang</groupId>
  103. <artifactId>commons-lang</artifactId>
  104. <version>${commons.version}</version>
  105. </dependency>
  106. <!-- freemarker -->
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-freemarker</artifactId>
  110. </dependency>
  111. <!-- Lombok -->
  112. <dependency>
  113. <groupId>org.projectlombok</groupId>
  114. <artifactId>lombok</artifactId>
  115. </dependency>
  116. <!-- mybatis-plus -->
  117. <dependency>
  118. <groupId>com.baomidou</groupId>
  119. <artifactId>mybatis-plus-boot-starter</artifactId>
  120. <version>${mybatis-plus.version}</version>
  121. </dependency>
  122. <!-- druid -->
  123. <dependency>
  124. <groupId>com.alibaba</groupId>
  125. <artifactId>druid-spring-boot-starter</artifactId>
  126. <version>${druid.version}</version>
  127. </dependency>
  128. <!-- 动态数据源 -->
  129. <dependency>
  130. <groupId>com.baomidou</groupId>
  131. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  132. <version>2.5.4</version>
  133. </dependency>
  134. <!-- json -->
  135. <dependency>
  136. <groupId>com.alibaba</groupId>
  137. <artifactId>fastjson</artifactId>
  138. <version>1.2.60</version>
  139. </dependency>
  140. <!--mysql-->
  141. <dependency>
  142. <groupId>mysql</groupId>
  143. <artifactId>mysql-connector-java</artifactId>
  144. <version>5.1.47</version>
  145. <scope>runtime</scope>
  146. </dependency>
  147. <!-- sqlserver-->
  148. <dependency>
  149. <groupId>com.microsoft.sqlserver</groupId>
  150. <artifactId>sqljdbc4</artifactId>
  151. <version>4.0</version>
  152. <scope>runtime</scope>
  153. </dependency>
  154. <!-- oracle驱动 -->
  155. <dependency>
  156. <groupId>com.oracle</groupId>
  157. <artifactId>ojdbc6</artifactId>
  158. <version>11.2.0.3</version>
  159. <scope>runtime</scope>
  160. </dependency>
  161. <!-- postgresql驱动 -->
  162. <dependency>
  163. <groupId>org.postgresql</groupId>
  164. <artifactId>postgresql</artifactId>
  165. <version>42.2.6</version>
  166. <scope>runtime</scope>
  167. </dependency>
  168. <!-- Quartz定时任务 -->
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-starter-quartz</artifactId>
  172. </dependency>
  173. <!--JWT-->
  174. <dependency>
  175. <groupId>com.auth0</groupId>
  176. <artifactId>java-jwt</artifactId>
  177. <version>3.7.0</version>
  178. </dependency>
  179. <!--shiro-->
  180. <dependency>
  181. <groupId>org.apache.shiro</groupId>
  182. <artifactId>shiro-spring-boot-starter</artifactId>
  183. <version>1.4.0</version>
  184. </dependency>
  185. <!-- shiro-redis -->
  186. <dependency>
  187. <groupId>org.crazycake</groupId>
  188. <artifactId>shiro-redis</artifactId>
  189. <version>3.1.0</version>
  190. <exclusions>
  191. <exclusion>
  192. <groupId>org.apache.shiro</groupId>
  193. <artifactId>shiro-core</artifactId>
  194. </exclusion>
  195. </exclusions>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.hibernate</groupId>
  199. <artifactId>hibernate-re</artifactId>
  200. <version>2.1.4</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.hibernate</groupId>
  204. <artifactId>hibernate-core</artifactId>
  205. <exclusions>
  206. <exclusion>
  207. <groupId>commons-collections</groupId>
  208. <artifactId>commons-collections</artifactId>
  209. </exclusion>
  210. </exclusions>
  211. </dependency>
  212. <!-- Swagger API文档 -->
  213. <dependency>
  214. <groupId>io.springfox</groupId>
  215. <artifactId>springfox-swagger2</artifactId>
  216. <version>2.9.2</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>io.springfox</groupId>
  220. <artifactId>springfox-swagger-ui</artifactId>
  221. <version>2.9.2</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.github.xiaoymin</groupId>
  225. <artifactId>swagger-bootstrap-ui</artifactId>
  226. <version>1.9.3</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>io.springfox</groupId>
  230. <artifactId>springfox-bean-validators</artifactId>
  231. <version>2.9.2</version>
  232. </dependency>
  233. <!-- # 增加两个配置解决 NumberFormatException -->
  234. <dependency>
  235. <groupId>io.swagger</groupId>
  236. <artifactId>swagger-annotations</artifactId>
  237. <version>1.5.22</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>io.swagger</groupId>
  241. <artifactId>swagger-models</artifactId>
  242. <version>1.5.22</version>
  243. </dependency>
  244. <!-- Redis -->
  245. <dependency>
  246. <groupId>org.springframework.boot</groupId>
  247. <artifactId>spring-boot-starter-data-redis</artifactId>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.apache.commons</groupId>
  251. <artifactId>commons-pool2</artifactId>
  252. </dependency>
  253. <!-- 代码生成器 -->
  254. <!-- 如果下载失败,看这个链接http://jeecg-boot.mydoc.io/?t=345672 -->
  255. <dependency>
  256. <groupId>org.jeecgframework.boot</groupId>
  257. <artifactId>codegenerate</artifactId>
  258. <version>1.1.0</version>
  259. </dependency>
  260. <!-- AutoPoi Excel工具类-->
  261. <dependency>
  262. <groupId>org.jeecgframework</groupId>
  263. <artifactId>autopoi-web</artifactId>
  264. <version>1.0.5</version>
  265. <exclusions>
  266. <exclusion>
  267. <groupId>commons-codec</groupId>
  268. <artifactId>commons-codec</artifactId>
  269. </exclusion>
  270. </exclusions>
  271. </dependency>
  272. <dependency>
  273. <groupId>cn.hutool</groupId>
  274. <artifactId>hutool-all</artifactId>
  275. <version>4.5.11</version>
  276. </dependency>
  277. <!-- mini文件存储服务 -->
  278. <dependency>
  279. <groupId>io.minio</groupId>
  280. <artifactId>minio</artifactId>
  281. <version>4.0.0</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>com.google.guava</groupId>
  285. <artifactId>guava</artifactId>
  286. <version>${guava.version}</version>
  287. </dependency>
  288. <!-- 阿里云短信 -->
  289. <dependency>
  290. <groupId>com.aliyun</groupId>
  291. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  292. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>com.aliyun</groupId>
  296. <artifactId>aliyun-java-sdk-core</artifactId>
  297. <version>${aliyun-java-sdk-core.version}</version>
  298. </dependency>
  299. <!--HttpClient-->
  300. <dependency>
  301. <groupId>org.apache.httpcomponents</groupId>
  302. <artifactId>httpclient</artifactId>
  303. <version>4.5.3</version>
  304. </dependency>
  305. <!-- websocket -->
  306. <dependency>
  307. <groupId>org.springframework.boot</groupId>
  308. <artifactId>spring-boot-starter-websocket</artifactId>
  309. </dependency>
  310. <!-- starter-jdbc -->
  311. <dependency>
  312. <groupId>org.springframework.boot</groupId>
  313. <artifactId>spring-boot-starter-jdbc</artifactId>
  314. </dependency>
  315. <dependency>
  316. <groupId>commons-dbcp</groupId>
  317. <artifactId>commons-dbcp</artifactId>
  318. <version>1.4</version>
  319. <scope>compile</scope>
  320. </dependency>
  321. <!-- aliyun oss -->
  322. <dependency>
  323. <groupId>com.aliyun.oss</groupId>
  324. <artifactId>aliyun-sdk-oss</artifactId>
  325. <version>${aliyun.oss.version}</version>
  326. </dependency>
  327. </dependencies>
  328. <dependencyManagement>
  329. <dependencies>
  330. <!-- jeecg-boot-base-common -->
  331. <dependency>
  332. <groupId>org.jeecgframework.boot</groupId>
  333. <artifactId>jeecg-boot-base-common</artifactId>
  334. <version>${jeecgboot.common.version}</version>
  335. </dependency>
  336. <!-- 七牛云SDK -->
  337. <dependency>
  338. <groupId>com.qiniu</groupId>
  339. <artifactId>qiniu-java-sdk</artifactId>
  340. <version>7.2.23</version>
  341. </dependency>
  342. </dependencies>
  343. </dependencyManagement>
  344. <build>
  345. <plugins>
  346. <!--<plugin>
  347. <groupId>org.springframework.boot</groupId>
  348. <artifactId>spring-boot-maven-plugin</artifactId>
  349. </plugin>
  350. 指定JDK编译版本 -->
  351. <plugin>
  352. <groupId>org.apache.maven.plugins</groupId>
  353. <artifactId>maven-compiler-plugin</artifactId>
  354. <configuration>
  355. <source>1.8</source>
  356. <target>1.8</target>
  357. <encoding>UTF-8</encoding>
  358. </configuration>
  359. </plugin>
  360. <!-- 打包跳过测试 -->
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-surefire-plugin</artifactId>
  364. <configuration>
  365. <skipTests>true</skipTests>
  366. </configuration>
  367. </plugin>
  368. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  369. <plugin>
  370. <groupId>org.apache.maven.plugins</groupId>
  371. <artifactId>maven-resources-plugin</artifactId>
  372. <configuration>
  373. <nonFilteredFileExtensions>
  374. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  375. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  376. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  377. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  378. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  379. </nonFilteredFileExtensions>
  380. </configuration>
  381. </plugin>
  382. </plugins>
  383. <resources>
  384. <resource>
  385. <directory>src/main/resources</directory>
  386. <filtering>true</filtering>
  387. </resource>
  388. <resource>
  389. <directory>src/main/java</directory>
  390. <includes>
  391. <include>**/*.xml</include>
  392. <include>**/*.json</include>
  393. <include>**/*.ftl</include>
  394. </includes>
  395. </resource>
  396. </resources>
  397. </build>
  398. </project>