pom.xml 12 KB

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