pom.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <artifactId>tingshu-parent</artifactId>
  7. <groupId>com.atguigu.tingshu</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <version>1.0</version>
  11. <artifactId>server-gateway</artifactId>
  12. <packaging>jar</packaging>
  13. <name>server-gateway</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.atguigu.tingshu</groupId>
  17. <artifactId>common-util</artifactId>
  18. <version>1.0</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.atguigu.tingshu</groupId>
  22. <artifactId>model</artifactId>
  23. <version>1.0</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter-gateway</artifactId>
  28. </dependency>
  29. <!-- 服务调用feign -->
  30. <dependency>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-starter-openfeign</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.cloud</groupId>
  36. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  37. </dependency>
  38. <!-- 服务注册 -->
  39. <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  42. </dependency>
  43. <!-- 服务配置 -->
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba.cloud</groupId>
  50. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <finalName>${project.artifactId}</finalName>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. </project>