code: public void addDependency(String name, String version) {
  
          CmsModuleVersion moduleVersion = new CmsModuleVersion(version);
  
          CmsModuleDependency dependency = new CmsModuleDependency(name, moduleVersion);
          m_dependencies.add(dependency);
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(Messages.get().getBundle().key(Messages.LOG_ADD_MOD_DEPENDENCY_2, name, version));
          }
      }
docs: Adds a module dependency to the current module.<p>
  
  @param name the module name of the dependency
  @param version the module version of the dependency