File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
maven-api-impl/src/main/java/org/apache/maven/internal/impl Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -178,10 +178,11 @@ Optional<String> warningForFilenameBasedAutomodules(Collection<Path> modulePaths
178
178
if (automodulesDetected .isEmpty ()) {
179
179
return Optional .empty ();
180
180
}
181
+ String lineSeparator = System .lineSeparator ();
181
182
var joiner = new StringJoiner (
182
- ", " ,
183
- "Filename-based automodules detected on the module-path: " ,
184
- "Please don't publish this project to a public artifact repository." );
183
+ lineSeparator + " - " ,
184
+ "Filename-based automodules detected on the module-path: " + lineSeparator + " - " ,
185
+ lineSeparator + "Please don't publish this project to a public artifact repository." );
185
186
automodulesDetected .forEach (joiner ::add );
186
187
return Optional .of (joiner .toString ());
187
188
}
You can’t perform that action at this time.
0 commit comments