Spring Cloud OpenFeign: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{|
{|
| valign="bottom" |
| valign="top" |
<source lang="xml">
<source lang="xml">
<dependencyManagement>
<dependencyManagement>
Line 11: Line 11:
             <scope>import</scope>
             <scope>import</scope>
       </dependency>
       </dependency>
      <!--
      others dependencies
      -->
     </dependencies>
     </dependencies>
</dependencyManagement>
</dependencyManagement>

Revision as of 22:53, 8 August 2022

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>${spring-cloud.version}</version>
            <type>pom</type>
            <scope>import</scope>
       </dependency>
       <!--
       others dependencies
       -->
    </dependencies>
</dependencyManagement>
<dependencies>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-openfeign</artifactId>
    </dependency>
    <dependency>
        <groupId>io.github.openfeign</groupId>
        <artifactId>feign-okhttp</artifactId>
    </dependency>
    <dependency>
        <groupId>io.github.openfeign</groupId>
        <artifactId>feign-httpclient</artifactId>
    </dependency>
</dependencies>

References