code: private Model readModel ( File pom )
          throws IOException, XmlPullParserException
      {
          Reader reader = ReaderFactory.newXmlReader( pom );
          MavenXpp3Reader xpp3 = new MavenXpp3Reader();
          Model model = null;
          try
          {
              model = xpp3.read( reader );
          }
          finally
          {
              reader.close();
              reader = null;
          }
          return model;
      }
docs: Gets the pom model for this file.
  
  @param pom the pom
  
  @return the model
  
  @throws IOException Signals that an I/O exception has occurred.
  @throws XmlPullParserException the xml pull parser exception