code: public static boolean dependencyExistsManagement(File pom, Dependency dependency, Log logger) throws IOException, XmlPullParserException {
  		Model model = getModelFromPOM(pom, logger);
  		
  		DependencyManagement dMgmt = model.getDependencyManagement();
  		if (dMgmt == null) {
  			model.setDependencyManagement(new DependencyManagement());
  			dMgmt = model.getDependencyManagement();
  		}
  
  		return dependencyExists(dependency, dMgmt.getDependencies());
  	}
docs: Check whether a dependency exists in a POM (in management section).
  
  @param pom
  @param dependency
  @param logger
  @return true if the dependency exists in the management section of the
  POM
  @throws IOException
  @throws XmlPullParserException