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:
ContextEnabled, Mojo

@Mojo(name="list-repositories",
      requiresDependencyResolution=TEST,
      threadSafe=true)
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

Field Summary
 
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo
archiverManager, artifactCollector, artifactMetadataSource, factory, ignorePermissions, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent, useJvmChmod
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ListRepositoriesMojo()
           
 
Method Summary
protected  void doExecute()
          Displays a list of the repositories used by this build.
 
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo
copyFile, execute, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, isSkip, isUseJvmChmod, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, setSkip, setUseJvmChmod, 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

doExecute

protected void doExecute()
                  throws MojoExecutionException
Displays a list of the repositories used by this build.

Specified by:
doExecute in class AbstractDependencyMojo
Throws:
MojoExecutionException - with a message if an error occurs.


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