Fork me on GitHub

Parameters

Parameters for the Smart Reactor can be defined as project <properties> or as JVM properties with the -D command line switch.

Core Parameters

Name Type Default Since
rtr.disabled boolean false 0.1.0
rtr.allowSinglePomReactor boolean false 0.1.0
rtr.allowExternalSnapshots boolean false 0.1.0
rtr.release boolean false 0.1.0

Parameter Details

rtr.disabled

Disables the extension, restoring default Maven behavior as if the extension was not installed or declared.

  • Type: boolean
  • Since: 0.1.0
  • Required: no
  • User Property: rtr.disabled
  • Default: false
rtr.allowSinglePomReactor

Whether or not to allow a build consisting of exactly one reactor project whose packaging is pom.

  • Type: boolean
  • Since: 0.1.0
  • Required: no
  • User Property: rtr.allowSinglePomReactor
  • Default: false
rtr.allowExternalSnapshots

Whether or not to allow a release build when the reactor contains any modules that declare any SNAPSHOT dependencies, plugins, parents or reports that are not also in the reactor. Irrelevant if rtr.release is false.

  • Type: boolean
  • Since: 0.1.0
  • Required: no
  • User Property: rtr.allowExternalSnapshots
  • Default: false
rtr.release

Transforms the POMs of SNAPSHOT modules to non-SNAPSHOT versions, then rebuilds the reactor with the release POMs.

  • Type: boolean
  • Since: 0.1.0
  • Required: no
  • User Property: rtr.release
  • Default: false

Release Parameters

When release POM transformation is enabled, the following parameters from the release:prepare goal of the Maven Release Plugin are supported. Unless otherwise stated, these parameters behave exactly as documented.