org.jboss.maven.plugins.license
Class DownloadLicensesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.maven.plugins.license.DownloadLicensesMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class DownloadLicensesMojo
- extends org.apache.maven.plugin.AbstractMojo
Maven goal for downloading the license files of all the current project's dependencies.
- Version:
- $Revision: 167 $
- Author:
- Paul Gier
Field Summary |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Location of the local repository. |
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object |
protected org.apache.maven.project.MavenProjectBuilder |
projectBuilder
Used to build a maven projects from artifacts in the remote repository. |
protected java.util.List |
remoteRepositories
List of Remote Repositories used by the resolver |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected org.apache.maven.project.MavenProject project
- The Maven Project Object
projectBuilder
protected org.apache.maven.project.MavenProjectBuilder projectBuilder
- Used to build a maven projects from artifacts in the remote repository.
localRepository
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
- Location of the local repository.
remoteRepositories
protected java.util.List remoteRepositories
- List of Remote Repositories used by the resolver
DownloadLicensesMojo
public DownloadLicensesMojo()
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
Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.