@Override
  public void resolve(RepositoryMetadata metadata, RepositoryRequest request) throws RepositoryMetadataResolutionException {
    super.resolve(metadata, request);

    MavenWorkspaceMapWrapper map = myWorkspaceMap;
    if (map == null) return;

    Metadata data = metadata.getMetadata();
    Versioning versioning = data.getVersioning();
    if (versioning == null) {
      data.setVersioning(versioning = new Versioning());
    }

    for (MavenId each : map.getAvailableIdsForArtifactId(data.getArtifactId())) {
      if (Objects.equals(each.getGroupId(), data.getGroupId())) {
        versioning.addVersion(each.getVersion());
      }
    }
  }
@Override
  public void resolve(RepositoryMetadata metadata, RepositoryRequest request)