code: private void updateDependencies(Element configuration, boolean pAddJsr160Proxy) {
          List<Element> dependencyElements =
                  XmlUtils.findElements("/configuration/jolokia/dependencies/dependency", configuration);
          addJsr160Dependencies(configuration,dependencyElements, pAddJsr160Proxy);
  
          List<Dependency> dependencies = new ArrayList<Dependency>();
          for (Element dependencyElement : dependencyElements) {
              dependencies.add(new Dependency(dependencyElement));
          }
          projectOperations.addDependencies(projectOperations.getFocusedModuleName(), dependencies);
  	}
docs: =================================================================================================