private static ActivationOS toNativeOsActivation(MavenProfileActivationOS os) {
    if (os == null) return null;
    ActivationOS result = new ActivationOS();
    result.setArch(os.getArch());
    result.setFamily(os.getFamily());
    result.setName(os.getName());
    result.setVersion(os.getVersion());
    return result;
  }
private static ActivationOS toNativeOsActivation(MavenProfileActivationOS os)