pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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. <groupId>com.platform</groupId>
  6. <artifactId>dubbo-service</artifactId>
  7. <version>1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>dubbo-service-interface</artifactId>
  11. <name>dubbo-service-interface</name>
  12. <packaging>jar</packaging>
  13. <!-- FIXME change it to the project's website -->
  14. <url>http://www.example.com</url>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>junit</groupId>
  23. <artifactId>junit</artifactId>
  24. <version>4.11</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.hutool</groupId>
  29. <artifactId>hutool-all</artifactId>
  30. <version>4.1.12</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>javax.servlet</groupId>
  34. <artifactId>jsp-api</artifactId>
  35. <version>2.0</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>redis.clients</groupId>
  39. <artifactId>jedis</artifactId>
  40. <version>2.9.0</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.google.code.gson</groupId>
  44. <artifactId>gson</artifactId>
  45. <version>2.8.5</version>
  46. </dependency>
  47. <!-- 七牛云图片上传SDK -->
  48. <dependency>
  49. <groupId>com.qiniu</groupId>
  50. <artifactId>qiniu-java-sdk</artifactId>
  51. <version>7.2.26</version>
  52. </dependency>
  53. <!-- 文件上传组件 -->
  54. <dependency>
  55. <groupId>commons-fileupload</groupId>
  56. <artifactId>commons-fileupload</artifactId>
  57. <version>1.3.3</version>
  58. </dependency>
  59. <!-- Httpclient -->
  60. <dependency>
  61. <groupId>org.apache.httpcomponents</groupId>
  62. <artifactId>httpclient</artifactId>
  63. <version>4.5.3</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.squareup.okhttp3</groupId>
  67. <artifactId>okhttp</artifactId>
  68. <version>3.14.4</version>
  69. </dependency>
  70. <!--spring相关-->
  71. <dependency>
  72. <groupId>org.springframework</groupId>
  73. <artifactId>spring-webmvc</artifactId>
  74. <version>5.1.10.RELEASE</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework</groupId>
  78. <artifactId>spring-context-support</artifactId>
  79. <version>5.1.10.RELEASE</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework</groupId>
  83. <artifactId>spring-jms</artifactId>
  84. <version>5.1.10.RELEASE</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework</groupId>
  88. <artifactId>spring-jdbc</artifactId>
  89. <version>5.1.10.RELEASE</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework</groupId>
  93. <artifactId>spring-aspects</artifactId>
  94. <version>5.1.10.RELEASE</version>
  95. </dependency>
  96. <!-- Apache工具组件 -->
  97. <dependency>
  98. <groupId>org.apache.commons</groupId>
  99. <artifactId>commons-lang3</artifactId>
  100. <version>3.3.2</version>
  101. </dependency>
  102. <!--Elasticsearch-->
  103. <dependency>
  104. <groupId>org.elasticsearch.client</groupId>
  105. <artifactId>transport</artifactId>
  106. <version>6.2.3</version>
  107. </dependency>
  108. <!-- Mail -->
  109. <dependency>
  110. <groupId>javax.mail</groupId>
  111. <artifactId>mail</artifactId>
  112. <version>1.5.0-b01</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.github.pagehelper</groupId>
  116. <artifactId>pagehelper</artifactId>
  117. <version>4.1.6</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.activemq</groupId>
  121. <artifactId>activemq-all</artifactId>
  122. <version>5.11.2</version>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>org.slf4j</groupId>
  126. <artifactId>slf4j-log4j12</artifactId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>org.slf4j</groupId>
  130. <artifactId>slf4j-api</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>log4j</groupId>
  134. <artifactId>log4j</artifactId>
  135. </exclusion>
  136. </exclusions>
  137. </dependency>
  138. <dependency>
  139. <groupId>javax.jms</groupId>
  140. <artifactId>javax.jms-api</artifactId>
  141. <version>2.0.1</version>
  142. </dependency>
  143. <!-- 连接池 -->
  144. <dependency>
  145. <groupId>com.alibaba</groupId>
  146. <artifactId>druid</artifactId>
  147. <version>1.1.4</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>mysql</groupId>
  151. <artifactId>mysql-connector-java</artifactId>
  152. <version>5.1.44</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.mybatis</groupId>
  156. <artifactId>mybatis</artifactId>
  157. <version>3.4.5</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.mybatis</groupId>
  161. <artifactId>mybatis-spring</artifactId>
  162. <version>1.3.1</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework.data</groupId>
  166. <artifactId>spring-data-commons</artifactId>
  167. <version>2.1.11.RELEASE</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>io.swagger</groupId>
  171. <artifactId>swagger-annotations</artifactId>
  172. <version>1.5.20</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.hibernate.validator</groupId>
  176. <artifactId>hibernate-validator</artifactId>
  177. <version>[6.0.18,)</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.security</groupId>
  181. <artifactId>spring-security-core</artifactId>
  182. <version>5.1.6.RELEASE</version>
  183. </dependency>
  184. <!--JWT(Json Web Token)登录支持-->
  185. <dependency>
  186. <groupId>io.jsonwebtoken</groupId>
  187. <artifactId>jjwt</artifactId>
  188. <version>0.9.0</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.aliyun.oss</groupId>
  192. <artifactId>aliyun-sdk-oss</artifactId>
  193. <version>3.4.1</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>net.logstash.logback</groupId>
  197. <artifactId>logstash-logback-encoder</artifactId>
  198. <version>4.8</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-starter-json</artifactId>
  203. <version>2.1.9.RELEASE</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.github.binarywang</groupId>
  207. <artifactId>weixin-java-miniapp</artifactId>
  208. <version>3.3.0</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.github.qcloudsms</groupId>
  212. <artifactId>qcloudsms</artifactId>
  213. <version>1.0.5</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.google.guava</groupId>
  217. <artifactId>guava</artifactId>
  218. <version>28.0-jre</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.qcloud</groupId>
  222. <artifactId>cos_api</artifactId>
  223. <version>5.4.4</version>
  224. <exclusions>
  225. <exclusion>
  226. <artifactId>slf4j-log4j12</artifactId>
  227. <groupId>org.slf4j</groupId>
  228. </exclusion>
  229. </exclusions>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.github.binarywang</groupId>
  233. <artifactId>weixin-java-pay</artifactId>
  234. <version>3.3.0</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.powermock</groupId>
  238. <artifactId>powermock-api-mockito</artifactId>
  239. <version>1.6.6</version>
  240. <scope>test</scope>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.powermock</groupId>
  244. <artifactId>powermock-module-junit4</artifactId>
  245. <version>2.0.2</version>
  246. <scope>test</scope>
  247. </dependency>
  248. <dependency>
  249. <groupId>com.auth0</groupId>
  250. <artifactId>java-jwt</artifactId>
  251. <version>3.4.1</version>
  252. </dependency>
  253. <dependency>
  254. <groupId>io.springfox</groupId>
  255. <artifactId>springfox-core</artifactId>
  256. <version>2.7.0</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>io.springfox</groupId>
  260. <artifactId>springfox-swagger2</artifactId>
  261. <version>2.7.0</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.springframework.boot</groupId>
  265. <artifactId>spring-boot-starter-web</artifactId>
  266. <version>2.1.9.RELEASE</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>org.springframework.boot</groupId>
  270. <artifactId>spring-boot-starter-mail</artifactId>
  271. <version>2.1.9.RELEASE</version>
  272. </dependency>
  273. <!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
  274. <dependency>
  275. <groupId>org.springframework</groupId>
  276. <artifactId>spring-context-support</artifactId>
  277. <version>5.1.10.RELEASE</version>
  278. </dependency>
  279. </dependencies>
  280. <build>
  281. <finalName>dubbo-service-interface</finalName>
  282. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  283. <plugins>
  284. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  285. <plugin>
  286. <artifactId>maven-clean-plugin</artifactId>
  287. <version>3.1.0</version>
  288. </plugin>
  289. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  290. <plugin>
  291. <artifactId>maven-resources-plugin</artifactId>
  292. <version>3.0.2</version>
  293. </plugin>
  294. <plugin>
  295. <artifactId>maven-compiler-plugin</artifactId>
  296. <version>3.8.0</version>
  297. </plugin>
  298. <plugin>
  299. <artifactId>maven-surefire-plugin</artifactId>
  300. <version>2.22.1</version>
  301. </plugin>
  302. <plugin>
  303. <artifactId>maven-jar-plugin</artifactId>
  304. <version>3.0.2</version>
  305. </plugin>
  306. <plugin>
  307. <artifactId>maven-install-plugin</artifactId>
  308. <version>2.5.2</version>
  309. </plugin>
  310. <plugin>
  311. <artifactId>maven-deploy-plugin</artifactId>
  312. <version>2.8.2</version>
  313. </plugin>
  314. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  315. <plugin>
  316. <artifactId>maven-site-plugin</artifactId>
  317. <version>3.7.1</version>
  318. </plugin>
  319. </plugins>
  320. </pluginManagement>
  321. <resources>
  322. <resource>
  323. <directory>src/main/java</directory>
  324. <includes>
  325. <include>**/*.properties</include>
  326. <include>**/*.xml</include>
  327. </includes>
  328. <filtering>true</filtering>
  329. </resource>
  330. <resource>
  331. <directory>src/main/resources</directory>
  332. <includes>
  333. <include>**/*.properties</include>
  334. <include>**/*.xml</include>
  335. </includes>
  336. <filtering>true</filtering>
  337. </resource>
  338. </resources>
  339. </build>
  340. </project>