@NotNull
  public static Path getArtifactFile(File localRepository, MavenId id, String type) {
    return getArtifactNioPath(localRepository, id.getGroupId(), id.getArtifactId(), id.getVersion(), type);
  }
@NotNull
  public static Path getArtifactFile(File localRepository, MavenId id, String type)