docs: private Model readModel(MavenProject project) throws MojoFailureException {
          try {
              // read pom.xml
              Model model;
              FileReader fileReader = new FileReader(project.getFile().getAbsoluteFile());
              MavenXpp3Reader mavenReader = new MavenXpp3Reader();
              try {
                  model = mavenReader.read(fileReader);
              } finally {
                  if (fileReader != null) {
                      fileReader.close();
                  }
              }
              return model;
          } catch (Exception e) {
              throw new MojoFailureException("", e);
          }
      }