changes:changes-check

Full name:

org.apache.maven.plugins:maven-changes-plugin:2.8: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}.
User property is: changes.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.
User property is: changes.releaseDateFormat.
skipSnapshots boolean 2.7 Flag controlling snapshot processing. If set, versions ending with -SNAPSHOT won't be checked.
Default value is: false.
User property is: changes.skipSnapshots.
xmlPath File 2.4 The path of the changes.xml file that will be checked.
Default value is: src/changes/changes.xml.
User property is: changes.xmlPath.

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
  • User Property: changes.releaseDateFormat
  • Default: yyyy-MM-dd

skipSnapshots:

Flag controlling snapshot processing. If set, versions ending with -SNAPSHOT won't be checked.
  • Type: boolean
  • Since: 2.7
  • Required: No
  • User Property: changes.skipSnapshots
  • Default: false

version:

Version of the artifact.
  • Type: java.lang.String
  • Since: 2.4
  • Required: Yes
  • User Property: 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
  • User Property: changes.xmlPath
  • Default: src/changes/changes.xml