elharo commented on code in PR #2380:
URL: https://github.com/apache/maven/pull/2380#discussion_r2105433347


##########
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java:
##########
@@ -462,6 +462,15 @@ 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 "maven personality". If set to {@code 
true} Maven will behave
+     * as previous major version, Maven 3.
+     *
+     * @since 4.0.0
+     */
+    @Config(type = "java.lang.Boolean", defaultValue = "false")

Review Comment:
   The principle I picked up at Google (where this was explicitly called out) 
is to always follow the style guidelines even when surrounding existing code 
does not.  Consistency does not trump correctness. 



-- 
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]

Reply via email to