pom.xml 9.9 KB

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