Skip to content

Commit b3bd338

Browse files
committed
Dangerfile: add summary for license, sortpom and enforcer plugins.
No functional changes.
1 parent e261d5e commit b3bd338

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dangerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ if File.file?(license_output)
159159
"Please, fix them by executing `mvn license:format`\n"\
160160
"See also: <a href=\"#{link}\">#{link}</a>")
161161
end
162+
print_errors_summary 'license-maven-plugin', 1
162163
end
163164
end
164165

@@ -206,6 +207,7 @@ if File.file?(sortpom_output)
206207
"Please, fix them by executing `mvn sortpom:sort`\n"\
207208
"See also: <a href=\"#{link}\">#{link}</a>")
208209
end
210+
print_errors_summary 'sortpom-maven-plugin', 1
209211
end
210212
end
211213

@@ -315,6 +317,7 @@ if File.file?(enforcer_output)
315317
error_msgs = errors.join("\n")
316318
fail("maven-enforcer-plugin reported about errors. Please, fix them. "\
317319
"Here is its output:\n```\n#{error_msgs}\n```")
320+
print_errors_summary 'maven-enforcer-plugin', 1
318321
end
319322
end
320323

0 commit comments

Comments
 (0)