org.apache.maven.plugin.dependency.resolvers
Class ListRepositoriesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.dependency.AbstractDependencyMojo
          extended by org.apache.maven.plugin.dependency.resolvers.ListRepositoriesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ListRepositoriesMojo
extends AbstractDependencyMojo

Goal that resolves all project dependencies and then lists the repositories used by the build and by the transitive dependencies

Since:
2.2
Version:
$Id: GoOfflineMojo.java 728546 2008-12-21 22:56:51Z bentmann $
Author:
Brian Fox
Is defined by the goal name:
list-repositories
Requires the dependencies in this specified scope:
test

Field Summary
 
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo
archiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ListRepositoriesMojo()
           
 
Method Summary
 void execute()
          Displays a list of the repositories used by this build.
 
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack, unpack
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListRepositoriesMojo

public ListRepositoriesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Displays a list of the repositories used by this build.

Throws:
org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.