public class ScriptClassGeneratorMojo extends AbstractMojo
ScriptClassGenerator
mojo to be invoked.
on one or more given classes.Modifier and Type | Field and Description |
---|---|
protected ArtifactFactory |
factory |
protected ArtifactRepository |
localRepository |
Constructor and Description |
---|
ScriptClassGeneratorMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected List<String> |
getProvidedClasspathElements()
Adds any dependencies to the current project from the plugin
having the given
pluginArtifactId . |
protected void |
initializeClassLoader(Collection<String> classpathFiles)
Sets the current context class loader from the given runtime classpath elements.
|
getLog, getPluginContext, setLog, setPluginContext
protected ArtifactFactory factory
protected ArtifactRepository localRepository
public ScriptClassGeneratorMojo()
public void execute() throws MojoExecutionException, MojoFailureException
MojoExecutionException
MojoFailureException
Mojo.execute()
protected List<String> getProvidedClasspathElements()
pluginArtifactId
.
This project artifact dependencies are added.
scope=PROVIDED the artifact scope in which to add them (runtime, compile, etc).protected void initializeClassLoader(Collection<String> classpathFiles) throws MalformedURLException
classpathFiles
- MalformedURLException
Copyright © 2005–2014 AndroMDA.org. All rights reserved.