Fork me on GitHub

build-helper:bsh-property

Full name:

org.codehaus.mojo:build-helper-maven-plugin:3.6.0:bsh-property

Description:

Define one or many properties as a result of a Beanshell script invocation. Like gmaven-plugin, some variables are defined:

  • project: the actual Maven project,
  • session: the executing MavenSession,
  • settings: the executing Settings.
  • log: the logger of the Mojo (see org.apache.maven.plugin.AbstractMojo.getLog()).

Attributes:

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

Required Parameters

Name Type Since Description
<source> String - No description.

Optional Parameters

Name Type Since Description
<properties> String[] - List of property names to get from script context after execution. Can be omitted if no property needs to be defined, just the script execution.

Parameter Details

<properties>

List of property names to get from script context after execution. Can be omitted if no property needs to be defined, just the script execution.
  • Type: java.lang.String[]
  • Required: No

<source>

No description.
  • Type: java.lang.String
  • Required: Yes