property

abstract fun property(key: String, value: String)(source)

Defines a property that will be passed to Maven when starting the execution. This is equivalent to using the -D parameter.

This function can be called multiple times to add more than one property.

Parameters

key

The name of the property.

value

The value of the property.