code: public static void analyzePOM(Dependency dependency, File pomFile) throws AnalysisException {
          final Model pom = PomUtils.readPom(pomFile);
          JarAnalyzer.setPomEvidence(dependency, pom, null, true);
      }
docs: Reads in the pom file and adds elements as evidence to the given
  dependency.
  
  @param dependency the dependency being analyzed
  @param pomFile the pom file to read
  @throws AnalysisException is thrown if there is an exception parsing the
  pom