pom.xml 9.7 KB

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