Fork me on GitHub

build-helper:rootlocation

Full name:

org.codehaus.mojo:build-helper-maven-plugin:3.5.0:rootlocation

Description:

This goal will get the location of the root folder within a multi module build as a property rootlocation.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 3.0.0.
  • Binds by default to the lifecycle phase: validate.

Optional Parameters

Name Type Since Description
<rootLocationProperty> String - The name of the property in which to store the root location.
Default value is: rootlocation.
<runOnlyAtExecutionRoot> boolean - This will cause the execution to be run only at the top of a given module tree.
Default value is: false.
User property is: buildhelper.runOnlyAtExecutionRoot.

Parameter Details

<rootLocationProperty>

The name of the property in which to store the root location.
  • Type: java.lang.String
  • Required: No
  • Default: rootlocation

<runOnlyAtExecutionRoot>

This will cause the execution to be run only at the top of a given module tree.
  • Type: boolean
  • Required: No
  • User Property: buildhelper.runOnlyAtExecutionRoot
  • Default: false