public abstract class BaseMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected ResourceAnalyzer |
analyzer
The analyzer that finds resource bundles.
|
protected boolean |
offline
Whether to update the local workspace checkouts or not.
|
protected String |
outputDirectory
The directory where the dashboard html files should be created.
|
protected SVNUtil |
svn
The svn utility to do checkouts.
|
protected String |
yal10nSettings
The configuration of the dashboard is read from this file.
|
| Constructor and Description |
|---|
BaseMojo()
Instantiates a new base mojo.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkout(DashboardConfiguration config,
DetectChangesStatus newStatus)
Performs the svn checkout and collects the new revision status.
|
void |
setOutputDirectory(String outputDirectory)
Sets the output directory.
|
void |
setYal10nSettings(String yal10nSettings)
Sets the settings file name
|
getLog, getPluginContext, setLog, setPluginContext@Parameter(required=true,
property="yal10n.settings",
defaultValue="yal10n-settings.json")
protected String yal10nSettings
@Parameter(required=true,
defaultValue="${settings.offline}")
protected boolean offline
@Parameter(required=true,
property="yal10n.outputDirectory",
defaultValue="target")
protected String outputDirectory
@Component protected SVNUtil svn
@Component protected ResourceAnalyzer analyzer
public void setYal10nSettings(String yal10nSettings)
yal10nSettings - the settings file name to usepublic void setOutputDirectory(String outputDirectory)
outputDirectory - the new output directoryprotected void checkout(DashboardConfiguration config, DetectChangesStatus newStatus)
config - the configuration with all the repositoriesnewStatus - the new status. Can be null.Copyright © 2013-2015. All Rights Reserved.