org.apache.geronimo.mavenplugins.car
Class CreatePluginListMojo

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.CreatePluginListMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class CreatePluginListMojo
extends AbstractCarMojo

Creates or replaces a geronimo-plugins.xml catalog of geronimo plugins in the local maven repository. Although geronimo-plugins.xml is maintained automatically when you build geronimo plugins locally, this is useful if you have downloaded plugins from elsewhere or corrupted the geronimo-plugins.xml file. This must be run explcitly using the command line mvn org.apache.geronimo.buildsupport:car-maven-plugin:create-pluginlist


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
AbstractCarMojo.ArtifactLookupImpl
 
Field Summary
 
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
CreatePluginListMojo()
           
 
Method Summary
 PluginListType createPluginListForRepositories(ListableRepository repository, String repoName)
           
protected  void doExecute()
           
 
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
 

Constructor Detail

CreatePluginListMojo

public CreatePluginListMojo()
Method Detail

doExecute

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

createPluginListForRepositories

public PluginListType createPluginListForRepositories(ListableRepository repository,
                                                      String repoName)
                                               throws NoSuchStoreException
Throws:
NoSuchStoreException


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