pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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-config-server</artifactId>
  13. <description>配置中心服务</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.cloud</groupId>
  17. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  18. </dependency>
  19. <!--链路追踪-->
  20. <dependency>
  21. <groupId>org.springframework.cloud</groupId>
  22. <artifactId>spring-cloud-starter-sleuth</artifactId>
  23. </dependency>
  24. <!--zipkin依赖-->
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter-zipkin</artifactId>
  28. </dependency>
  29. <!-- spring cloud config 服务端包 -->
  30. <dependency>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-config-server</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.cloud</groupId>
  36. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-actuator</artifactId>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-maven-plugin</artifactId>
  48. <configuration>
  49. <mainClass>com.unissoft.ConfigStart</mainClass>
  50. </configuration>
  51. </plugin>
  52. </plugins>
  53. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  54. <resources>
  55. <resource>
  56. <directory>src/main/java</directory>
  57. <includes>
  58. <include>**/*.properties</include>
  59. <include>**/*.xml</include>
  60. </includes>
  61. <!--<filtering>false</filtering>-->
  62. </resource>
  63. <resource>
  64. <directory>src/main/resources</directory>
  65. </resource>
  66. </resources>
  67. </build>
  68. </project>