pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  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>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.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. <!-- 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.60</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. <!-- Quartz定时任务 -->
  164. <dependency>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-starter-quartz</artifactId>
  167. </dependency>
  168. <!--JWT-->
  169. <dependency>
  170. <groupId>com.auth0</groupId>
  171. <artifactId>java-jwt</artifactId>
  172. <version>3.7.0</version>
  173. </dependency>
  174. <!--shiro-->
  175. <dependency>
  176. <groupId>org.apache.shiro</groupId>
  177. <artifactId>shiro-spring-boot-starter</artifactId>
  178. <version>1.4.0</version>
  179. </dependency>
  180. <!-- shiro-redis -->
  181. <dependency>
  182. <groupId>org.crazycake</groupId>
  183. <artifactId>shiro-redis</artifactId>
  184. <version>3.1.0</version>
  185. <exclusions>
  186. <exclusion>
  187. <groupId>org.apache.shiro</groupId>
  188. <artifactId>shiro-core</artifactId>
  189. </exclusion>
  190. </exclusions>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.hibernate</groupId>
  194. <artifactId>hibernate-re</artifactId>
  195. <version>2.1.4</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.hibernate</groupId>
  199. <artifactId>hibernate-core</artifactId>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>commons-collections</groupId>
  203. <artifactId>commons-collections</artifactId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <!-- Swagger API文档 -->
  208. <dependency>
  209. <groupId>io.springfox</groupId>
  210. <artifactId>springfox-swagger2</artifactId>
  211. <version>2.9.2</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>io.springfox</groupId>
  215. <artifactId>springfox-swagger-ui</artifactId>
  216. <version>2.9.2</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>com.github.xiaoymin</groupId>
  220. <artifactId>swagger-bootstrap-ui</artifactId>
  221. <version>1.9.3</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>io.springfox</groupId>
  225. <artifactId>springfox-bean-validators</artifactId>
  226. <version>2.9.2</version>
  227. </dependency>
  228. <!-- # 增加两个配置解决 NumberFormatException -->
  229. <dependency>
  230. <groupId>io.swagger</groupId>
  231. <artifactId>swagger-annotations</artifactId>
  232. <version>1.5.22</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>io.swagger</groupId>
  236. <artifactId>swagger-models</artifactId>
  237. <version>1.5.22</version>
  238. </dependency>
  239. <!-- Redis -->
  240. <dependency>
  241. <groupId>org.springframework.boot</groupId>
  242. <artifactId>spring-boot-starter-data-redis</artifactId>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.apache.commons</groupId>
  246. <artifactId>commons-pool2</artifactId>
  247. </dependency>
  248. <!-- 代码生成器 -->
  249. <!-- 如果下载失败,看这个链接http://jeecg-boot.mydoc.io/?t=345672 -->
  250. <dependency>
  251. <groupId>org.jeecgframework.boot</groupId>
  252. <artifactId>codegenerate</artifactId>
  253. <version>1.1.0</version>
  254. </dependency>
  255. <!-- AutoPoi Excel工具类-->
  256. <dependency>
  257. <groupId>org.jeecgframework</groupId>
  258. <artifactId>autopoi-web</artifactId>
  259. <version>1.0.5</version>
  260. <exclusions>
  261. <exclusion>
  262. <groupId>commons-codec</groupId>
  263. <artifactId>commons-codec</artifactId>
  264. </exclusion>
  265. </exclusions>
  266. </dependency>
  267. <dependency>
  268. <groupId>cn.hutool</groupId>
  269. <artifactId>hutool-all</artifactId>
  270. <version>4.5.11</version>
  271. </dependency>
  272. <!-- mini文件存储服务 -->
  273. <dependency>
  274. <groupId>io.minio</groupId>
  275. <artifactId>minio</artifactId>
  276. <version>4.0.0</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.google.guava</groupId>
  280. <artifactId>guava</artifactId>
  281. <version>${guava.version}</version>
  282. </dependency>
  283. <!-- 阿里云短信 -->
  284. <dependency>
  285. <groupId>com.aliyun</groupId>
  286. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  287. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>com.aliyun</groupId>
  291. <artifactId>aliyun-java-sdk-core</artifactId>
  292. <version>${aliyun-java-sdk-core.version}</version>
  293. </dependency>
  294. <!--HttpClient-->
  295. <dependency>
  296. <groupId>org.apache.httpcomponents</groupId>
  297. <artifactId>httpclient</artifactId>
  298. <version>4.5.3</version>
  299. </dependency>
  300. <!-- websocket -->
  301. <dependency>
  302. <groupId>org.springframework.boot</groupId>
  303. <artifactId>spring-boot-starter-websocket</artifactId>
  304. </dependency>
  305. <!-- starter-jdbc -->
  306. <dependency>
  307. <groupId>org.springframework.boot</groupId>
  308. <artifactId>spring-boot-starter-jdbc</artifactId>
  309. </dependency>
  310. <dependency>
  311. <groupId>commons-dbcp</groupId>
  312. <artifactId>commons-dbcp</artifactId>
  313. <version>1.4</version>
  314. <scope>compile</scope>
  315. </dependency>
  316. <!-- aliyun oss -->
  317. <dependency>
  318. <groupId>com.aliyun.oss</groupId>
  319. <artifactId>aliyun-sdk-oss</artifactId>
  320. <version>${aliyun.oss.version}</version>
  321. </dependency>
  322. </dependencies>
  323. <dependencyManagement>
  324. <dependencies>
  325. <!-- jeecg-boot-base-common -->
  326. <dependency>
  327. <groupId>org.jeecgframework.boot</groupId>
  328. <artifactId>jeecg-boot-base-common</artifactId>
  329. <version>${jeecgboot.common.version}</version>
  330. </dependency>
  331. <!-- 七牛云SDK -->
  332. <dependency>
  333. <groupId>com.qiniu</groupId>
  334. <artifactId>qiniu-java-sdk</artifactId>
  335. <version>7.2.23</version>
  336. </dependency>
  337. </dependencies>
  338. </dependencyManagement>
  339. <build>
  340. <plugins>
  341. <!--<plugin>
  342. <groupId>org.springframework.boot</groupId>
  343. <artifactId>spring-boot-maven-plugin</artifactId>
  344. </plugin>
  345. 指定JDK编译版本 -->
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-compiler-plugin</artifactId>
  349. <configuration>
  350. <source>1.8</source>
  351. <target>1.8</target>
  352. <encoding>UTF-8</encoding>
  353. </configuration>
  354. </plugin>
  355. <!-- 打包跳过测试 -->
  356. <plugin>
  357. <groupId>org.apache.maven.plugins</groupId>
  358. <artifactId>maven-surefire-plugin</artifactId>
  359. <configuration>
  360. <skipTests>true</skipTests>
  361. </configuration>
  362. </plugin>
  363. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  364. <plugin>
  365. <groupId>org.apache.maven.plugins</groupId>
  366. <artifactId>maven-resources-plugin</artifactId>
  367. <configuration>
  368. <nonFilteredFileExtensions>
  369. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  370. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  371. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  372. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  373. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  374. </nonFilteredFileExtensions>
  375. </configuration>
  376. </plugin>
  377. </plugins>
  378. <resources>
  379. <resource>
  380. <directory>src/main/resources</directory>
  381. <filtering>true</filtering>
  382. </resource>
  383. <resource>
  384. <directory>src/main/java</directory>
  385. <includes>
  386. <include>**/*.xml</include>
  387. <include>**/*.json</include>
  388. <include>**/*.ftl</include>
  389. </includes>
  390. </resource>
  391. </resources>
  392. </build>
  393. </project>