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 java.lang.ClassLoader |
getProjectClassLoader() |
void |
setBuildContext(org.sonatype.plexus.build.incremental.BuildContext buildContext) |
void |
setHandleFields(boolean handleFields) |
void |
setHandleMethods(boolean handleMethods) |
void |
setPackages(java.lang.String[] packages) |
void |
setProject(org.apache.maven.project.MavenProject project) |
void |
setScala(boolean scala) |
void |
setSourceEncoding(java.lang.String sourceEncoding) |
void |
setTargetFolder(java.io.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 java.lang.ClassLoader getProjectClassLoader() throws org.apache.maven.artifact.DependencyResolutionRequiredException, java.net.MalformedURLException
org.apache.maven.artifact.DependencyResolutionRequiredException
java.net.MalformedURLException
public void setTargetFolder(java.io.File targetFolder)
public void setScala(boolean scala)
public void setPackages(java.lang.String[] packages)
public void setProject(org.apache.maven.project.MavenProject project)
public void setSourceEncoding(java.lang.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-2013 Mysema Ltd. All Rights Reserved.