com.atlassian.plugin.maven.license
Class AbstractLicenseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.plugin.maven.license.AbstractLicenseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
LicenseBomMojo, LicenseDownloadMojo, LicenseSeedMojo, LicenseVerifyMojo

public abstract class AbstractLicenseMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
 org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
           
 java.lang.String cloneRepositoryPath
           
 java.lang.String licenseRepositoryUrl
          URL to download the Git repository of licenses
 org.apache.maven.artifact.repository.ArtifactRepository localRepository
           
 org.apache.maven.project.MavenProjectBuilder mavenProjectBuilder
           
 java.lang.String nonMavenDependenciesFile
          Properties file contains license type overrides for non-maven artifacts.
 java.util.List<org.apache.maven.project.MavenProject> reactorProjects
           
 boolean resolveNestedArtifacts
          Inspect (Atlassian only) artifacts for any non-declared dependencies
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractLicenseMojo()
           
 
Method Summary
protected  com.atlassian.plugin.maven.license.LicenseHandler 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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

licenseRepositoryUrl

@Parameter(property="license.licenseRepositoryUrl",
           defaultValue="ssh://git@stash.atlassian.com:7997/buildeng/atlassian-licenses.git")
public java.lang.String licenseRepositoryUrl
URL to download the Git repository of licenses


nonMavenDependenciesFile

@Parameter(property="license.nonMavenDependenciesFile")
public java.lang.String nonMavenDependenciesFile
Properties file contains license type overrides for non-maven artifacts.


resolveNestedArtifacts

@Parameter(property="license.resolveNestedArtifacts",
           defaultValue="true")
public boolean resolveNestedArtifacts
Inspect (Atlassian only) artifacts for any non-declared dependencies


reactorProjects

@Parameter(required=true,
           property="reactorProjects")
public java.util.List<org.apache.maven.project.MavenProject> reactorProjects

localRepository

@Parameter(required=true,
           property="localRepository")
public org.apache.maven.artifact.repository.ArtifactRepository localRepository

artifactFactory

@Component
public org.apache.maven.artifact.factory.ArtifactFactory artifactFactory

mavenProjectBuilder

@Component
public org.apache.maven.project.MavenProjectBuilder mavenProjectBuilder

cloneRepositoryPath

@Parameter(property="license.cloneRepositoryPath",
           defaultValue="${project.build.directory}/atlassian-license-maven-plugin")
public java.lang.String cloneRepositoryPath
Constructor Detail

AbstractLicenseMojo

public AbstractLicenseMojo()
Method Detail

getHandler

protected com.atlassian.plugin.maven.license.LicenseHandler getHandler()


Copyright © 2013 Atlassian. All Rights Reserved.