File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
maven-core/src/main/java/org/apache/maven/plugin/internal Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -296,14 +296,12 @@ public void checkPrerequisites(PluginDescriptor pluginDescriptor) throws PluginI
296296 });
297297 // aggregate all exceptions
298298 if (!prerequisiteExceptions .isEmpty ()) {
299- String ln = System .lineSeparator ();
300299 String messages = prerequisiteExceptions .stream ()
301300 .map (IllegalStateException ::getMessage )
302- .collect (Collectors .joining (ln + '\t' ));
301+ .collect (Collectors .joining (" \n \t " ));
303302 PluginIncompatibleException pie = new PluginIncompatibleException (
304303 pluginDescriptor .getPlugin (),
305- ln + "The plugin " + pluginDescriptor .getId () + " has unmet prerequisites: " + ln + '\t'
306- + messages );
304+ "\n The plugin " + pluginDescriptor .getId () + " has unmet prerequisites: \n \t " + messages );
307305 prerequisiteExceptions .forEach (pie ::addSuppressed );
308306 throw pie ;
309307 }
You can’t perform that action at this time.
0 commit comments