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 void |
configure(GenericExporter exporter)
Configures the
GenericExporter ; subclasses may override if desired. |
void |
execute() |
protected ClassLoader |
getProjectClassLoader() |
void |
setBuildContext(org.sonatype.plexus.build.incremental.BuildContext buildContext) |
void |
setHandleFields(boolean handleFields) |
void |
setHandleMethods(boolean handleMethods) |
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 void configure(GenericExporter exporter)
GenericExporter
; subclasses may override if desired.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)
public void setHandleFields(boolean handleFields)
public void setHandleMethods(boolean handleMethods)
Copyright © 2007–2015 Mysema Ltd. All rights reserved.