pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-aop</artifactId>
  75. <version>${spring-booot-aop.version}</version>
  76. <!-- 不会打入依赖 -->
  77. <scope>provided</scope>
  78. <exclusions>
  79. <exclusion>
  80. <artifactId>spring-beans</artifactId>
  81. <groupId>org.springframework</groupId>
  82. </exclusion>
  83. <exclusion>
  84. <artifactId>spring-core</artifactId>
  85. <groupId>org.springframework</groupId>
  86. </exclusion>
  87. <exclusion>
  88. <artifactId>slf4j-api</artifactId>
  89. <groupId>org.slf4j</groupId>
  90. </exclusion>
  91. </exclusions>
  92. </dependency>
  93. <!--<dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>druid</artifactId>
  96. <version>1.0.29</version>
  97. </dependency>-->
  98. <dependency>
  99. <groupId>mysql</groupId>
  100. <artifactId>mysql-connector-java</artifactId>
  101. <version>8.0.15</version>
  102. </dependency>
  103. <!--postgresql-->
  104. <!-- <dependency>
  105. <groupId>org.postgresql</groupId>
  106. <artifactId>postgresql</artifactId>
  107. <version>42.2.5</version>
  108. </dependency>-->
  109. <dependency>
  110. <groupId>org.mybatis</groupId>
  111. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  112. <version>1.0.2</version>
  113. </dependency>
  114. <!-- Mybatis -->
  115. <dependency>
  116. <groupId>org.mybatis.spring.boot</groupId>
  117. <artifactId>mybatis-spring-boot-starter</artifactId>
  118. <version>${mybatis-springboot.version}</version>
  119. <exclusions>
  120. <exclusion>
  121. <groupId>org.slf4j</groupId>
  122. <artifactId>slf4j-api</artifactId>
  123. </exclusion>
  124. <exclusion>
  125. <groupId>org.apache.tomcat</groupId>
  126. <artifactId>tomcat-jdbc</artifactId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>org.apache.tomcat</groupId>
  130. <artifactId>tomcat-juli</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <artifactId>spring-beans</artifactId>
  134. <groupId>org.springframework</groupId>
  135. </exclusion>
  136. <exclusion>
  137. <artifactId>spring-core</artifactId>
  138. <groupId>org.springframework</groupId>
  139. </exclusion>
  140. <exclusion>
  141. <artifactId>spring-boot-autoconfigure</artifactId>
  142. <groupId>org.springframework.boot</groupId>
  143. </exclusion>
  144. <exclusion>
  145. <artifactId>spring-boot-starter</artifactId>
  146. <groupId>org.springframework.boot</groupId>
  147. </exclusion>
  148. <exclusion>
  149. <artifactId>spring-boot-starter-jdbc</artifactId>
  150. <groupId>org.springframework.boot</groupId>
  151. </exclusion>
  152. </exclusions>
  153. </dependency>
  154. <!--mapper-->
  155. <dependency>
  156. <groupId>tk.mybatis</groupId>
  157. <artifactId>mapper-spring-boot-starter</artifactId>
  158. <version>${mapper.starter.version}</version>
  159. <exclusions>
  160. <exclusion>
  161. <artifactId>mybatis</artifactId>
  162. <groupId>org.mybatis</groupId>
  163. </exclusion>
  164. <exclusion>
  165. <artifactId>mybatis-spring</artifactId>
  166. <groupId>org.mybatis</groupId>
  167. </exclusion>
  168. <exclusion>
  169. <artifactId>spring-boot-autoconfigure</artifactId>
  170. <groupId>org.springframework.boot</groupId>
  171. </exclusion>
  172. <exclusion>
  173. <artifactId>spring-boot-starter</artifactId>
  174. <groupId>org.springframework.boot</groupId>
  175. </exclusion>
  176. <exclusion>
  177. <artifactId>spring-beans</artifactId>
  178. <groupId>org.springframework</groupId>
  179. </exclusion>
  180. <exclusion>
  181. <artifactId>spring-core</artifactId>
  182. <groupId>org.springframework</groupId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <!--<dependency>-->
  187. <dependency>
  188. <groupId>com.github.pagehelper</groupId>
  189. <artifactId>pagehelper-spring-boot-starter</artifactId>
  190. <version>${pagehelper.version}</version>
  191. <exclusions>
  192. <exclusion>
  193. <artifactId>mybatis-spring-boot-starter</artifactId>
  194. <groupId>org.mybatis.spring.boot</groupId>
  195. </exclusion>
  196. <exclusion>
  197. <artifactId>spring-boot-autoconfigure</artifactId>
  198. <groupId>org.springframework.boot</groupId>
  199. </exclusion>
  200. <exclusion>
  201. <artifactId>spring-boot-starter</artifactId>
  202. <groupId>org.springframework.boot</groupId>
  203. </exclusion>
  204. </exclusions>
  205. </dependency>
  206. <!-- Druid -->
  207. <dependency>
  208. <groupId>com.alibaba</groupId>
  209. <artifactId>druid-spring-boot-starter</artifactId>
  210. <version>${druid-springboot.version}</version>
  211. <exclusions>
  212. <exclusion>
  213. <artifactId>spring-boot</artifactId>
  214. <groupId>org.springframework.boot</groupId>
  215. </exclusion>
  216. <exclusion>
  217. <artifactId>spring-boot-autoconfigure</artifactId>
  218. <groupId>org.springframework.boot</groupId>
  219. </exclusion>
  220. </exclusions>
  221. </dependency>
  222. <dependency>
  223. <groupId>javax.persistence</groupId>
  224. <artifactId>persistence-api</artifactId>
  225. <version>1.0</version>
  226. </dependency>
  227. <!-- https://mvnrepository.com/artifact/org.json/json -->
  228. <dependency>
  229. <groupId>org.json</groupId>
  230. <artifactId>json</artifactId>
  231. <version>20180130</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.springframework.data</groupId>
  235. <artifactId>spring-data-commons</artifactId>
  236. <version>${spring-data-commons.version}</version>
  237. </dependency>
  238. <!--Lombok-->
  239. <dependency>
  240. <groupId>org.projectlombok</groupId>
  241. <artifactId>lombok</artifactId>
  242. <version>${lombok.version}</version>
  243. <scope>provided</scope>
  244. </dependency>
  245. <!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api -->
  246. <dependency>
  247. <groupId>javax.servlet</groupId>
  248. <artifactId>servlet-api</artifactId>
  249. <version>2.5</version>
  250. <scope>provided</scope>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.springframework.boot</groupId>
  254. <artifactId>spring-boot-starter-quartz</artifactId>
  255. </dependency>
  256. <!--常用库依赖 -->
  257. <dependency>
  258. <groupId>com.google.guava</groupId>
  259. <artifactId>guava</artifactId>
  260. <version>23.0</version>
  261. <exclusions>
  262. <exclusion>
  263. <artifactId>commons-lang</artifactId>
  264. <groupId>commons-lang</groupId>
  265. </exclusion>
  266. </exclusions>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.google.code.gson</groupId>
  270. <artifactId>gson</artifactId>
  271. <version>2.8.5</version>
  272. </dependency>
  273. </dependencies>
  274. <build>
  275. <finalName>platform-dao</finalName>
  276. <resources>
  277. <resource>
  278. <directory>src/main/java</directory>
  279. <includes>
  280. <include>**/*.yml</include>
  281. <include>**/*.properties</include>
  282. <include>**/*.xml</include>
  283. </includes>
  284. <filtering>false</filtering>
  285. </resource>
  286. <resource>
  287. <directory>src/main/resources</directory>
  288. <includes>
  289. <include>**/*.yml</include>
  290. <include>**/*.properties</include>
  291. <include>**/*.xml</include>
  292. </includes>
  293. <filtering>false</filtering>
  294. </resource>
  295. </resources>
  296. </build>
  297. </project>