public static @NotNull String getArtifactUrlForClassifierAndExtension(@NotNull MavenArtifact artifact,
                                                                        @Nullable String classifier,
                                                                        @Nullable String extension) {

    String newPath = artifact.getPathForExtraArtifact(classifier, extension);
    return VirtualFileManager.constructUrl(JarFileSystem.PROTOCOL, newPath) + JarFileSystem.JAR_SEPARATOR;
  }
public static @NotNull String getArtifactUrlForClassifierAndExtension(@NotNull MavenArtifact artifact,
                                                                        @Nullable String classifier,
                                                                        @Nullable String extension)