@@ -119,13 +119,13 @@ else
119
119
error_msgs = errors . join ( "\n " )
120
120
if errors_cnt == 1
121
121
fail ( "license plugin reports about #{ errors_cnt } error:\n " \
122
- "#{ error_msgs } \n " \
123
- "Please, fix it by executing `mvn license:format`. \n " \
122
+ "``` \n #{ error_msgs } \n ``` \n " \
123
+ "Please, fix it by executing `mvn license:format`\n " \
124
124
"See also: <a href=\" #{ link } \" >#{ link } </a>" )
125
125
elsif errors_cnt > 1
126
126
fail ( "license plugin reports about #{ errors_cnt } errors:\n " \
127
- "#{ error_msgs } \n " \
128
- "Please, fix them by executing `mvn license:format`. \n " \
127
+ "``` \n #{ error_msgs } \n ``` \n " \
128
+ "Please, fix them by executing `mvn license:format`\n " \
129
129
"See also: <a href=\" #{ link } \" >#{ link } </a>" )
130
130
end
131
131
end
@@ -158,13 +158,13 @@ else
158
158
error_msgs = errors . join ( "\n " )
159
159
if errors_cnt == 1
160
160
fail ( "sortpom plugin reports about #{ errors_cnt } error:\n " \
161
- "#{ error_msgs } \n " \
162
- "Please, fix it by executing `mvn sortpom:sort`. \n " \
161
+ "``` \n #{ error_msgs } \n ``` \n " \
162
+ "Please, fix it by executing `mvn sortpom:sort`\n " \
163
163
"See also: <a href=\" #{ link } \" >#{ link } </a>" )
164
164
elsif errors_cnt > 1
165
165
fail ( "sortpom plugin reports about #{ errors_cnt } errors:\n " \
166
- "#{ error_msgs } \n " \
167
- "Please, fix them by executing `mvn sortpom:sort`. \n " \
166
+ "``` \n #{ error_msgs } \n ``` \n " \
167
+ "Please, fix them by executing `mvn sortpom:sort`\n " \
168
168
"See also: <a href=\" #{ link } \" >#{ link } </a>" )
169
169
end
170
170
end
0 commit comments