pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. <dependency>
  32. <groupId>org.springframework.cloud</groupId>
  33. <artifactId>spring-cloud-starter-config</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-actuator</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  42. </dependency>
  43. <!--spring boot-->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-web</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-test</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <!--swagger-->
  54. <dependency>
  55. <groupId>io.springfox</groupId>
  56. <artifactId>springfox-swagger2</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.springfox</groupId>
  60. <artifactId>springfox-swagger-ui</artifactId>
  61. </dependency>
  62. <!--mysql-->
  63. <dependency>
  64. <groupId>mysql</groupId>
  65. <artifactId>mysql-connector-java</artifactId>
  66. </dependency>
  67. <!-- springboot整合mybatis(核心就这一个) -->
  68. <!-- 注意顺序,这个一定要放在最下面 -->
  69. <dependency>
  70. <groupId>org.mybatis.spring.boot</groupId>
  71. <artifactId>mybatis-spring-boot-starter</artifactId>
  72. </dependency>
  73. <!--redis-->
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-data-redis</artifactId>
  77. </dependency>
  78. <!-- Security oauth2的相关依赖-->
  79. <dependency>
  80. <groupId>org.springframework.cloud</groupId>
  81. <artifactId>spring-cloud-starter-oauth2</artifactId>
  82. </dependency>
  83. <!--使用security-jwt-->
  84. <dependency>
  85. <groupId>org.springframework.security</groupId>
  86. <artifactId>spring-security-jwt</artifactId>
  87. </dependency>
  88. <!--feign(默认集成hystrix熔断器)-->
  89. <dependency>
  90. <groupId>org.springframework.cloud</groupId>
  91. <artifactId>spring-cloud-starter-openfeign</artifactId>
  92. </dependency>
  93. <!--配置中心客户端-->
  94. <dependency>
  95. <groupId>org.springframework.cloud</groupId>
  96. <artifactId>spring-cloud-config-client</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.projectlombok</groupId>
  100. <artifactId>lombok</artifactId>
  101. <optional>true</optional>
  102. </dependency>
  103. <!--文件服务器依赖-->
  104. <dependency>
  105. <groupId>io.minio</groupId>
  106. <artifactId>minio</artifactId>
  107. <version>6.0.11</version>
  108. </dependency>
  109. <!-- 读取yml文件配置,配合@ConfigurationProperties-->
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-configuration-processor</artifactId>
  113. <optional>true</optional>
  114. </dependency>
  115. </dependencies>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-maven-plugin</artifactId>
  121. <configuration>
  122. <mainClass>com.unissoft.BusinessStart</mainClass>
  123. </configuration>
  124. </plugin>
  125. </plugins>
  126. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  127. <resources>
  128. <resource>
  129. <directory>src/main/java</directory>
  130. <includes>
  131. <include>**/*.properties</include>
  132. <include>**/*.xml</include>
  133. </includes>
  134. <!--<filtering>false</filtering>-->
  135. </resource>
  136. <resource>
  137. <directory>src/main/resources</directory>
  138. </resource>
  139. </resources>
  140. </build>
  141. </project>