public MavenConfig merge(MavenConfig other) {
        MavenConfig.Builder builder = toBuilder();
        builder.dependencies.get().addAll(other.getDependencies());

        if (other.repositories != null) {
            builder.repositories.get().addAll(other.repositories);
        }

        return builder.build();
    }
Gets the dependencies.

@return Returns the dependencies in an insertion ordered set.
smithy-build/src/main/java/software/amazon/smithy/build/model/MavenConfig.java