sustain/src/main/java/net/happyonroad/component/core/support/Dependency.java
public void interpolate(DefaultComponent component) {
        if(groupId != null) this.groupId = component.interpolate(groupId);
        if(artifactId != null) this.artifactId = component.interpolate(artifactId);
        //暂时主要处理一些启动相关的关键属性，如version
        if(version != null ) this.setVersion(component.interpolate(version)) ;
        if(classifier != null ) this.classifier = component.interpolate(classifier);
        if(scope != null ) this.scope = component.interpolate(scope);
    }
public void interpolate(DefaultComponent component) {
        if(groupId != null) this.groupId = component.interpolate(groupId);
        if(artifactId != null) this.artifactId = component.interpolate(artifactId);
        //暂时主要处理一些启动相关的关键属性，如version
        if(version != null ) this.setVersion(component.interpolate(version)) ;
        if(classifier != null ) this.classifier = component.interpolate(classifier);
        if(scope != null ) this.scope = component.interpolate(scope);
    }
根据组件的上下文，替换依赖中的信息
@param component 所属的组件