org.apache.geronimo.mavenplugins.car
Class UpdatePluginListMojo

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.geronimo.mavenplugins.car.AbstractCarMojo
          extended by org.apache.geronimo.mavenplugins.car.UpdatePluginListMojo
All Implemented Interfaces:
org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled

public class UpdatePluginListMojo
extends AbstractCarMojo

Maintain the geronimo-plugins.xml catalog in the local maven repository by merging in the geronimo-plugin.xml from the current project.

Version:
$Rev: 703450 $ $Date: 2008-10-10 21:24:46 +0800 (Fri, 10 Oct 2008) $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
AbstractCarMojo.ArtifactLookupImpl
 
Field Summary
protected  File targetFile
          Location of the (just generated) plugin metadata file to merge into the geronimo-plugins.xml catalog in the local maven repository.
 
Fields inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
artifactFactory, artifactRepository, basedir, dependencies, encoding, escapeString, localDependencies, mavenFileFilter, mavenResourcesFiltering, project, session, treeListing
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UpdatePluginListMojo()
           
 
Method Summary
 void execute()
           
 void updatePluginList(PluginType plugin, PluginListType pluginList)
           
 
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
 

Field Detail

targetFile

protected File targetFile
Location of the (just generated) plugin metadata file to merge into the geronimo-plugins.xml catalog in the local maven repository.

Constructor Detail

UpdatePluginListMojo

public UpdatePluginListMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

updatePluginList

public void updatePluginList(PluginType plugin,
                             PluginListType pluginList)
                      throws NoSuchStoreException
Throws:
NoSuchStoreException


Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.