properties:read-project-properties
Full name:
org.kuali.maven.plugins:properties-maven-plugin:1.1.3: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.
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
|
quiet |
boolean |
- |
If true, the plugin will silently ignore any non-existent
properties files, and the build will continue Default value is: false. |
verbose |
boolean |
- |
If true, the plugin will emit more verbose logging messages. Default value is: false. |
Parameter Details
ignore:
Comma separated list of property values to ignore
- Type: java.lang.String
- Required: No
- Expression: ${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
- Expression: ${properties.quiet}
- Default: false
verbose:
If true, the plugin will emit more verbose logging messages.
- Type: boolean
- Required: No
- Expression: ${properties.verbose}
- Default: false