public class LicenseMatchers extends Object
DependencyMatchers to match and replace licenses in ProjectLicenseInfo instances.| Modifier and Type | Class and Description |
|---|---|
static class |
LicenseMatchers.Builder
A
LicenseMatchers builder |
| Modifier and Type | Method and Description |
|---|---|
static LicenseMatchers.Builder |
builder() |
static LicenseMatchers |
load(File licenseMatchersFile) |
void |
replaceMatches(ProjectLicenseInfo dependency)
Replace matching licenses in the given
dependency |
public static LicenseMatchers.Builder builder()
LicenseMatchers.Builderpublic static LicenseMatchers load(File licenseMatchersFile) throws org.apache.maven.plugin.MojoExecutionException
licenseMatchersFile - LicenseMatchers configured from the given licenseMatchersFileorg.apache.maven.plugin.MojoExecutionExceptionpublic void replaceMatches(ProjectLicenseInfo dependency)
dependencydependency - Copyright © 2010–2019 MojoHaus. All rights reserved.