properties:read-project-properties

Full name:

org.kuali.maven.plugins:properties-maven-plugin:2.0.0-SNAPSHOT:read-project-properties

Description:

The read-project-properties goal reads property files and stores the properties as project properties. It serves as an alternate to specifying properties in pom.xml.
Properties files handled by this plugin, have their property values resolved using Spring's expression parser. This means anything you can do with Spring property values you can do with property values handled by this plugin. For example, nested properties are supported: eg foo=${a.${b}.c}

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
locations String[] - Locations where properties files can be found. Any url Spring resource loading can understand is valid. eg classpath:myprops.properties. Both, .properties and .xml style properties are supported.

Optional Parameters

Name Type Since Description
ignore String - Comma separated list of property values to ignore
User property is: properties.ignore.
quiet boolean - If true, the plugin will silently ignore any non-existent properties files, and the build will continue
Default value is: false.
User property is: properties.quiet.
silent boolean - If true, the plugin will operate silently without emitting any log messages
Default value is: false.
User property is: properties.silent.
verbose boolean - If true, the plugin will emit more verbose logging messages.
Default value is: false.
User property is: properties.verbose.

Parameter Details

ignore:

Comma separated list of property values to ignore
  • Type: java.lang.String
  • Required: No
  • User Property: properties.ignore

locations:

Locations where properties files can be found. Any url Spring resource loading can understand is valid. eg classpath:myprops.properties. Both, .properties and .xml style properties are supported.
  • Type: java.lang.String[]
  • Required: Yes

quiet:

If true, the plugin will silently ignore any non-existent properties files, and the build will continue
  • Type: boolean
  • Required: No
  • User Property: properties.quiet
  • Default: false

silent:

If true, the plugin will operate silently without emitting any log messages
  • Type: boolean
  • Required: No
  • User Property: properties.silent
  • Default: false

verbose:

If true, the plugin will emit more verbose logging messages.
  • Type: boolean
  • Required: No
  • User Property: properties.verbose
  • Default: false