org.apache.geronimo.mavenplugins.car
Class CreatePluginListMojo

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.CreatePluginListMojo
All Implemented Interfaces:
org.apache.maven.plugin.Mojo, org.codehaus.plexus.logging.LogEnabled

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

Version:
$Rev: 657880 $ $Date: 2008-05-19 10:48:13 -0700 (Mon, 19 May 2008) $

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, encoding, escapeString, localDependencies, mavenFileFilter, mavenResourcesFiltering, project, session, treeListing
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CreatePluginListMojo()
           
 
Method Summary
 PluginListType createPluginListForRepositories(ListableRepository repository, String repoName)
           
 void execute()
           
 
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
 

Constructor Detail

CreatePluginListMojo

public CreatePluginListMojo()
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

createPluginListForRepositories

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


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