@Mojo(name="licenses-xml-insert-versions",
requiresDependencyResolution=TEST,
defaultPhase=PACKAGE)
public class LicensesXmlInsertVersionsMojo
extends AbstractLicensesXmlMojo
licenses.xml file that might have been generated by a *download-licenses mojo
with writeVersions set to false.| Modifier and Type | Field and Description |
|---|---|
protected File |
licensesInputFile
The file whose XML content will be used as a base for adding versions.
|
dependenciesTool, licensesOutputFile, licensesOutputFileEol, localRepository, project, remoteRepositories| Constructor and Description |
|---|
LicensesXmlInsertVersionsMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected Path[] |
getAutodetectEolFiles() |
getEncoding, writeLicenseSummary@Parameter(property="license.licensesInputFile") protected File licensesInputFile
AbstractLicensesXmlMojo.licensesOutputFilepublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected Path[] getAutodetectEolFiles()
getAutodetectEolFiles in class AbstractLicensesXmlMojoCopyright © 2010–2019 MojoHaus. All rights reserved.