pom.xml 9.3 KB

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