pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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.0.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. <repositories>
  18. <repository>
  19. <id>aliyun</id>
  20. <name>aliyun Repository</name>
  21. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  22. <snapshots>
  23. <enabled>false</enabled>
  24. </snapshots>
  25. </repository>
  26. <repository>
  27. <id>jeecg</id>
  28. <name>jeecg Repository</name>
  29. <url>http://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  30. <snapshots>
  31. <enabled>false</enabled>
  32. </snapshots>
  33. </repository>
  34. </repositories>
  35. <properties>
  36. <jeecgboot.common.version>2.0.2</jeecgboot.common.version>
  37. <java.version>1.8</java.version>
  38. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <mybatis-plus.version>3.1.2</mybatis-plus.version>
  41. <druid.version>1.1.17</druid.version>
  42. <jwt.version>0.9.1</jwt.version>
  43. <commons.version>2.6</commons.version>
  44. <aliyun-java-sdk-core.version>3.2.3</aliyun-java-sdk-core.version>
  45. <aliyun-java-sdk-dysmsapi.version>1.0.0</aliyun-java-sdk-dysmsapi.version>
  46. </properties>
  47. <dependencies>
  48. <!--集成springmvc框架并实现自动配置 -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-web</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-mail</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-aop</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-actuator</artifactId>
  69. </dependency>
  70. <!-- <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-devtools</artifactId>
  73. <optional>true</optional>
  74. </dependency> -->
  75. <!-- commons -->
  76. <dependency>
  77. <groupId>commons-io</groupId>
  78. <artifactId>commons-io</artifactId>
  79. <version>${commons.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>commons-lang</groupId>
  83. <artifactId>commons-lang</artifactId>
  84. <version>${commons.version}</version>
  85. </dependency>
  86. <!-- freemarker -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-freemarker</artifactId>
  90. </dependency>
  91. <!-- Lombok -->
  92. <dependency>
  93. <groupId>org.projectlombok</groupId>
  94. <artifactId>lombok</artifactId>
  95. </dependency>
  96. <!-- mybatis-plus -->
  97. <dependency>
  98. <groupId>com.baomidou</groupId>
  99. <artifactId>mybatis-plus-boot-starter</artifactId>
  100. <version>${mybatis-plus.version}</version>
  101. </dependency>
  102. <!-- druid -->
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>druid-spring-boot-starter</artifactId>
  106. <version>${druid.version}</version>
  107. </dependency>
  108. <!-- 动态数据源 -->
  109. <dependency>
  110. <groupId>com.baomidou</groupId>
  111. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  112. <version>2.5.4</version>
  113. </dependency>
  114. <!-- json -->
  115. <dependency>
  116. <groupId>com.alibaba</groupId>
  117. <artifactId>fastjson</artifactId>
  118. <version>1.2.56</version>
  119. </dependency>
  120. <!--mysql-->
  121. <dependency>
  122. <groupId>mysql</groupId>
  123. <artifactId>mysql-connector-java</artifactId>
  124. <version>5.1.47</version>
  125. <scope>runtime</scope>
  126. </dependency>
  127. <!-- sqlserver-->
  128. <dependency>
  129. <groupId>com.microsoft.sqlserver</groupId>
  130. <artifactId>sqljdbc4</artifactId>
  131. <version>4.0</version>
  132. <scope>runtime</scope>
  133. </dependency>
  134. <!-- oracle驱动 -->
  135. <dependency>
  136. <groupId>com.oracle</groupId>
  137. <artifactId>ojdbc6</artifactId>
  138. <version>11.2.0.3</version>
  139. <scope>runtime</scope>
  140. </dependency>
  141. <!-- Quartz定时任务 -->
  142. <dependency>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-starter-quartz</artifactId>
  145. </dependency>
  146. <!--JWT-->
  147. <dependency>
  148. <groupId>com.auth0</groupId>
  149. <artifactId>java-jwt</artifactId>
  150. <version>3.7.0</version>
  151. </dependency>
  152. <!--shiro-->
  153. <dependency>
  154. <groupId>org.apache.shiro</groupId>
  155. <artifactId>shiro-spring-boot-starter</artifactId>
  156. <version>1.4.0</version>
  157. </dependency>
  158. <!-- Swagger API文档 -->
  159. <dependency>
  160. <groupId>io.springfox</groupId>
  161. <artifactId>springfox-swagger2</artifactId>
  162. <version>2.9.2</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.springfox</groupId>
  166. <artifactId>springfox-swagger-ui</artifactId>
  167. <version>2.9.2</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.github.xiaoymin</groupId>
  171. <artifactId>swagger-bootstrap-ui</artifactId>
  172. <version>1.9.3</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>io.springfox</groupId>
  176. <artifactId>springfox-bean-validators</artifactId>
  177. <version>2.9.2</version>
  178. </dependency>
  179. <!-- Redis -->
  180. <dependency>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-starter-data-redis</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.apache.commons</groupId>
  186. <artifactId>commons-pool2</artifactId>
  187. </dependency>
  188. <!-- 代码生成器 -->
  189. <!-- 如果下载失败,看这个链接http://jeecg-boot.mydoc.io/?t=345672 -->
  190. <dependency>
  191. <groupId>org.jeecgframework.boot</groupId>
  192. <artifactId>codegenerate</artifactId>
  193. <version>1.0.5</version>
  194. </dependency>
  195. <!-- AutoPoi Excel工具类-->
  196. <dependency>
  197. <groupId>org.jeecgframework</groupId>
  198. <artifactId>autopoi-web</artifactId>
  199. <version>1.0.3</version>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>commons-codec</groupId>
  203. <artifactId>commons-codec</artifactId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <dependency>
  208. <groupId>cn.hutool</groupId>
  209. <artifactId>hutool-all</artifactId>
  210. <version>4.5.11</version>
  211. </dependency>
  212. <!-- 阿里云短信 -->
  213. <dependency>
  214. <groupId>com.aliyun</groupId>
  215. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  216. <version>${aliyun-java-sdk-dysmsapi.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>com.aliyun</groupId>
  220. <artifactId>aliyun-java-sdk-core</artifactId>
  221. <version>${aliyun-java-sdk-core.version}</version>
  222. </dependency>
  223. </dependencies>
  224. <dependencyManagement>
  225. <dependencies>
  226. <!-- jeecg-boot-base-common -->
  227. <dependency>
  228. <groupId>org.jeecgframework.boot</groupId>
  229. <artifactId>jeecg-boot-base-common</artifactId>
  230. <version>${jeecgboot.common.version}</version>
  231. </dependency>
  232. </dependencies>
  233. </dependencyManagement>
  234. <build>
  235. <plugins>
  236. <!--<plugin>
  237. <groupId>org.springframework.boot</groupId>
  238. <artifactId>spring-boot-maven-plugin</artifactId>
  239. </plugin>
  240. 指定JDK编译版本 -->
  241. <plugin>
  242. <groupId>org.apache.maven.plugins</groupId>
  243. <artifactId>maven-compiler-plugin</artifactId>
  244. <configuration>
  245. <source>1.8</source>
  246. <target>1.8</target>
  247. <encoding>UTF-8</encoding>
  248. </configuration>
  249. </plugin>
  250. <!-- 打包跳过测试 -->
  251. <plugin>
  252. <groupId>org.apache.maven.plugins</groupId>
  253. <artifactId>maven-surefire-plugin</artifactId>
  254. <configuration>
  255. <skipTests>true</skipTests>
  256. </configuration>
  257. </plugin>
  258. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  259. <plugin>
  260. <groupId>org.apache.maven.plugins</groupId>
  261. <artifactId>maven-resources-plugin</artifactId>
  262. <configuration>
  263. <nonFilteredFileExtensions>
  264. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  265. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  266. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  267. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  268. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  269. </nonFilteredFileExtensions>
  270. </configuration>
  271. </plugin>
  272. </plugins>
  273. <resources>
  274. <resource>
  275. <directory>src/main/resources</directory>
  276. <filtering>true</filtering>
  277. </resource>
  278. <resource>
  279. <directory>src/main/java</directory>
  280. <includes>
  281. <include>**/*.xml</include>
  282. <include>**/*.json</include>
  283. <include>**/*.ftl</include>
  284. </includes>
  285. </resource>
  286. </resources>
  287. </build>
  288. </project>