changes:changes-check

Full name:

org.apache.maven.plugins:maven-changes-plugin:2.6:changes-check

Description:

Goal which checks that the changes.xml file has the necessary data to generate an announcement or a report for the current release.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 2.4.

Required Parameters

Name Type Since Description
version String 2.4 Version of the artifact.
Default value is: ${project.version}.

Optional Parameters

Name Type Since Description
releaseDateFormat String 2.4 The format that a correct release date should have. This value will be used as a pattern to try to create a date.
Default value is: yyyy-MM-dd.
xmlPath File 2.4 The path of the changes.xml file that will be checked.
Default value is: src/changes/changes.xml.

Parameter Details

releaseDateFormat:

The format that a correct release date should have. This value will be used as a pattern to try to create a date.
  • Type: java.lang.String
  • Since: 2.4
  • Required: No
  • Expression: ${changes.releaseDateFormat}
  • Default: yyyy-MM-dd

version:

Version of the artifact.
  • Type: java.lang.String
  • Since: 2.4
  • Required: Yes
  • Expression: ${changes.version}
  • Default: ${project.version}

xmlPath:

The path of the changes.xml file that will be checked.
  • Type: java.io.File
  • Since: 2.4
  • Required: No
  • Expression: ${changes.xmlPath}
  • Default: src/changes/changes.xml