public abstract class AbstractAndroMDAMojo extends AbstractConfigurationMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowMultipleRuns
Do we allow the code generation to run multiple times? Yes for AndroMDA server,
no for all other cases unless overridden.
|
protected String |
configurationUri
This is the URI to the AndroMDA configuration file.
|
protected org.apache.maven.artifact.factory.ArtifactFactory |
factory |
protected ArtifactRepository |
localRepository |
protected List<org.apache.maven.model.Plugin> |
plugins
The registered plugin implementations.
|
protected org.apache.maven.project.MavenProject |
project |
protected List<String> |
propertyFiles |
protected Settings |
settings
The current user system settings for use in Maven.
|
skip, skipTests, testFailureIgnore
Constructor and Description |
---|
AbstractAndroMDAMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Initialize configuration and execute plugin
|
protected abstract void |
execute(Configuration configuration)
Performs the execution of an AndroMDA service with the given
configuration . |
protected org.apache.maven.artifact.factory.ArtifactFactory |
getFactory() |
protected ArtifactRepository |
getLocalRepository() |
protected List<org.apache.maven.model.Plugin> |
getPlugins() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected List<String> |
getPropertyFiles() |
protected Settings |
getSettings() |
void |
setConfigurationUri(String configurationUri) |
void |
setProject(org.apache.maven.project.MavenProject project) |
void |
setPropertyFiles(List<String> propertyFiles)
Sets the property files for this project.
|
void |
setSettings(Settings settings)
Sets the current settings for this Mojo.
|
addPluginDependencies, getConfiguration, getProperties, initializeClasspathFromClassPathElements, replaceProperties
protected String configurationUri
protected boolean allowMultipleRuns
protected org.apache.maven.project.MavenProject project
protected List<String> propertyFiles
protected Settings settings
protected org.apache.maven.artifact.factory.ArtifactFactory factory
protected List<org.apache.maven.model.Plugin> plugins
protected ArtifactRepository localRepository
public AbstractAndroMDAMojo()
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.execute()
protected abstract void execute(Configuration configuration) throws Exception
configuration
.configuration
- the configuration to use for AndroMDA service executionException
public void setConfigurationUri(String configurationUri)
configurationUri
- The configurationUri to set.public void setProject(org.apache.maven.project.MavenProject project)
project
- The project to set.public void setSettings(Settings settings)
settings
- The settings to set.public void setPropertyFiles(List<String> propertyFiles)
propertyFiles
- protected org.apache.maven.project.MavenProject getProject()
getProject
in class AbstractConfigurationMojo
AbstractConfigurationMojo.getProject()
protected List<String> getPropertyFiles()
getPropertyFiles
in class AbstractConfigurationMojo
AbstractConfigurationMojo.getPropertyFiles()
protected Settings getSettings()
getSettings
in class AbstractConfigurationMojo
AbstractConfigurationMojo.getSettings()
protected org.apache.maven.artifact.factory.ArtifactFactory getFactory()
getFactory
in class AbstractConfigurationMojo
AbstractConfigurationMojo.getFactory()
protected List<org.apache.maven.model.Plugin> getPlugins()
getPlugins
in class AbstractConfigurationMojo
AbstractConfigurationMojo.getPlugins()
protected ArtifactRepository getLocalRepository()
getLocalRepository
in class AbstractConfigurationMojo
AbstractConfigurationMojo.getLocalRepository()
Copyright © 2005–2014 AndroMDA.org. All rights reserved.