Package au.net.ocean.maven.plugin.extractor.util

Examples of au.net.ocean.maven.plugin.extractor.util.ProjectCompileClassPathLoader


     * @inheritDoc
     */
    public List execute(MavenProject project, PluginDescriptor pluginDescriptor) throws InvalidPluginDescriptorException {
        final List<MojoDescriptor> descriptors = new ArrayList<MojoDescriptor>();
        try {
            ProjectCompileClassPathLoader compileClassPathLoader = new ProjectCompileClassPathLoader(project, getClass().getClassLoader());
            ClassLoader savedContextClassLoader = Thread.currentThread().getContextClassLoader();
            Thread.currentThread().setContextClassLoader(compileClassPathLoader);

            for (Object compileSourceRoot : project.getCompileSourceRoots()) {
                getLogger().debug("processing source root: " + compileSourceRoot);
View Full Code Here


     * @inheritDoc
     */
    public List execute(MavenProject project, PluginDescriptor pluginDescriptor) throws InvalidPluginDescriptorException {
        final List<MojoDescriptor> descriptors = new ArrayList<MojoDescriptor>();
        try {
            ProjectCompileClassPathLoader compileClassPathLoader = new ProjectCompileClassPathLoader(project, getClass().getClassLoader());
            ClassLoader savedContextClassLoader = Thread.currentThread().getContextClassLoader();
            Thread.currentThread().setContextClassLoader(compileClassPathLoader);

            for (Object compileSourceRoot : project.getCompileSourceRoots()) {
                getLogger().debug("processing source root: " + compileSourceRoot);
View Full Code Here

TOP

Related Classes of au.net.ocean.maven.plugin.extractor.util.ProjectCompileClassPathLoader

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.