@@ -116,15 +116,15 @@ else
116
116
unless errors . empty?
117
117
link = 'https://github.com/php-coder/mystamps/wiki/check-license-header'
118
118
errors_cnt = errors . size ( )
119
- error_msgs = errors . join ( "\n " )
119
+ error_msgs = errors . join ( "</li> \n <li> " )
120
120
if errors_cnt == 1
121
121
fail ( "license plugin reports about #{ errors_cnt } error:\n " \
122
- "``` \n #{ error_msgs } \n ``` \n " \
122
+ "<ul><li> #{ error_msgs } </li></ul> \n " \
123
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
- "``` \n #{ error_msgs } \n ``` \n " \
127
+ "<ul><li> #{ error_msgs } </li></ul> \n " \
128
128
"Please, fix them by executing `mvn license:format`\n " \
129
129
"See also: <a href=\" #{ link } \" >#{ link } </a>" )
130
130
end
@@ -155,15 +155,15 @@ else
155
155
unless errors . empty?
156
156
link = 'https://github.com/php-coder/mystamps/wiki/sortpom'
157
157
errors_cnt = errors . size ( )
158
- error_msgs = errors . join ( "\n " )
158
+ error_msgs = errors . join ( "</li> \n <li> " )
159
159
if errors_cnt == 1
160
160
fail ( "sortpom plugin reports about #{ errors_cnt } error:\n " \
161
- "``` \n #{ error_msgs } \n ``` \n " \
161
+ "<ul><li> #{ error_msgs } </li></ul> \n " \
162
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
- "``` \n #{ error_msgs } \n ``` \n " \
166
+ "<ul><li> #{ error_msgs } </li></ul> \n " \
167
167
"Please, fix them by executing `mvn sortpom:sort`\n " \
168
168
"See also: <a href=\" #{ link } \" >#{ link } </a>" )
169
169
end
0 commit comments