Skip to content

Commit

Permalink
[ci] MOve error to show how file name will look on disk if missing git
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Aug 5, 2024
1 parent 0ace059 commit 4f682f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/hazendaz/maven/makeself/MakeselfMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -821,13 +821,13 @@ private void extractPortableGit() throws MojoFailureException {
resolutionResult = repositorySystem.resolveArtifact(repoSession, artifactRequest);
if (!resolutionResult.isResolved()) {
throw new MojoFailureException("Unable to resolve artifact: " + artifact.getGroupId() + ":"
+ artifact.getArtifactId() + ":" + artifact.getVersion() + ":" + artifact.getExtension() + ":"
+ artifact.getClassifier());
+ artifact.getArtifactId() + ":" + artifact.getVersion() + ":" + artifact.getClassifier() + ":"
+ artifact.getExtension());
}
} catch (ArtifactResolutionException e) {
throw new MojoFailureException(
"Unable to resolve artifact: " + artifact.getGroupId() + ":" + artifact.getArtifactId() + ":"
+ artifact.getVersion() + ":" + artifact.getExtension() + ":" + artifact.getClassifier());
+ artifact.getVersion() + ":" + artifact.getClassifier() + ":" + artifact.getExtension());
}
this.installGit(resolutionResult.getArtifact(), location);
}
Expand Down

0 comments on commit 4f682f4

Please sign in to comment.