jglick commented on code in PR #11347:
URL: https://github.com/apache/maven/pull/11347#discussion_r2546130096
##########
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java:
##########
@@ -463,6 +463,18 @@ public final class Constants {
@Config(type = "java.lang.Boolean", defaultValue = "true")
public static final String MAVEN_CONSUMER_POM = "maven.consumer.pom";
+ /**
+ * User property for controlling consumer POM flattening behavior.
Review Comment:
Do I understand correctly that this can only be controlled by a `-D` flag?
So you cannot easily enable flattening on specific modules. I guess you could
add `-D` to `.mvn/maven.config` if you wished to enable flattening on all
modules in a given reactor (such as one Git repository). Has any thought been
given to controlling this mode based on a flag set in the POM itself (if that
is even possible)? Or as a configuration option to the `install` mojo, etc.?
--
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]