protected Map<String, Group> processClasspaths() throws Exception {
//            final ClassRealm realm = descriptor.getClassRealm();
            List<String> testClasspathElements = project.getTestClasspathElements();
            final URL[] testClasspathURLs = new URL[testClasspathElements.size()];
            int i = 0;
            for (String element : testClasspathElements) {
                File elementFile = new File(element);
                URL u = elementFile.toURI().toURL();
                getLog().info("Classpath component: " + u);
//                realm.addURL(u);
                testClasspathURLs[i++] = u;
            }
            loader = new URLClassLoader(testClasspathURLs, 
                    Thread.currentThread().getContextClassLoader());

        // default classpath element
        processClasspath(classpathElement);

        // and any additional elements:
        for (String s : additionalClasspathElements) {
            processClasspath(s);
        }

        // second pass, reflect classes fully:
        for (Entity e : entities.values()) {
            reflectSecond(e, e.getClazz());
        }
        
        mergePackages();

        return packages;
    }
protected Map < String , Group > processClasspaths ( ) throws Exception { List < String > testClasspathElements = project . getTestClasspathElements ( ) ; final URL [ ] testClasspathURLs = new URL [ testClasspathElements . size ( ) ] ; int i = 0 ; for ( String element : testClasspathElements ) { File elementFile = new File ( element ) ; URL u = elementFile . toURI ( ) . toURL ( ) ; getLog ( ) . info ( "Classpath component: " + u ) ; testClasspathURLs [ i ++ ] = u ; } loader = new URLClassLoader ( testClasspathURLs , Thread . currentThread ( ) . getContextClassLoader ( ) ) ; processClasspath ( classpathElement ) ; for ( String s : additionalClasspathElements ) { processClasspath ( s ) ; } for ( Entity e : entities . values ( ) ) { reflectSecond ( e , e . getClazz ( ) ) ; } mergePackages ( ) ; return packages ; }
Processes the default classpath (classpathElement), then any additional
elements (additionalClasspathElements).

@return
@throws Exception