properties:write-active-profile-properties

Full name:

org.kuali.maven.plugins:properties-maven-plugin:1.5.3-SNAPSHOT: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.
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.

Optional Parameters

Name Type Since Description
comment String - Anything provided here is added as a comment at the top of the properties file.
encoding String - The encoding to use when storing the properties
Default value is: ${project.build.sourceEncoding}.
prefix String - If supplied property keys are prefixed with this value before being stored.

Parameter Details

comment:

Anything provided here is added as a comment at the top of the properties file.
  • Type: java.lang.String
  • Required: No
  • Expression: ${properties.comment}

encoding:

The encoding to use when storing the properties
  • Type: java.lang.String
  • Required: No
  • Expression: ${properties.encoding}
  • Default: ${project.build.sourceEncoding}

outputFile:

The file that properties will be written to
  • Type: java.io.File
  • Required: Yes
  • Expression: ${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.codehaus.mojo.properties.OutputStyle
  • Required: Yes
  • Expression: ${properties.outputStyle}
  • Default: NORMAL

prefix:

If supplied property keys are prefixed with this value before being stored.
  • Type: java.lang.String
  • Required: No
  • Expression: ${properties.prefix}