Class ListRepositoriesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.dependency.AbstractDependencyMojo
org.apache.maven.plugins.dependency.ListRepositoriesMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
@Mojo(name="list-repositories",
      threadSafe=true)
public class ListRepositoriesMojo
extends AbstractDependencyMojo
Goal that collects all project dependencies and then lists the repositories used by the build and by the transitive
 dependencies.
- Since:
- 2.2
- Author:
- Brian Fox
- 
Field SummaryFields inherited from class org.apache.maven.plugins.dependency.AbstractDependencyMojoreactorProjects, sessionFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructorsConstructorDescriptionListRepositoriesMojo(org.apache.maven.execution.MavenSession session, org.sonatype.plexus.build.incremental.BuildContext buildContext, org.apache.maven.project.MavenProject project, org.eclipse.aether.RepositorySystem repositorySystem) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidDisplays a list of the repositories used by this build.Methods inherited from class org.apache.maven.plugins.dependency.AbstractDependencyMojoexecute, getProject, isSilent, isSkip, setSilent, setSkipMethods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Constructor Details- 
ListRepositoriesMojo@Inject public ListRepositoriesMojo(org.apache.maven.execution.MavenSession session, org.sonatype.plexus.build.incremental.BuildContext buildContext, org.apache.maven.project.MavenProject project, org.eclipse.aether.RepositorySystem repositorySystem) 
 
- 
- 
Method Details- 
doExecuteprotected void doExecute() throws org.apache.maven.plugin.MojoExecutionExceptionDisplays a list of the repositories used by this build.- Specified by:
- doExecutein class- AbstractDependencyMojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException- with a message if an error occurs
 
 
-