properties:write-project-properties

Full name:

org.kuali.maven.plugins:properties-maven-plugin:1.5.2-SNAPSHOT:write-project-properties

Description:

Write project properties 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
exclude String - Comma separated set of properties to exclude when writing the properties file
excludes List - List of properties to exclude
include String - Comma separated set of properties to write to the properties file. If provided, only the properties matching those supplied here will be written to the properties file.
includeEnvironmentVariables boolean - If true, the plugin will include environment variables when writing the properties file. Environment variables are prefixed with "env". Environment variables override project properties.
Default value is: false.
includeStandardMavenProperties boolean - (no description)
Default value is: false.
includeSystemProperties boolean - If true, the plugin will include system properties when writing the properties file. System properties override both environment variables and project properties.
Default value is: false.
includes List - List of properties to include
prefix String - If supplied property keys are prefixed with this value before being stored.
resolvePlaceholders boolean - If true placeholders are resolved before writing properties to the file
Default value is: false.

Parameter Details

exclude:

Comma separated set of properties to exclude when writing the properties file
  • Type: java.lang.String
  • Required: No
  • Expression: ${properties.exclude}

excludes:

List of properties to exclude
  • Type: java.util.List
  • Required: No

include:

Comma separated set of properties to write to the properties file. If provided, only the properties matching those supplied here will be written to the properties file.
  • Type: java.lang.String
  • Required: No
  • Expression: ${properties.include}

includeEnvironmentVariables:

If true, the plugin will include environment variables when writing the properties file. Environment variables are prefixed with "env". Environment variables override project properties.
  • Type: boolean
  • Required: No
  • Expression: ${properties.includeEnvironmentVariables}
  • Default: false

includeStandardMavenProperties:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${properties.includeStandardMavenProperties}
  • Default: false

includeSystemProperties:

If true, the plugin will include system properties when writing the properties file. System properties override both environment variables and project properties.
  • Type: boolean
  • Required: No
  • Expression: ${properties.includeSystemProperties}
  • Default: false

includes:

List of properties to include
  • Type: java.util.List
  • Required: No

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}

resolvePlaceholders:

If true placeholders are resolved before writing properties to the file
  • Type: boolean
  • Required: No
  • Expression: ${properties.resolvePlaceholders}
  • Default: false