Path artifactPathOnDisk(String group, String artifact, String version) {
    return findArtifact(group, artifact, version).getFile().toPath();
  }
A test helper to resolve artifacts from a local repository in test/resources.
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/TestRepository.java