pom.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>edu.travel</groupId>
  6. <artifactId>edu-travel-common</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>edu-travel-common-openfeign</artifactId>
  10. <packaging>jar</packaging>
  11. <name>edu-travel-common-openfeign</name>
  12. <url>http://maven.apache.org</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.cloud</groupId>
  19. <artifactId>spring-cloud-starter-openfeign</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <!-- 或使用 OkHttp -->
  26. <dependency>
  27. <groupId>io.github.openfeign</groupId>
  28. <artifactId>feign-okhttp</artifactId>
  29. </dependency>
  30. <!-- <dependency>-->
  31. <!-- <groupId>io.github.openfeign.form</groupId>-->
  32. <!-- <artifactId>feign-form</artifactId>-->
  33. <!-- <version>3.8.0</version>-->
  34. <!-- </dependency>-->
  35. <!-- <dependency>-->
  36. <!-- <groupId>io.github.openfeign.form</groupId>-->
  37. <!-- <artifactId>feign-form-spring</artifactId>-->
  38. <!-- <version>3.8.0</version>-->
  39. <!-- </dependency>-->
  40. </dependencies>
  41. </project>