pom.xml 11 KB

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