org.apache.maven.plugin.dependency.resolvers
Class ListRepositoriesMojo
java.lang.Object
  
org.apache.maven.plugin.AbstractMojo
      
org.apache.maven.plugin.dependency.AbstractDependencyMojo
          
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
 
 
| Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo | 
archiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent, useJvmChmod | 
 
| Fields inherited from interface org.apache.maven.plugin.Mojo | 
ROLE | 
 
 
| 
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, isUseJvmChmod, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, setUseJvmChmod, unpack, unpack | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ListRepositoriesMojo
public ListRepositoriesMojo()
execute
public void execute()
             throws MojoExecutionException
- Displays a list of the repositories used by this build.
- Throws:
 MojoExecutionException - with a message if an error occurs.
 
 
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.