private static Path getArtifactDirectory(File localRepository, String groupId, String artifactId) {
    groupId = sanitizeMavenIdentifer(groupId);
    artifactId = sanitizeMavenIdentifer(artifactId);
    return localRepository.toPath().resolve(StringUtil.replace(groupId, ".", File.separator)).resolve(artifactId);
  }
private static Path getArtifactDirectory(File localRepository, String groupId, String artifactId)