pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. <!-- spring cloud config 服务端包 -->
  20. <dependency>
  21. <groupId>org.springframework.cloud</groupId>
  22. <artifactId>spring-cloud-config-server</artifactId>
  23. </dependency>
  24. <!--<dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  27. </dependency>-->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-actuator</artifactId>
  31. </dependency>
  32. </dependencies>
  33. <build>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-maven-plugin</artifactId>
  38. <configuration>
  39. <mainClass>com.unissoft.ConfigStart</mainClass>
  40. </configuration>
  41. </plugin>
  42. </plugins>
  43. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  44. <resources>
  45. <resource>
  46. <directory>src/main/java</directory>
  47. <includes>
  48. <include>**/*.properties</include>
  49. <include>**/*.xml</include>
  50. </includes>
  51. <!--<filtering>false</filtering>-->
  52. </resource>
  53. <resource>
  54. <directory>src/main/resources</directory>
  55. </resource>
  56. </resources>
  57. </build>
  58. </project>