com.atlassian.plugin.maven.license
Class LicenseDownloadMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.plugin.maven.license.AbstractLicenseMojo
          extended by com.atlassian.plugin.maven.license.LicenseDownloadMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="download",
      aggregator=true,
      requiresDependencyResolution=TEST)
public class LicenseDownloadMojo
extends AbstractLicenseMojo

Goal that downloads all licenses to a specific directory


Field Summary
 java.io.File licensesDirectory
          Directory to output the licenses
 
Fields inherited from class com.atlassian.plugin.maven.license.AbstractLicenseMojo
artifactFactory, cloneRepositoryPath, licenseRepositoryUrl, localRepository, mavenProjectBuilder, nonMavenDependenciesFile, reactorProjects, resolveNestedArtifacts
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LicenseDownloadMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class com.atlassian.plugin.maven.license.AbstractLicenseMojo
getHandler
 
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
 

Field Detail

licensesDirectory

@Parameter(required=true,
           property="license.licensesDirectory")
public java.io.File licensesDirectory
Directory to output the licenses

Constructor Detail

LicenseDownloadMojo

public LicenseDownloadMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2013 Atlassian. All Rights Reserved.