public abstract class AbstractVersionsDisplayMojo extends AbstractVersionsUpdaterMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
logOutput
Controls whether the display output is logged to the console.
|
protected String |
outputEncoding
The character encoding to use when writing to
outputFile. |
protected File |
outputFile
If specified then the display output will be sent to the specified file.
|
protected int |
outputLineWidth
Line width which should be used to format the padding of the version info list output.
|
allowSnapshots, artifactMetadataSource, artifactResolver, ignoredVersions, localRepository, project, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, repositorySystem, ruleSet, session, settings| Modifier | Constructor and Description |
|---|---|
protected |
AbstractVersionsDisplayMojo(org.apache.maven.repository.RepositorySystem repositorySystem,
org.apache.maven.project.MavenProjectBuilder projectBuilder,
org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource,
org.apache.maven.artifact.manager.WagonManager wagonManager,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getOutputLineWidthOffset() |
protected void |
logInit() |
protected void |
logLine(boolean error,
String line) |
execute, findLatestVersion, getChangeRecorder, getHelper, getProject, getPropertyValue, getVersion, newModifiedPomXER, process, saveChangeRecorderResults, setProject, shouldApplyUpdate, shouldApplyUpdate, update, updatePropertyToNewestVersion, writeFile@Parameter(property="versions.outputFile") protected File outputFile
@Parameter(property="versions.logOutput",
defaultValue="true")
protected boolean logOutput
@Parameter(property="outputEncoding",
defaultValue="${project.reporting.outputEncoding}")
protected String outputEncoding
outputFile.@Parameter(property="versions.outputLineWidth",
defaultValue="80")
protected int outputLineWidth
@Inject
protected AbstractVersionsDisplayMojo(org.apache.maven.repository.RepositorySystem repositorySystem,
org.apache.maven.project.MavenProjectBuilder projectBuilder,
org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource,
org.apache.maven.artifact.manager.WagonManager wagonManager,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)
protected void logInit()
protected void logLine(boolean error,
String line)
protected int getOutputLineWidthOffset()
Copyright © 2008–2022 MojoHaus. All rights reserved.