pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>data-service</artifactId>
  7. <groupId>cn.com.taiji</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>duty-service</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-data-redis</artifactId>
  24. <version>2.2.13.RELEASE</version>
  25. </dependency>
  26. <!--AOP-->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-aop</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.commons</groupId>
  33. <artifactId>commons-pool2</artifactId>
  34. <version>2.6.1</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-devtools</artifactId>
  39. <scope>runtime</scope>
  40. <optional>true</optional>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. <optional>true</optional>
  46. <version>1.18.20</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>fastjson</artifactId>
  51. <version>1.2.75</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>cn.hutool</groupId>
  55. <artifactId>hutool-all</artifactId>
  56. <version>5.6.6</version>
  57. </dependency>
  58. <!-- 海康SDK -->
  59. <dependency>
  60. <groupId>com.hikvision.ga</groupId>
  61. <artifactId>artemis-http-client</artifactId>
  62. <version>1.1.3</version>
  63. </dependency>
  64. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  65. <dependency>
  66. <groupId>io.swagger</groupId>
  67. <artifactId>swagger-models</artifactId>
  68. <version>1.6.2</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.springfox</groupId>
  72. <artifactId>springfox-boot-starter</artifactId>
  73. <version>3.0.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.github.xiaoymin</groupId>
  77. <artifactId>knife4j-spring-ui</artifactId>
  78. <version>3.0.3</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.plugin</groupId>
  82. <artifactId>spring-plugin-core</artifactId>
  83. <version>2.0.0.RELEASE</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.plugin</groupId>
  87. <artifactId>spring-plugin-metadata</artifactId>
  88. <version>2.0.0.RELEASE</version>
  89. </dependency>
  90. <!-- Mysql驱动包 -->
  91. <dependency>
  92. <groupId>mysql</groupId>
  93. <artifactId>mysql-connector-java</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>druid-spring-boot-starter</artifactId>
  98. <version>1.1.22</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.mybatis</groupId>
  102. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  103. <version>1.0.1</version>
  104. </dependency>
  105. <!-- mybatis-plus -->
  106. <dependency>
  107. <groupId>com.baomidou</groupId>
  108. <artifactId>mybatis-plus-boot-starter</artifactId>
  109. <version>3.4.3</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.baomidou</groupId>
  113. <artifactId>mybatis-plus-annotation</artifactId>
  114. <version>3.4.3</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.baomidou</groupId>
  118. <artifactId>mybatis-plus-extension</artifactId>
  119. <version>3.4.3</version>
  120. </dependency>
  121. <!-- pagehelper 分页插件 -->
  122. <dependency>
  123. <groupId>com.github.pagehelper</groupId>
  124. <artifactId>pagehelper</artifactId>
  125. <version>5.2.1</version>
  126. </dependency>
  127. <!-- mybatis plus 代码生成器依赖 -->
  128. <dependency>
  129. <groupId>com.baomidou</groupId>
  130. <artifactId>mybatis-plus-generator</artifactId>
  131. <version>3.4.1</version>
  132. </dependency>
  133. <!-- 代码生成器模板 -->
  134. <dependency>
  135. <groupId>org.freemarker</groupId>
  136. <artifactId>freemarker</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.alibaba</groupId>
  140. <artifactId>easyexcel</artifactId>
  141. <version>2.2.8</version>
  142. </dependency>
  143. <!-- 解析客户端操作系统、浏览器等 -->
  144. <dependency>
  145. <groupId>eu.bitwalker</groupId>
  146. <artifactId>UserAgentUtils</artifactId>
  147. <version>1.21</version>
  148. </dependency>
  149. </dependencies>
  150. <build>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <configuration>
  156. <source>1.8</source>
  157. <target>1.8</target>
  158. <encoding>utf-8</encoding>
  159. </configuration>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-maven-plugin</artifactId>
  164. <configuration>
  165. <!--fork:设置True,否则可能devtools不会起作用-->
  166. <fork>true</fork>
  167. <!-- 指定该Main Class为全局的唯一入口 -->
  168. <mainClass>cn.com.taiji.duty.DutyApplication</mainClass>
  169. <layout>ZIP</layout>
  170. </configuration>
  171. <executions>
  172. <execution>
  173. <goals>
  174. <goal>repackage</goal>
  175. </goals>
  176. </execution>
  177. </executions>
  178. </plugin>
  179. </plugins>
  180. <resources>
  181. <resource>
  182. <directory>src/main/resources</directory>
  183. <filtering>true</filtering>
  184. </resource>
  185. </resources>
  186. </build>
  187. </project>