code: private void createBackupFile() {
          if (createBackupFile) {
              if (backupFileExtension.trim().length() == 0) {
                  throw new FailureException("Could not create backup file, extension name was empty");
              }
              fileUtil.backupFile();
              log.info(String.format("Saved backup of %s to %s%s", pomFile.getAbsolutePath(),
                      pomFile.getAbsolutePath(), backupFileExtension));
          }
      }
docs: Creates the backup file for pom.