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


##########
maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java:
##########
@@ -122,12 +153,54 @@ private boolean determineFamilyMatch(String family) {
             test = test.substring(1);
         }
 
-        boolean result = Os.isFamily(test);
+        boolean result = isFamily(test);
 
         if (reverse) {
             return !result;
         } else {
             return result;
         }
     }
+
+    private boolean isFamily(String family) {

Review Comment:
   Just moving code from plexus is not kosher, either technically or legally. 
plexus-utils has iffy ownership and license status due to the Codehaus mess. 
Nor has it had good maintenance or updates over the years. It should be 
replaced de novo. Copy paste of the existing code into this project is not OK. 



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