org.apache.geronimo.mavenplugins.car
Class UpdatePluginListMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by org.apache.geronimo.mavenplugins.car.AbstractCarMojo
              extended by org.apache.geronimo.mavenplugins.car.UpdatePluginListMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

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.


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, dependencyHelper, project, projectHelper
 
Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
container, log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UpdatePluginListMojo()
           
 
Method Summary
protected  void doExecute()
           
 void updatePluginList(PluginType plugin, PluginListType pluginList)
           
 
Methods inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
generateExplicitVersionProperties, geronimoToMavenArtifact, getArchiveFile, getArtifactRepository, getDependencies, getProject, includeDependency, init, isModuleArtifact, mavenToGeronimoArtifact, mavenToGeronimoArtifact, resolveDependency
 
Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
contextualize, createArtifact, execute, getArtifact, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifact
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
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

doExecute

protected void doExecute()
                  throws Exception
Overrides:
doExecute in class org.codehaus.mojo.pluginsupport.MojoSupport
Throws:
Exception

updatePluginList

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


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