ascheman commented on code in PR #11505:
URL: https://github.com/apache/maven/pull/11505#discussion_r2586105502
##########
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java:
##########
@@ -1099,6 +1246,86 @@ public Set<Entry<K, V>> entrySet() {
}
}
+ /**
+ * Extracts unique module names from the given list of source elements.
+ * A project is considered modular if it has at least one module name.
+ *
+ * @param sources list of source elements from the build
+ * @return set of non-blank module names
+ */
+ private Set<String> extractModules(List<org.apache.maven.api.model.Source>
sources) {
Review Comment:
Done in 0c2451e7a30f8f427347b6c8b10bca3f551db02d. Made extractModules method
static.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]