properties:write-active-profile-properties
Full name:
org.kuali.maven.plugins:properties-maven-plugin:2.0.1:write-active-profile-properties
Description:
Writes properties of all active profiles to a file.
Attributes:
- Requires a Maven project to be executed.
Required Parameters
| Name |
Type |
Since |
Description |
| outputFile |
File |
- |
The file that properties will be written to Default value is: ${project.build.directory}/properties/project.properties. User property is: properties.outputFile. |
| outputStyle |
OutputStyle |
- |
Either NORMAL or ENVIRONMENT_VARIABLE.
When set to ENVIRONMENT_VARIABLE the keys in the
properties file will all be upper case with periods replaced by
underscores. Default value is: NORMAL. User property is: properties.outputStyle. |
Optional Parameters
| Name |
Type |
Since |
Description |
| comment |
String |
- |
Anything provided here is added as a comment at the top of the
properties file. User property is: properties.comment. |
| encoding |
String |
- |
The encoding to use when storing the properties Default value is: ${project.build.sourceEncoding}. User property is: properties.encoding. |
| prefix |
String |
- |
If supplied property keys are prefixed with this value before being
stored. User property is: properties.prefix. |
Parameter Details
comment:
Anything provided here is added as a comment at the top of the
properties file.
- Type: java.lang.String
- Required: No
- User Property: properties.comment
encoding:
The encoding to use when storing the properties
- Type: java.lang.String
- Required: No
- User Property: properties.encoding
- Default: ${project.build.sourceEncoding}
outputFile:
The file that properties will be written to
- Type: java.io.File
- Required: Yes
- User Property: properties.outputFile
- Default: ${project.build.directory}/properties/project.properties
outputStyle:
Either NORMAL or ENVIRONMENT_VARIABLE.
When set to ENVIRONMENT_VARIABLE the keys in the
properties file will all be upper case with periods replaced by
underscores.
- Type: org.kuali.maven.plugins.properties.OutputStyle
- Required: Yes
- User Property: properties.outputStyle
- Default: NORMAL
prefix:
If supplied property keys are prefixed with this value before being
stored.
- Type: java.lang.String
- Required: No
- User Property: properties.prefix