Package org.eluder.coveralls.maven.plugin.source

Examples of org.eluder.coveralls.maven.plugin.source.DirectorySourceLoader


        List<MavenProject> modules = new MavenProjectCollector(project).collect();
        for (MavenProject module : modules) {
            for (String sourceRoot : module.getCompileSourceRoots()) {
                File sourceDirectory = new File(sourceRoot);
                if (sourceDirectory.exists() && sourceDirectory.isDirectory()) {
                    DirectorySourceLoader moduleSourceLoader = new DirectorySourceLoader(baseDir, sourceDirectory, sourceEncoding);
                    multiSourceLoader.add(moduleSourceLoader);
                }
            }
        }
        if (sourceDirectories != null) {
            for (File sourceDirectory : sourceDirectories) {
                if (sourceDirectory.exists() && sourceDirectory.isDirectory()) {
                    DirectorySourceLoader moduleSourceLoader = new DirectorySourceLoader(baseDir, sourceDirectory, sourceEncoding);
                    multiSourceLoader.add(moduleSourceLoader);
                }
            }
        }
        return multiSourceLoader;
View Full Code Here

TOP

Related Classes of org.eluder.coveralls.maven.plugin.source.DirectorySourceLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.