private static Activation toNativeActivation(MavenProfileActivation activation) {
    if (activation == null) return null;
    Activation result = new Activation();
    result.setActiveByDefault(activation.isActiveByDefault());
    result.setJdk(activation.getJdk());
    result.setOs(toNativeOsActivation(activation.getOs()));
    result.setFile(toNativeFileActivation(activation.getFile()));
    result.setProperty(toNativePropertyActivation(activation.getProperty()));
    return result;
  }
private static Activation toNativeActivation(MavenProfileActivation activation)