Skip to content

Commit

Permalink
adding project gav in dependencies/json (simple-dependencies goal) - …
Browse files Browse the repository at this point in the history
…fixing completion typo
  • Loading branch information
rmannibucau committed Mar 13, 2023
1 parent fccb8e9 commit 469889a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private String format(final List<DepArtifact> dependencies) throws MojoFailureEx
.withPropertyOrderStrategy(LEXICOGRAPHICAL)
.withFormatting(JSON_PRETTY.equals(format)))) {
return jsonb.toJson(new JsonWrapper(
project.getGroupId(), project.getArtifactId(), project.getArtifactId(),
project.getGroupId(), project.getArtifactId(), project.getVersion(),
project.getPackaging(), dependencies));
} catch (final Exception e) {
throw new MojoFailureException(e.getMessage(), e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void run(@TempDir final Path work) throws MojoExecutionException, MojoFailureExc
" }\n" +
" ],\n" +
" \"packaging\":\"jar\",\n" +
" \"version\":\"test\"\n" +
" \"version\":\"1.2.3-SNAPSHOT\"\n" +
"}" +
"", Files.readString(file));
}
Expand Down

0 comments on commit 469889a

Please sign in to comment.