pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-aop</artifactId>
  39. <version>${spring-booot-aop.version}</version>
  40. <!-- 不会打入依赖 -->
  41. <scope>provided</scope>
  42. <exclusions>
  43. <exclusion>
  44. <artifactId>spring-beans</artifactId>
  45. <groupId>org.springframework</groupId>
  46. </exclusion>
  47. <exclusion>
  48. <artifactId>spring-core</artifactId>
  49. <groupId>org.springframework</groupId>
  50. </exclusion>
  51. <exclusion>
  52. <artifactId>slf4j-api</artifactId>
  53. <groupId>org.slf4j</groupId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <!--<dependency>
  58. <groupId>com.alibaba</groupId>
  59. <artifactId>druid</artifactId>
  60. <version>1.0.29</version>
  61. </dependency>-->
  62. <dependency>
  63. <groupId>mysql</groupId>
  64. <artifactId>mysql-connector-java</artifactId>
  65. <version>8.0.15</version>
  66. </dependency>
  67. <!--postgresql-->
  68. <!-- <dependency>
  69. <groupId>org.postgresql</groupId>
  70. <artifactId>postgresql</artifactId>
  71. <version>42.2.5</version>
  72. </dependency>-->
  73. <dependency>
  74. <groupId>org.mybatis</groupId>
  75. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  76. <version>1.0.2</version>
  77. </dependency>
  78. <!-- Mybatis -->
  79. <dependency>
  80. <groupId>org.mybatis.spring.boot</groupId>
  81. <artifactId>mybatis-spring-boot-starter</artifactId>
  82. <version>${mybatis-springboot.version}</version>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>org.slf4j</groupId>
  86. <artifactId>slf4j-api</artifactId>
  87. </exclusion>
  88. <exclusion>
  89. <groupId>org.apache.tomcat</groupId>
  90. <artifactId>tomcat-jdbc</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>org.apache.tomcat</groupId>
  94. <artifactId>tomcat-juli</artifactId>
  95. </exclusion>
  96. <exclusion>
  97. <artifactId>spring-beans</artifactId>
  98. <groupId>org.springframework</groupId>
  99. </exclusion>
  100. <exclusion>
  101. <artifactId>spring-core</artifactId>
  102. <groupId>org.springframework</groupId>
  103. </exclusion>
  104. <exclusion>
  105. <artifactId>spring-boot-autoconfigure</artifactId>
  106. <groupId>org.springframework.boot</groupId>
  107. </exclusion>
  108. <exclusion>
  109. <artifactId>spring-boot-starter</artifactId>
  110. <groupId>org.springframework.boot</groupId>
  111. </exclusion>
  112. <exclusion>
  113. <artifactId>spring-boot-starter-jdbc</artifactId>
  114. <groupId>org.springframework.boot</groupId>
  115. </exclusion>
  116. </exclusions>
  117. </dependency>
  118. <!--mapper-->
  119. <dependency>
  120. <groupId>tk.mybatis</groupId>
  121. <artifactId>mapper-spring-boot-starter</artifactId>
  122. <version>${mapper.starter.version}</version>
  123. <exclusions>
  124. <exclusion>
  125. <artifactId>mybatis</artifactId>
  126. <groupId>org.mybatis</groupId>
  127. </exclusion>
  128. <exclusion>
  129. <artifactId>mybatis-spring</artifactId>
  130. <groupId>org.mybatis</groupId>
  131. </exclusion>
  132. <exclusion>
  133. <artifactId>spring-boot-autoconfigure</artifactId>
  134. <groupId>org.springframework.boot</groupId>
  135. </exclusion>
  136. <exclusion>
  137. <artifactId>spring-boot-starter</artifactId>
  138. <groupId>org.springframework.boot</groupId>
  139. </exclusion>
  140. <exclusion>
  141. <artifactId>spring-beans</artifactId>
  142. <groupId>org.springframework</groupId>
  143. </exclusion>
  144. <exclusion>
  145. <artifactId>spring-core</artifactId>
  146. <groupId>org.springframework</groupId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. <!--<dependency>-->
  151. <dependency>
  152. <groupId>com.github.pagehelper</groupId>
  153. <artifactId>pagehelper-spring-boot-starter</artifactId>
  154. <version>${pagehelper.version}</version>
  155. <exclusions>
  156. <exclusion>
  157. <artifactId>mybatis-spring-boot-starter</artifactId>
  158. <groupId>org.mybatis.spring.boot</groupId>
  159. </exclusion>
  160. <exclusion>
  161. <artifactId>spring-boot-autoconfigure</artifactId>
  162. <groupId>org.springframework.boot</groupId>
  163. </exclusion>
  164. <exclusion>
  165. <artifactId>spring-boot-starter</artifactId>
  166. <groupId>org.springframework.boot</groupId>
  167. </exclusion>
  168. </exclusions>
  169. </dependency>
  170. <!-- Druid -->
  171. <dependency>
  172. <groupId>com.alibaba</groupId>
  173. <artifactId>druid-spring-boot-starter</artifactId>
  174. <version>${druid-springboot.version}</version>
  175. <exclusions>
  176. <exclusion>
  177. <artifactId>spring-boot</artifactId>
  178. <groupId>org.springframework.boot</groupId>
  179. </exclusion>
  180. <exclusion>
  181. <artifactId>spring-boot-autoconfigure</artifactId>
  182. <groupId>org.springframework.boot</groupId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <dependency>
  187. <groupId>javax.persistence</groupId>
  188. <artifactId>persistence-api</artifactId>
  189. <version>1.0</version>
  190. </dependency>
  191. <!-- https://mvnrepository.com/artifact/org.json/json -->
  192. <dependency>
  193. <groupId>org.json</groupId>
  194. <artifactId>json</artifactId>
  195. <version>20180130</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.springframework.data</groupId>
  199. <artifactId>spring-data-commons</artifactId>
  200. <version>${spring-data-commons.version}</version>
  201. </dependency>
  202. <!--Lombok-->
  203. <dependency>
  204. <groupId>org.projectlombok</groupId>
  205. <artifactId>lombok</artifactId>
  206. <version>${lombok.version}</version>
  207. <scope>provided</scope>
  208. </dependency>
  209. <!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api -->
  210. <dependency>
  211. <groupId>javax.servlet</groupId>
  212. <artifactId>servlet-api</artifactId>
  213. <version>2.5</version>
  214. <scope>provided</scope>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.springframework.boot</groupId>
  218. <artifactId>spring-boot-starter-quartz</artifactId>
  219. </dependency>
  220. <!--常用库依赖 -->
  221. <dependency>
  222. <groupId>com.google.guava</groupId>
  223. <artifactId>guava</artifactId>
  224. <version>23.0</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>com.google.code.gson</groupId>
  228. <artifactId>gson</artifactId>
  229. <version>2.8.2</version>
  230. </dependency>
  231. </dependencies>
  232. <build>
  233. <finalName>platform-dao</finalName>
  234. <resources>
  235. <resource>
  236. <directory>src/main/java</directory>
  237. <includes>
  238. <include>**/*.yml</include>
  239. <include>**/*.properties</include>
  240. <include>**/*.xml</include>
  241. </includes>
  242. <filtering>false</filtering>
  243. </resource>
  244. <resource>
  245. <directory>src/main/resources</directory>
  246. <includes>
  247. <include>**/*.yml</include>
  248. <include>**/*.properties</include>
  249. <include>**/*.xml</include>
  250. </includes>
  251. <filtering>false</filtering>
  252. </resource>
  253. </resources>
  254. </build>
  255. </project>