mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-10-14 14:10:52 +00:00
Ignore empty and whitespace rules
This commit is contained in:
@@ -124,7 +124,7 @@ public class SmartBuilder implements Builder {
|
||||
|
||||
session.getAllProjects().forEach(p -> {
|
||||
String rule = p.getProperties().getProperty(MVND_BUILDER_RULE);
|
||||
if (rule != null) {
|
||||
if (rule != null && !rule.trim().isEmpty()) {
|
||||
list.add(rule + " before " + p.getGroupId() + ":" + p.getArtifactId());
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user