
# 使用spring-boot-huawei组件
spring-boot-huawei是一个管理jar包的SDK，主要帮助用户管理一些常用sdk的依赖版本。
#### 使用方式
当前spring-boot-huawei各功能模块以jar包的方式提供起始依赖，自动加入实现该模块功能的jar依赖，使用时直接在项目的pom中添加对应版本的功能模块即可，以核心模块为例，使用如下：
```
<properties>
...
<com.huawei.version>2.1.9-RELEASE</com.huawei.version>
...
<properties>
<dependencies>
    <dependency>
        <groupId>com.huawei.devspore</groupId>
        <artifactId>spring-boot-starter-huawei</artifactId>
        <version>${com.huawei.version}</version>
    </dependency>
...
</dependencies>
```
其他模块参见各组件的文档。
#### 源码基本结构说明
spring-boot-huawei内部模块及简介：
```
spring-boot-huawei
 |
 |-spring-boot-huawei-dependencies # 该模块为内部模块的依赖模块，主要功能是提供依赖包的版本管理，其他模块的父模块均直接或间接使用此模块，如无特殊，spring-boot-huawei使用统一版本的jar包。
 |
 |-spring-boot-huawei-parent # 该模块以dependencies模块为父模块，使用其提供的依赖版本管理，本身提供一些插件定义及插件版本管理，作为本项目中其他模块的父模块使用
 |
 |-spring-boot-starter-huawei # 核心组件，该组件提供一个基于spring-boot的web项目最基本的起步依赖
```
