clirr:check-no-fork

Full name:

org.codehaus.mojo:clirr-maven-plugin:2.4:check-no-fork

Description:

Check for compatibility with previous version without forking the project

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Since version: 2.3.
  • Binds by default to the lifecycle phase: verify.

Optional Parameters

Name Type Since Description
classesDirectory File 2.3 The classes of this project to compare the last release against.
Default value is: ${project.build.outputDirectory}.
comparisonArtifacts ArtifactSpecification[] 2.3 List of artifacts to compare the current code against. This overrides comparisonVersion, if present. Each comparisonArtifact is made of a groupId, an artifactId and a version number. Optionally it may have a classifier (default null) and a type (default "jar").
comparisonVersion String 2.3 Version to compare the current code against.
Default value is: (,${project.version}).
excludes String[] 2.3 A list of classes to exclude. These classes are excluded from the list of classes that are included. Values are specified in path pattern notation, e.g. org/codehaus/mojo/**.
failOnError boolean 2.3 Whether to fail on errors.
Default value is: true.
failOnInfo boolean 2.3 Whether to fail on info.
Default value is: false.
failOnWarning boolean 2.3 Whether to fail on warnings.
Default value is: false.
includes String[] 2.3 A list of classes to include. Anything not included is excluded. If omitted, all are assumed to be included. Values are specified in path pattern notation, e.g. org/codehaus/mojo/**.
logResults boolean 2.3 Whether to log the results to the console or not.
Default value is: false.
minSeverity String 2.3 Show only messages of this severity or higher. Valid values are info, warning and error.
Default value is: warning.
skip boolean 2.3 Flag to easily skip execution.
Default value is: false.
textOutputFile File 2.3 A text output file to render to. If omitted, no output is rendered to a text file.
xmlOutputFile File 2.3 An XML file to render to. If omitted, no output is rendered to an XML file.

Parameter Details

classesDirectory:

The classes of this project to compare the last release against.
  • Type: java.io.File
  • Since: 2.3
  • Required: No
  • Default: ${project.build.outputDirectory}

comparisonArtifacts:

List of artifacts to compare the current code against. This overrides comparisonVersion, if present. Each comparisonArtifact is made of a groupId, an artifactId and a version number. Optionally it may have a classifier (default null) and a type (default "jar").
  • Type: org.codehaus.mojo.clirr.ArtifactSpecification[]
  • Since: 2.3
  • Required: No

comparisonVersion:

Version to compare the current code against.
  • Type: java.lang.String
  • Since: 2.3
  • Required: No
  • Expression: ${comparisonVersion}
  • Default: (,${project.version})

excludes:

A list of classes to exclude. These classes are excluded from the list of classes that are included. Values are specified in path pattern notation, e.g. org/codehaus/mojo/**.
  • Type: java.lang.String[]
  • Since: 2.3
  • Required: No

failOnError:

Whether to fail on errors.
  • Type: boolean
  • Since: 2.3
  • Required: No
  • Expression: ${failOnError}
  • Default: true

failOnInfo:

Whether to fail on info.
  • Type: boolean
  • Since: 2.3
  • Required: No
  • Expression: ${failOnInfo}
  • Default: false

failOnWarning:

Whether to fail on warnings.
  • Type: boolean
  • Since: 2.3
  • Required: No
  • Expression: ${failOnWarning}
  • Default: false

includes:

A list of classes to include. Anything not included is excluded. If omitted, all are assumed to be included. Values are specified in path pattern notation, e.g. org/codehaus/mojo/**.
  • Type: java.lang.String[]
  • Since: 2.3
  • Required: No

logResults:

Whether to log the results to the console or not.
  • Type: boolean
  • Since: 2.3
  • Required: No
  • Expression: ${logResults}
  • Default: false

minSeverity:

Show only messages of this severity or higher. Valid values are info, warning and error.
  • Type: java.lang.String
  • Since: 2.3
  • Required: No
  • Expression: ${minSeverity}
  • Default: warning

skip:

Flag to easily skip execution.
  • Type: boolean
  • Since: 2.3
  • Required: No
  • Expression: ${clirr.skip}
  • Default: false

textOutputFile:

A text output file to render to. If omitted, no output is rendered to a text file.
  • Type: java.io.File
  • Since: 2.3
  • Required: No
  • Expression: ${textOutputFile}

xmlOutputFile:

An XML file to render to. If omitted, no output is rendered to an XML file.
  • Type: java.io.File
  • Since: 2.3
  • Required: No
  • Expression: ${xmlOutputFile}