pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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-business</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. <!--文件服务器依赖-->
  114. <dependency>
  115. <groupId>io.minio</groupId>
  116. <artifactId>minio</artifactId>
  117. <version>6.0.11</version>
  118. </dependency>
  119. <!-- 读取yml文件配置,配合@ConfigurationProperties-->
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-configuration-processor</artifactId>
  123. <optional>true</optional>
  124. </dependency>
  125. </dependencies>
  126. <build>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-maven-plugin</artifactId>
  131. <configuration>
  132. <mainClass>com.unissoft.BusinessStart</mainClass>
  133. </configuration>
  134. </plugin>
  135. </plugins>
  136. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  137. <resources>
  138. <resource>
  139. <directory>src/main/java</directory>
  140. <includes>
  141. <include>**/*.properties</include>
  142. <include>**/*.xml</include>
  143. </includes>
  144. <!--<filtering>false</filtering>-->
  145. </resource>
  146. <resource>
  147. <directory>src/main/resources</directory>
  148. </resource>
  149. </resources>
  150. </build>
  151. </project>