public abstract class AbstractExporterMojo
extends org.apache.maven.plugin.AbstractMojo
GenericExporter
tool using the
classpath of the module the plugin is invoked in.Constructor and Description |
---|
AbstractExporterMojo() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
configure(GenericExporter exporter) |
void |
execute() |
protected ClassLoader |
getProjectClassLoader() |
void |
setBuildContext(org.sonatype.plexus.build.incremental.BuildContext buildContext) |
void |
setPackages(String[] packages) |
void |
setProject(org.apache.maven.project.MavenProject project) |
void |
setScala(boolean scala) |
void |
setSourceEncoding(String sourceEncoding) |
void |
setTargetFolder(File targetFolder) |
void |
setTestClasspath(boolean testClasspath) |
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract void configure(GenericExporter exporter)
protected ClassLoader getProjectClassLoader() throws org.apache.maven.artifact.DependencyResolutionRequiredException, MalformedURLException
org.apache.maven.artifact.DependencyResolutionRequiredException
MalformedURLException
public void setTargetFolder(File targetFolder)
public void setScala(boolean scala)
public void setPackages(String[] packages)
public void setProject(org.apache.maven.project.MavenProject project)
public void setSourceEncoding(String sourceEncoding)
public void setTestClasspath(boolean testClasspath)
public void setBuildContext(org.sonatype.plexus.build.incremental.BuildContext buildContext)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.