org.apache.geronimo.mavenplugins.car
Class PluginMetadataGeneratorMojo
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.geronimo.mavenplugins.car.AbstractCarMojo
org.apache.geronimo.mavenplugins.car.PluginMetadataGeneratorMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled
public class PluginMetadataGeneratorMojo
- extends AbstractCarMojo
Generate a geronimo-plugin.xml file based on configuration in the pom and car-maven-plugin configuration.
- Version:
- $Rev: 1021640 $ $Date: 2010-10-12 14:47:22 +0800 (Tue, 12 Oct 2010) $
|
Field Summary |
protected java.lang.String |
obrFileName
Name of generated obr repository.xml file. |
protected java.lang.String |
pluginMetadataFileName
Name of generated plugin metadata file. |
protected java.io.File |
targetDir
Directory for generated plugin metadata file. |
| Fields inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo |
artifactFactory, artifactRepository, basedir, dependencyArtifacts, encoding, escapeString, localDependencies, mavenFileFilter, mavenResourcesFiltering, project, projectHelper, session, systemProperties, treeListing |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
Configuration for this instance itself. |
| Methods inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo |
cleanup, filter, generateExplicitVersionProperties, geronimoToMavenArtifact, getArchiveFile, getArtifactRepository, getDependencies, getFramework, getLog, getModuleId, getProject, includeDependency, init, isModuleArtifact, mavenToGeronimoArtifact, mavenToGeronimoArtifact, resolveArtifact, resolveDependency, setLog, setSystemProperties, toDependencies, toGeronimoDependency, unsetSystemProperties |
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetDir
protected java.io.File targetDir
- Directory for generated plugin metadata file.
pluginMetadataFileName
protected java.lang.String pluginMetadataFileName
- Name of generated plugin metadata file.
obrFileName
protected java.lang.String obrFileName
- Name of generated obr repository.xml file.
PluginMetadataGeneratorMojo
public PluginMetadataGeneratorMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Configuration for this instance itself. This is a plugin-artifactType element without moduleId or dependencies. Do not include more than one of these in the parent poms
since maven will not merge them correctly. Actually we have to fish this out of the model since maven mangles the xml for us.
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.