pom.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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-api-gateway</artifactId>
  13. <packaging>jar</packaging>
  14. <description>网关</description>
  15. <dependencies>
  16. <!-- ===================================== Spring Cloud JAR ===================================== -->
  17. <!-- eureka-client -->
  18. <dependency>
  19. <groupId>org.springframework.cloud</groupId>
  20. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-starter-netflix-zuul</artifactId>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <filters>
  33. <filter>../env_files/properties/${env}.properties</filter>
  34. </filters>
  35. <plugins>
  36. <!-- Spring Boot 打包插件( 非“Web模块”请勿引入) -->
  37. <plugin>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-maven-plugin</artifactId>
  40. </plugin>
  41. </plugins>
  42. </build>
  43. </project>