pom.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.gd</groupId>
  7. <artifactId>server</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <groupId>com.gd</groupId>
  11. <artifactId>bussiness</artifactId>
  12. <version>1.0.0</version>
  13. <name>business</name>
  14. <description>业务管理系统</description>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  20. <pagehelper.spring.boot.starter.version>1.4.6</pagehelper.spring.boot.starter.version>
  21. <fastjson.version>2.0.25</fastjson.version>
  22. <druid.version>1.2.16</druid.version>
  23. <commons.io.version>2.11.0</commons.io.version>
  24. <commons.collections.version>3.2.2</commons.collections.version>
  25. <bitwalker.version>1.21</bitwalker.version>
  26. <jwt.version>0.9.1</jwt.version>
  27. <kaptcha.version>2.3.3</kaptcha.version>
  28. <swagger.version>3.0.0</swagger.version>
  29. <poi.version>4.1.2</poi.version>
  30. <oshi.version>6.4.0</oshi.version>
  31. <velocity.version>2.3</velocity.version>
  32. </properties>
  33. <dependencies>
  34. <!-- SpringBoot 核心包 -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter</artifactId>
  38. </dependency>
  39. <!-- SpringBoot 测试 -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <!-- SpringBoot 拦截器 -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-aop</artifactId>
  49. </dependency>
  50. <!-- SpringBoot Web容器 -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-web</artifactId>
  54. </dependency>
  55. <!-- spring-boot-devtools -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-devtools</artifactId>
  59. <optional>true</optional> <!-- 表示依赖不会传递 -->
  60. </dependency>
  61. <!-- spring security 安全认证 -->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-security</artifactId>
  65. </dependency>
  66. <!-- redis 缓存操作 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-data-redis</artifactId>
  70. </dependency>
  71. <!-- pool 对象池 -->
  72. <dependency>
  73. <groupId>org.apache.commons</groupId>
  74. <artifactId>commons-pool2</artifactId>
  75. </dependency>
  76. <!-- Mysql驱动包 -->
  77. <dependency>
  78. <groupId>mysql</groupId>
  79. <artifactId>mysql-connector-java</artifactId>
  80. <scope>runtime</scope>
  81. </dependency>
  82. <!-- pagehelper 分页插件 -->
  83. <dependency>
  84. <groupId>com.github.pagehelper</groupId>
  85. <artifactId>pagehelper-spring-boot-starter</artifactId>
  86. <version>${pagehelper.spring.boot.starter.version}</version>
  87. </dependency>
  88. <!-- 阿里数据库连接池 -->
  89. <dependency>
  90. <groupId>com.alibaba</groupId>
  91. <artifactId>druid-spring-boot-starter</artifactId>
  92. <version>${druid.version}</version>
  93. </dependency>
  94. <!-- 自定义验证注解 -->
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-validation</artifactId>
  98. </dependency>
  99. <!-- 常用工具类 -->
  100. <dependency>
  101. <groupId>org.apache.commons</groupId>
  102. <artifactId>commons-lang3</artifactId>
  103. </dependency>
  104. <!-- io常用工具类 -->
  105. <dependency>
  106. <groupId>commons-io</groupId>
  107. <artifactId>commons-io</artifactId>
  108. <version>${commons.io.version}</version>
  109. </dependency>
  110. <!-- 解析客户端操作系统、浏览器等 -->
  111. <dependency>
  112. <groupId>eu.bitwalker</groupId>
  113. <artifactId>UserAgentUtils</artifactId>
  114. <version>${bitwalker.version}</version>
  115. </dependency>
  116. <!-- 阿里JSON解析器 -->
  117. <dependency>
  118. <groupId>com.alibaba.fastjson2</groupId>
  119. <artifactId>fastjson2</artifactId>
  120. <version>${fastjson.version}</version>
  121. </dependency>
  122. <!-- Spring框架基本的核心工具-->
  123. <dependency>
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-context-support</artifactId>
  126. </dependency>
  127. <!-- Token生成与解析-->
  128. <dependency>
  129. <groupId>io.jsonwebtoken</groupId>
  130. <artifactId>jjwt</artifactId>
  131. <version>${jwt.version}</version>
  132. </dependency>
  133. <!-- Jaxb -->
  134. <dependency>
  135. <groupId>javax.xml.bind</groupId>
  136. <artifactId>jaxb-api</artifactId>
  137. </dependency>
  138. <!-- Swagger3依赖 -->
  139. <dependency>
  140. <groupId>io.springfox</groupId>
  141. <artifactId>springfox-boot-starter</artifactId>
  142. <version>${swagger.version}</version>
  143. <exclusions>
  144. <exclusion>
  145. <groupId>io.swagger</groupId>
  146. <artifactId>swagger-models</artifactId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  151. <dependency>
  152. <groupId>io.swagger</groupId>
  153. <artifactId>swagger-models</artifactId>
  154. <version>1.6.2</version>
  155. </dependency>
  156. <!-- 获取系统信息 -->
  157. <dependency>
  158. <groupId>com.github.oshi</groupId>
  159. <artifactId>oshi-core</artifactId>
  160. <version>${oshi.version}</version>
  161. </dependency>
  162. <!-- excel工具 -->
  163. <dependency>
  164. <groupId>org.apache.poi</groupId>
  165. <artifactId>poi-ooxml</artifactId>
  166. <version>${poi.version}</version>
  167. </dependency>
  168. <!-- velocity代码生成使用模板 -->
  169. <dependency>
  170. <groupId>org.apache.velocity</groupId>
  171. <artifactId>velocity-engine-core</artifactId>
  172. <version>${velocity.version}</version>
  173. </dependency>
  174. <!-- collections工具类 -->
  175. <dependency>
  176. <groupId>commons-collections</groupId>
  177. <artifactId>commons-collections</artifactId>
  178. <version>${commons.collections.version}</version>
  179. </dependency>
  180. <!-- 定时任务 -->
  181. <dependency>
  182. <groupId>org.quartz-scheduler</groupId>
  183. <artifactId>quartz</artifactId>
  184. <exclusions>
  185. <exclusion>
  186. <groupId>com.mchange</groupId>
  187. <artifactId>c3p0</artifactId>
  188. </exclusion>
  189. </exclusions>
  190. </dependency>
  191. <!-- 验证码 -->
  192. <dependency>
  193. <groupId>pro.fessional</groupId>
  194. <artifactId>kaptcha</artifactId>
  195. <version>${kaptcha.version}</version>
  196. <exclusions>
  197. <exclusion>
  198. <artifactId>javax.servlet-api</artifactId>
  199. <groupId>javax.servlet</groupId>
  200. </exclusion>
  201. </exclusions>
  202. </dependency>
  203. <!-- SpringBoot 邮件 -->
  204. <dependency>
  205. <groupId>org.springframework.boot</groupId>
  206. <artifactId>spring-boot-starter-mail</artifactId>
  207. </dependency>
  208. </dependencies>
  209. <build>
  210. <finalName>${project.artifactId}</finalName>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.springframework.boot</groupId>
  214. <artifactId>spring-boot-maven-plugin</artifactId>
  215. <configuration>
  216. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  217. </configuration>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. <repositories>
  222. <repository>
  223. <id>public</id>
  224. <name>aliyun nexus</name>
  225. <url>https://maven.aliyun.com/repository/public</url>
  226. <releases>
  227. <enabled>true</enabled>
  228. </releases>
  229. </repository>
  230. </repositories>
  231. <pluginRepositories>
  232. <pluginRepository>
  233. <id>public</id>
  234. <name>aliyun nexus</name>
  235. <url>https://maven.aliyun.com/repository/public</url>
  236. <releases>
  237. <enabled>true</enabled>
  238. </releases>
  239. <snapshots>
  240. <enabled>false</enabled>
  241. </snapshots>
  242. </pluginRepository>
  243. </pluginRepositories>
  244. </project>