pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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. </dependencies>
  152. <build>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-maven-plugin</artifactId>
  157. <configuration>
  158. <mainClass>com.unissoft.MessageStart</mainClass>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  163. <resources>
  164. <resource>
  165. <directory>src/main/java</directory>
  166. <includes>
  167. <include>**/*.properties</include>
  168. <include>**/*.xml</include>
  169. </includes>
  170. <!--<filtering>false</filtering>-->
  171. </resource>
  172. <resource>
  173. <directory>src/main/resources</directory>
  174. </resource>
  175. </resources>
  176. </build>
  177. </project>