com.atlassian.plugin.maven.license
Class AbstractLicenseMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
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 |
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
AbstractLicenseMojo
public AbstractLicenseMojo()
getHandler
protected com.atlassian.plugin.maven.license.LicenseHandler getHandler()
Copyright © 2013 Atlassian. All Rights Reserved.