Class LicenseNameUrlOverride
java.lang.Object
org.codehaus.mojo.license.LicenseNameUrlOverride
Defines a license name pattern and a URL to use when that name pattern matches.
Used by
AbstractDownloadLicensesMojo.licenseNameUrlOverrides to map well-known license
names to canonical download URLs, regardless of which dependency declares the license and regardless
of whether the dependency's POM already contains a URL.- Since:
- 2.7.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()voidsetLicenseNamePattern(String licenseNamePattern) voidvoidvalidate()
-
Constructor Details
-
LicenseNameUrlOverride
public LicenseNameUrlOverride()
-
-
Method Details
-
getLicenseNamePattern
-
setLicenseNamePattern
-
getUrl
-
setUrl
-
getPattern
-
validate
public void validate() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-