@Mojo(name="changelog", aggregator=true) public class ChangeLogMojo extends AbstractScmMojo
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dateFormat
Date Format in changelog output of scm tool.
|
private static java.lang.String |
DEFAULT_DATE_FORMAT |
private java.lang.String |
endDate
End Date.
|
private java.lang.String |
endScmVersion
End Scm Version.
|
private java.lang.String |
endScmVersionType
End Scm Version Type.
|
private java.lang.String |
scmVersion
The version (revision number/branch name/tag name).
|
private java.lang.String |
scmVersionType
The version type (branch/tag) of scmVersion.
|
private java.lang.String |
startDate
Start Date.
|
private java.lang.String |
startScmVersion
Start Scm Version.
|
private java.lang.String |
startScmVersionType
Start Scm Version Type.
|
private java.lang.String |
userDateFormat
Date format to use for the specified startDate and/or endDate.
|
Constructor and Description |
---|
ChangeLogMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
private java.util.Date |
parseDate(java.text.SimpleDateFormat format,
java.lang.String date)
Converts the localized date string pattern to date object.
|
checkResult, getBasedir, getConnectionUrl, getExcludes, getFileSet, getIncludes, getScmManager, getScmRepository, getScmVersion, getWorkingDirectory, handleExcludesIncludesAfterCheckoutAndExport, setConnectionType, setConnectionUrl, setExcludes, setIncludes, setWorkingDirectory
private static final java.lang.String DEFAULT_DATE_FORMAT
@Parameter(property="startDate") private java.lang.String startDate
@Parameter(property="endDate") private java.lang.String endDate
@Parameter(property="startScmVersion") private java.lang.String startScmVersion
@Parameter(property="endScmVersion") private java.lang.String endScmVersion
@Parameter(property="startScmVersionType") private java.lang.String startScmVersionType
@Parameter(property="endScmVersionType") private java.lang.String endScmVersionType
@Parameter(property="dateFormat") private java.lang.String dateFormat
@Parameter(property="userDateFormat", defaultValue="yyyy-MM-dd") private java.lang.String userDateFormat
@Parameter(property="scmVersionType") private java.lang.String scmVersionType
@Parameter(property="scmVersion") private java.lang.String scmVersion
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractScmMojo
org.apache.maven.plugin.MojoExecutionException
private java.util.Date parseDate(java.text.SimpleDateFormat format, java.lang.String date) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException