pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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. <parent>
  5. <artifactId>spring-boot-sb-base</artifactId>
  6. <groupId>com.platform</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <packaging>jar</packaging>
  11. <artifactId>platform-dao</artifactId>
  12. <name>platform-dao</name>
  13. <url>http://www.example.com</url>
  14. <properties>
  15. <spring-booot-aop.version>2.1.6.RELEASE</spring-booot-aop.version>
  16. <spring-data-commons.version>2.1.6.RELEASE</spring-data-commons.version>
  17. <mysql-connector.version>5.1.35</mysql-connector.version>
  18. <java-connector.version>11.2.0.3</java-connector.version>
  19. <mybatis-springboot.version>2.0.1</mybatis-springboot.version>
  20. <druid-springboot.version>1.1.17</druid-springboot.version>
  21. <pagehelper.version>1.2.3</pagehelper.version>
  22. <mapper.starter.version>2.1.5</mapper.starter.version>
  23. <pagehelper.starter.version>1.2.5</pagehelper.starter.version>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>com.platform</groupId>
  28. <artifactId>platform-common</artifactId>
  29. <version>1.0-SNAPSHOT</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.platform</groupId>
  33. <artifactId>platform-office</artifactId>
  34. <version>1.0-SNAPSHOT</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.influxdb</groupId>
  38. <artifactId>influxdb-client-java</artifactId>
  39. <version>3.1.0</version>
  40. <exclusions>
  41. <!--排除okhttp3的依赖-->
  42. <exclusion>
  43. <groupId>com.squareup.okhttp3</groupId>
  44. <artifactId>*</artifactId>
  45. </exclusion>
  46. <exclusion>
  47. <groupId>com.squareup.okio</groupId>
  48. <artifactId>okio</artifactId>
  49. </exclusion>
  50. <exclusion>
  51. <groupId>org.jetbrains.kotlin</groupId>
  52. <artifactId>kotlin-stdlib-common</artifactId>
  53. </exclusion>
  54. </exclusions>
  55. </dependency>
  56. <!-- 重新指定okhttp3版本-->
  57. <dependency>
  58. <groupId>com.squareup.okhttp3</groupId>
  59. <artifactId>okhttp</artifactId>
  60. <version>4.0.1</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.squareup.okhttp3</groupId>
  64. <artifactId>logging-interceptor</artifactId>
  65. <version>4.0.1</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.jetbrains.kotlin</groupId>
  69. <artifactId>kotlin-stdlib</artifactId>
  70. <version>1.3.50</version>
  71. </dependency>
  72. <!-- socket -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-websocket</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-aop</artifactId>
  80. <version>${spring-booot-aop.version}</version>
  81. <!-- 不会打入依赖 -->
  82. <scope>provided</scope>
  83. <exclusions>
  84. <exclusion>
  85. <artifactId>spring-beans</artifactId>
  86. <groupId>org.springframework</groupId>
  87. </exclusion>
  88. <exclusion>
  89. <artifactId>spring-core</artifactId>
  90. <groupId>org.springframework</groupId>
  91. </exclusion>
  92. <exclusion>
  93. <artifactId>slf4j-api</artifactId>
  94. <groupId>org.slf4j</groupId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <!--<dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>druid</artifactId>
  101. <version>1.0.29</version>
  102. </dependency>-->
  103. <dependency>
  104. <groupId>mysql</groupId>
  105. <artifactId>mysql-connector-java</artifactId>
  106. <version>8.0.15</version>
  107. </dependency>
  108. <!--postgresql-->
  109. <!-- <dependency>
  110. <groupId>org.postgresql</groupId>
  111. <artifactId>postgresql</artifactId>
  112. <version>42.2.5</version>
  113. </dependency>-->
  114. <dependency>
  115. <groupId>org.mybatis</groupId>
  116. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  117. <version>1.0.2</version>
  118. </dependency>
  119. <!-- Mybatis -->
  120. <dependency>
  121. <groupId>org.mybatis.spring.boot</groupId>
  122. <artifactId>mybatis-spring-boot-starter</artifactId>
  123. <version>${mybatis-springboot.version}</version>
  124. <exclusions>
  125. <exclusion>
  126. <groupId>org.slf4j</groupId>
  127. <artifactId>slf4j-api</artifactId>
  128. </exclusion>
  129. <exclusion>
  130. <groupId>org.apache.tomcat</groupId>
  131. <artifactId>tomcat-jdbc</artifactId>
  132. </exclusion>
  133. <exclusion>
  134. <groupId>org.apache.tomcat</groupId>
  135. <artifactId>tomcat-juli</artifactId>
  136. </exclusion>
  137. <exclusion>
  138. <artifactId>spring-beans</artifactId>
  139. <groupId>org.springframework</groupId>
  140. </exclusion>
  141. <exclusion>
  142. <artifactId>spring-core</artifactId>
  143. <groupId>org.springframework</groupId>
  144. </exclusion>
  145. <exclusion>
  146. <artifactId>spring-boot-autoconfigure</artifactId>
  147. <groupId>org.springframework.boot</groupId>
  148. </exclusion>
  149. <exclusion>
  150. <artifactId>spring-boot-starter</artifactId>
  151. <groupId>org.springframework.boot</groupId>
  152. </exclusion>
  153. <exclusion>
  154. <artifactId>spring-boot-starter-jdbc</artifactId>
  155. <groupId>org.springframework.boot</groupId>
  156. </exclusion>
  157. </exclusions>
  158. </dependency>
  159. <!--mapper-->
  160. <dependency>
  161. <groupId>tk.mybatis</groupId>
  162. <artifactId>mapper-spring-boot-starter</artifactId>
  163. <version>${mapper.starter.version}</version>
  164. <exclusions>
  165. <exclusion>
  166. <artifactId>mybatis</artifactId>
  167. <groupId>org.mybatis</groupId>
  168. </exclusion>
  169. <exclusion>
  170. <artifactId>mybatis-spring</artifactId>
  171. <groupId>org.mybatis</groupId>
  172. </exclusion>
  173. <exclusion>
  174. <artifactId>spring-boot-autoconfigure</artifactId>
  175. <groupId>org.springframework.boot</groupId>
  176. </exclusion>
  177. <exclusion>
  178. <artifactId>spring-boot-starter</artifactId>
  179. <groupId>org.springframework.boot</groupId>
  180. </exclusion>
  181. <exclusion>
  182. <artifactId>spring-beans</artifactId>
  183. <groupId>org.springframework</groupId>
  184. </exclusion>
  185. <exclusion>
  186. <artifactId>spring-core</artifactId>
  187. <groupId>org.springframework</groupId>
  188. </exclusion>
  189. </exclusions>
  190. </dependency>
  191. <!--<dependency>-->
  192. <dependency>
  193. <groupId>com.github.pagehelper</groupId>
  194. <artifactId>pagehelper-spring-boot-starter</artifactId>
  195. <version>${pagehelper.version}</version>
  196. <exclusions>
  197. <exclusion>
  198. <artifactId>mybatis-spring-boot-starter</artifactId>
  199. <groupId>org.mybatis.spring.boot</groupId>
  200. </exclusion>
  201. <exclusion>
  202. <artifactId>spring-boot-autoconfigure</artifactId>
  203. <groupId>org.springframework.boot</groupId>
  204. </exclusion>
  205. <exclusion>
  206. <artifactId>spring-boot-starter</artifactId>
  207. <groupId>org.springframework.boot</groupId>
  208. </exclusion>
  209. </exclusions>
  210. </dependency>
  211. <!-- Druid -->
  212. <dependency>
  213. <groupId>com.alibaba</groupId>
  214. <artifactId>druid-spring-boot-starter</artifactId>
  215. <version>${druid-springboot.version}</version>
  216. <exclusions>
  217. <exclusion>
  218. <artifactId>spring-boot</artifactId>
  219. <groupId>org.springframework.boot</groupId>
  220. </exclusion>
  221. <exclusion>
  222. <artifactId>spring-boot-autoconfigure</artifactId>
  223. <groupId>org.springframework.boot</groupId>
  224. </exclusion>
  225. </exclusions>
  226. </dependency>
  227. <dependency>
  228. <groupId>javax.persistence</groupId>
  229. <artifactId>persistence-api</artifactId>
  230. <version>1.0</version>
  231. </dependency>
  232. <!-- https://mvnrepository.com/artifact/org.json/json -->
  233. <dependency>
  234. <groupId>org.json</groupId>
  235. <artifactId>json</artifactId>
  236. <version>20180130</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.springframework.data</groupId>
  240. <artifactId>spring-data-commons</artifactId>
  241. <version>${spring-data-commons.version}</version>
  242. </dependency>
  243. <!--Lombok-->
  244. <dependency>
  245. <groupId>org.projectlombok</groupId>
  246. <artifactId>lombok</artifactId>
  247. <version>${lombok.version}</version>
  248. <scope>provided</scope>
  249. </dependency>
  250. <!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api -->
  251. <dependency>
  252. <groupId>javax.servlet</groupId>
  253. <artifactId>servlet-api</artifactId>
  254. <version>2.5</version>
  255. <scope>provided</scope>
  256. </dependency>
  257. <dependency>
  258. <groupId>org.springframework.boot</groupId>
  259. <artifactId>spring-boot-starter-quartz</artifactId>
  260. </dependency>
  261. <!--常用库依赖 -->
  262. <dependency>
  263. <groupId>com.google.guava</groupId>
  264. <artifactId>guava</artifactId>
  265. <version>23.0</version>
  266. <exclusions>
  267. <exclusion>
  268. <artifactId>commons-lang</artifactId>
  269. <groupId>commons-lang</groupId>
  270. </exclusion>
  271. </exclusions>
  272. </dependency>
  273. <dependency>
  274. <groupId>com.google.code.gson</groupId>
  275. <artifactId>gson</artifactId>
  276. <version>2.8.5</version>
  277. </dependency>
  278. </dependencies>
  279. <build>
  280. <finalName>platform-dao</finalName>
  281. <resources>
  282. <resource>
  283. <directory>src/main/java</directory>
  284. <includes>
  285. <include>**/*.yml</include>
  286. <include>**/*.properties</include>
  287. <include>**/*.xml</include>
  288. </includes>
  289. <filtering>false</filtering>
  290. </resource>
  291. <resource>
  292. <directory>src/main/resources</directory>
  293. <includes>
  294. <include>**/*.yml</include>
  295. <include>**/*.properties</include>
  296. <include>**/*.xml</include>
  297. </includes>
  298. <filtering>false</filtering>
  299. </resource>
  300. </resources>
  301. </build>
  302. </project>