kwin commented on code in PR #1421:
URL: https://github.com/apache/maven/pull/1421#discussion_r1506293992


##########
maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java:
##########
@@ -53,17 +57,21 @@ public boolean isActive(Profile profile, 
ProfileActivationContext context, Model
 
         boolean active = ensureAtLeastOneNonNull(os);
 
+        String actualOsName = 
context.getSystemProperties().get("os.name").toLowerCase(Locale.ENGLISH);

Review Comment:
   To streamline the testing approach with the other activators. `Os.OS_NAME` 
cannot be easily overwritten.



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to