pom.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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>smart-house</artifactId>
  7. <groupId>com.sptg</groupId>
  8. <version>1.0</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>sptg-config</artifactId>
  13. <packaging>jar</packaging>
  14. <description>配置中心</description>
  15. <dependencies>
  16. <!-- ===================================== Spring Cloud JAR ===================================== -->
  17. <!--配置中心-->
  18. <dependency>
  19. <groupId>org.springframework.cloud</groupId>
  20. <artifactId>spring-cloud-config-server</artifactId>
  21. </dependency>
  22. <!-- eureka-client -->
  23. <dependency>
  24. <groupId>org.springframework.cloud</groupId>
  25. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.projectlombok</groupId>
  29. <artifactId>lombok</artifactId>
  30. </dependency>
  31. </dependencies>
  32. <build>
  33. <filters>
  34. <filter>../env_files/properties/${env}.properties</filter>
  35. </filters>
  36. <plugins>
  37. <!-- Spring Boot 打包插件( 非“Web模块”请勿引入) -->
  38. <plugin>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-maven-plugin</artifactId>
  41. </plugin>
  42. </plugins>
  43. </build>
  44. </project>