Skip to content

Commit

Permalink
fix: dependency parsing in JBangBuilderImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
iocanel committed Feb 6, 2023
1 parent 9797028 commit ece427d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static Map<String, Object> postBuild(Path appClasses, Path pomFile, List<
} else if (parts.length == 4) {
artifact = new ArtifactDependency(parts[0], parts[1], null, parts[2], parts[3]);
} else if (parts.length == 5) {
artifact = new ArtifactDependency(parts[0], parts[1], parts[3], parts[2], parts[4]);
artifact = new ArtifactDependency(parts[0], parts[1], parts[2], parts[3], parts[4]);
} else {
throw new RuntimeException("Invalid artifact " + s.getKey());
}
Expand Down

0 comments on commit ece427d

Please sign in to comment.