All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jfrog.maven.annomojo.extractor.Maven21Helper Maven / Gradle / Ivy

Go to download

Maven Anno Mojo module conatining the implementation of the MojoDescriptorExtractor used by the plugin maven-plugin-plugin. This POM override the standard java MojoDescriptorExtractor to avoid qdox parsing error. Adding this module as a dependencies to maven-plugin-plugin will stop the xdoclet plugin system is from being activated, and will activate this annotations processor instead.

There is a newer version: 1.4.1
Show newest version
package org.jfrog.maven.annomojo.extractor;

import org.apache.maven.artifact.repository.ArtifactRepository;
import org.codehaus.plexus.PlexusContainer;
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;

/**
 * Created by IntelliJ IDEA.
 * User: yoavl
 */
public class Maven21Helper implements MavenHelper {

    //private MavenTools tools;

    Maven21Helper(PlexusContainer container) throws ComponentLookupException {
        //tools = (MavenTools) container.lookup(MavenTools.ROLE);
    }

    /*public ArtifactRepository getLocalRepository() throws Exception {
        String localRepositoryPath = tools.getLocalRepositoryPath();
        return tools.createLocalRepository(new File(localRepositoryPath));
    }*/

    public ArtifactRepository getLocalRepository() throws Exception {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy