private void addProjectDependenciesToClassRealm(ExpressionEvaluator expressionEvaluator, org.codehaus.classworlds.ClassRealm containerRealm) throws ComponentConfigurationException {
            Set<String> runtimeClasspathElements = new HashSet<String>();
            try {
                runtimeClasspathElements.addAll((List<String>) expressionEvaluator.evaluate("${project.runtimeClasspathElements}"));

            } catch (ExpressionEvaluationException e) {
                throw new ComponentConfigurationException("There was a problem evaluating: ${project.runtimeClasspathElements}", e);
            }

            Collection<URL> urls = buildURLs(runtimeClasspathElements);
            urls.addAll(buildAritfactDependencies(expressionEvaluator));
            for (URL url : urls) {
                containerRealm.addConstituent(url);
            }
        }