pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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>csc-szls-parent</artifactId>
  7. <groupId>com.unissoft</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. <relativePath>../csc-szls-parent/pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>csc-szls-message</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <description>通知、消息服务</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.unissoft</groupId>
  22. <artifactId>csc-szls-common-utils</artifactId>
  23. <version>1.0-SNAPSHOT</version>
  24. <!-- <scope>compile</scope>-->
  25. </dependency>
  26. <!--spring cloud-->
  27. <dependency>
  28. <groupId>org.springframework.cloud</groupId>
  29. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  30. </dependency>
  31. <!--链路追踪-->
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-starter-sleuth</artifactId>
  35. </dependency>
  36. <!--zipkin依赖-->
  37. <dependency>
  38. <groupId>org.springframework.cloud</groupId>
  39. <artifactId>spring-cloud-starter-zipkin</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.cloud</groupId>
  43. <artifactId>spring-cloud-starter-config</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-actuator</artifactId>
  48. </dependency>
  49. <!-- <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  52. </dependency>-->
  53. <!--spring boot-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <!--swagger-->
  64. <dependency>
  65. <groupId>io.springfox</groupId>
  66. <artifactId>springfox-swagger2</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>io.springfox</groupId>
  70. <artifactId>springfox-swagger-ui</artifactId>
  71. </dependency>
  72. <!--mysql-->
  73. <dependency>
  74. <groupId>mysql</groupId>
  75. <artifactId>mysql-connector-java</artifactId>
  76. </dependency>
  77. <!-- springboot整合mybatis(核心就这一个) -->
  78. <!-- 注意顺序,这个一定要放在最下面 -->
  79. <dependency>
  80. <groupId>org.mybatis.spring.boot</groupId>
  81. <artifactId>mybatis-spring-boot-starter</artifactId>
  82. </dependency>
  83. <!--redis-->
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-data-redis</artifactId>
  87. </dependency>
  88. <!-- Security oauth2的相关依赖-->
  89. <dependency>
  90. <groupId>org.springframework.cloud</groupId>
  91. <artifactId>spring-cloud-starter-oauth2</artifactId>
  92. </dependency>
  93. <!--使用security-jwt-->
  94. <dependency>
  95. <groupId>org.springframework.security</groupId>
  96. <artifactId>spring-security-jwt</artifactId>
  97. </dependency>
  98. <!--feign(默认集成hystrix熔断器)-->
  99. <dependency>
  100. <groupId>org.springframework.cloud</groupId>
  101. <artifactId>spring-cloud-starter-openfeign</artifactId>
  102. </dependency>
  103. <!--配置中心客户端-->
  104. <dependency>
  105. <groupId>org.springframework.cloud</groupId>
  106. <artifactId>spring-cloud-config-client</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.projectlombok</groupId>
  110. <artifactId>lombok</artifactId>
  111. <optional>true</optional>
  112. </dependency>
  113. <!-- 引入spring boot自带的pagehelper插件 -->
  114. <dependency>
  115. <groupId>com.github.pagehelper</groupId>
  116. <artifactId>pagehelper</artifactId>
  117. <version>5.1.10</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.github.jsqlparser</groupId>
  121. <artifactId>jsqlparser</artifactId>
  122. <version>3.1</version>
  123. </dependency>
  124. <!-- 引入spring boot websocket -->
  125. <dependency>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-starter-websocket</artifactId>
  128. </dependency>
  129. <!-- quartz -->
  130. <dependency>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-starter-quartz</artifactId>
  133. </dependency>
  134. <!--文件服务器依赖-->
  135. <dependency>
  136. <groupId>io.minio</groupId>
  137. <artifactId>minio</artifactId>
  138. <version>7.0.2</version>
  139. </dependency>
  140. <!-- 读取yml文件配置,配合@ConfigurationProperties-->
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-configuration-processor</artifactId>
  144. <optional>true</optional>
  145. </dependency>
  146. <dependency>
  147. <groupId>cn.hutool</groupId>
  148. <artifactId>hutool-all</artifactId>
  149. <version>5.4.4</version>
  150. </dependency>
  151. <!-- 极光推送-->
  152. <dependency>
  153. <groupId>cn.jpush.api</groupId>
  154. <artifactId>jpush-client</artifactId>
  155. <version>3.4.8</version>
  156. </dependency>
  157. <!-- <dependency>-->
  158. <!-- <groupId>cn.jpush.api</groupId>-->
  159. <!-- <artifactId>jiguang-common</artifactId>-->
  160. <!-- <version>1.1.10</version>-->
  161. <!-- </dependency>-->
  162. <!-- <dependency>-->
  163. <!-- <groupId>io.netty</groupId>-->
  164. <!-- <artifactId>netty-all</artifactId>-->
  165. <!-- <version>4.1.6.Final</version>-->
  166. <!-- <scope>compile</scope>-->
  167. <!-- </dependency>-->
  168. <!-- <dependency>-->
  169. <!-- <groupId>com.google.code.gson</groupId>-->
  170. <!-- <artifactId>gson</artifactId>-->
  171. <!-- <version>2.3</version>-->
  172. <!-- </dependency>-->
  173. <!-- <dependency>-->
  174. <!-- <groupId>org.slf4j</groupId>-->
  175. <!-- <artifactId>slf4j-api</artifactId>-->
  176. <!-- <version>1.7.7</version>-->
  177. <!-- </dependency>-->
  178. <!-- &lt;!&ndash; For log4j &ndash;&gt;-->
  179. <!-- <dependency>-->
  180. <!-- <groupId>org.slf4j</groupId>-->
  181. <!-- <artifactId>slf4j-log4j12</artifactId>-->
  182. <!-- <version>1.7.7</version>-->
  183. <!-- </dependency>-->
  184. <!-- <dependency>-->
  185. <!-- <groupId>log4j</groupId>-->
  186. <!-- <artifactId>log4j</artifactId>-->
  187. <!-- <version>1.2.17</version>-->
  188. <!-- </dependency>-->
  189. </dependencies>
  190. <build>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-maven-plugin</artifactId>
  195. <configuration>
  196. <mainClass>com.unissoft.MessageStart</mainClass>
  197. </configuration>
  198. </plugin>
  199. </plugins>
  200. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  201. <resources>
  202. <resource>
  203. <directory>src/main/java</directory>
  204. <includes>
  205. <include>**/*.properties</include>
  206. <include>**/*.xml</include>
  207. </includes>
  208. <!--<filtering>false</filtering>-->
  209. </resource>
  210. <resource>
  211. <directory>src/main/resources</directory>
  212. </resource>
  213. </resources>
  214. </build>
  215. </project>