整合dubbo的依赖
阅读原文时间:2023年07月08日阅读:3
<properties>
    <dubbo.version>2.7.3</dubbo.version>
    <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
    <mybatisplus.version>3.2.0</mybatisplus.version>
</properties>

<dependencyManagement>
    <dependencies>
        <!-- dubbo-apache -->
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo-spring-boot-starter</artifactId>
            <version>${dubbo.version}</version>
        </dependency>
        <!-- 使用zk 做注册中心,Dubbo 需要的依赖 -->
        <dependency>
            <groupId>org.apache.dubbo</groupId>
            <artifactId>dubbo-dependencies-zookeeper</artifactId>
            <version>${dubbo.version}</version>
            <type>pom</type>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- 声明mybatisplus的依赖 -->
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <version>${mybatisplus.version}</version>
        </dependency>

    </dependencies>
</dependencyManagement>

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器