gnodet commented on code in PR #1477: URL: https://github.com/apache/maven-site/pull/1477#discussion_r2601668471
########## content/markdown/whatsnewinmaven4.md: ########## @@ -81,6 +81,9 @@ The consumer POM is a **flattened** version of the build POM, meaning: This flattening ensures that consumers of your artifact have all the information they need without requiring access to parent POMs or understanding the internal structure of your multi-project build. +The flatten feature is disabled by default to avoid unexpected behavior and better control about listing (transitive) dependencies in consumer POM. +To enable a flattened consumer POM the `maven.consumer.pom.flatten` property must be set to `true`. Review Comment: I confirm, this is user properties only, not project. See https://github.com/apache/maven/blob/master/impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java Those can be controlled using ${session.rootDirectory}/.mvn/maven-user.properties for a per-reactor configuration though. -- 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]
