pom.xml 9.3 KB

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