docs: private static ArtifactSpec toArtifactSpec(DependencyDescriptor desc, String scope) {
          return new ArtifactSpec(scope, desc.getGroup(), desc.getName(), desc.getVersion(), desc.getType(),
                                  desc.getClassifier(), desc.getFile());
      }