private Collection<URL> buildAritfactDependencies(ExpressionEvaluator expressionEvaluator) throws ComponentConfigurationException {
            MavenProject project;
            try {
                project = (MavenProject) expressionEvaluator.evaluate("${project}");
            } catch (ExpressionEvaluationException e1) {
                throw new ComponentConfigurationException("There was a problem evaluating: ${project}", e1);
            }
            Collection<URL> urls = new ArrayList<URL>();
            for (Object a : project.getArtifacts()) {
                try {
                    urls.add(((Artifact) a).getFile().toURI().toURL());
                } catch (MalformedURLException e) {
                    throw new ComponentConfigurationException("Unable to resolve artifact dependency: " + a, e);
                }
            }
            return urls;
        }