pom.xml 12 KB

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