pom.xml 12 KB

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