@Mojo(name="seed",
aggregator=true,
requiresDependencyResolution=TEST,
requiresProject=true,
requiresDirectInvocation=true)
public class LicenseSeedMojo
extends AbstractLicenseMojo
| Modifier and Type | Field and Description |
|---|---|
boolean |
forceSeed
Whether to override the license files regardless of the contents
|
File |
licensesDirectory
Directory to find the licenses for seeding.
|
String |
missingFile
Properties file contains license type overrides.
|
artifactFactory, artifactResolver, cloneRepositoryPath, ignoredArtifactsTrees, ignoredLicenseScopes, ignoredMavenScopes, licenseRepositoryUrl, localRepository, mavenProjectBuilder, nonMavenDependenciesFile, project, projectHelper, reactorProjects, remoteRepositories, repositoryId, repositoryUrl, resolveNestedArtifacts, resolveNestedArtifactsHard, session, wagonManager| Constructor and Description |
|---|
LicenseSeedMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
cleanupTruezip, getHandler@Parameter(property="license.missingFile") public String missingFile
@Parameter(property="license.licensesDirectory") public File licensesDirectory
@Parameter(property="license.forceSeed",
defaultValue="true")
public boolean forceSeed
Copyright © 2015 Atlassian. All rights reserved.