public static void analyzePOM ( Dependency dependency , File pomFile ) throws AnalysisException { final Model pom = PomUtils . readPom ( pomFile ) ; JarAnalyzer . setPomEvidence ( dependency , pom , null , true ) ; }
Reads in the pom file and adds elements as evidence to the given dependency .