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: 690859 $ $Date: 2008-08-31 23:30:25 -0700 (Sun, 31 Aug 2008) $
| Fields inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo |
artifactFactory, artifactRepository, basedir, encoding, escapeString, localDependencies, mavenFileFilter, mavenResourcesFiltering, project, session, 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 |
filter, generateExplicitVersionProperties, geronimoToMavenArtifact, getArchiveFile, getArtifactRepository, getDependencies, getLog, getModuleId, getProject, includeDependency, init, isModuleArtifact, mavenToGeronimoArtifact, mavenToGeronimoArtifact, resolveArtifact, resolveDependency, setLog, toDependencies, toGeronimoDependency |
| 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 File targetDir
- Directory for generated plugin metadata file.
pluginMetadataFileName
protected String pluginMetadataFileName
- Name of generated plugin metadata 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-2009 The Apache Geronimo development community. All Rights Reserved.