smartics-properties:properties-export

Full name:

de.smartics.properties:smartics-properties-maven-plugin:0.2.0:properties-export

Description:

Generates a Java properties file with default values for the given project.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0.
  • Invokes the execution of the lifecycle phase process-classes prior to executing itself.

Required Parameters

Name Type Since Description
outputFile String 1.0 The properties file to write to.
Default value is: ${project.build.directory}/project.properties.

Optional Parameters

Name Type Since Description
addTest boolean 1.0 Adds the test sources to the list of reports.
Default value is: false.
encoding String 1.0 The encoding of the source files.
Default value is: ${project.build.sourceEncoding}.
User property is: encoding.
skip boolean 1.0 A simple flag to skip the generation of the reports. If set on the command line use -Dproperties-properties.skip.
Default value is: false.
User property is: properties-properties.skip.

Parameter Details

addTest:

Adds the test sources to the list of reports.
  • Type: boolean
  • Since: 1.0
  • Required: No
  • Default: false

encoding:

The encoding of the source files.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: encoding
  • Default: ${project.build.sourceEncoding}

outputFile:

The properties file to write to.
  • Type: java.lang.String
  • Since: 1.0
  • Required: Yes
  • Default: ${project.build.directory}/project.properties

skip:

A simple flag to skip the generation of the reports. If set on the command line use -Dproperties-properties.skip.
  • Type: boolean
  • Since: 1.0
  • Required: No
  • User Property: properties-properties.skip
  • Default: false