pom.xml 12 KB

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