bom-helper:sort

Full name:

com.commsen.maven:bom-helper-maven-plugin:0.5.0:sort

Description:

Sorts alphabetically the dependencies declared in dependency management (BOM).

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: validate.

Optional Parameters

Name Type Since Description
backupFileName String - The name of the file to copy the original POM to if `inplace` and `makeBackup` are set to `true`
Default value is: pom-original.xml.
User property is: bom-helper.backupFile.
inplace boolean - If true, the current POM will be replaced with the one generated by this goal
Default value is: false.
User property is: bom-helper.inplace.
makeBackup boolean - Should the goal make copy of the original POM when `inplace` is set to `true`
Default value is: true.
User property is: bom-helper.backup.
outputFileName String - The name of the file to save the pom generated by this goal
Default value is: pom-bom-update.xml.
User property is: bom-helper.outputFile.
replaceBackup boolean - Should the goal replace an existing copy of the original POM when `inplace` and `makeBackup` are set to `true`
Default value is: false.
User property is: bom-helper.backupFile.replace.

Parameter Details

backupFileName:

The name of the file to copy the original POM to if `inplace` and `makeBackup` are set to `true`
  • Type: java.lang.String
  • Required: No
  • User Property: bom-helper.backupFile
  • Default: pom-original.xml

inplace:

If true, the current POM will be replaced with the one generated by this goal
  • Type: boolean
  • Required: No
  • User Property: bom-helper.inplace
  • Default: false

makeBackup:

Should the goal make copy of the original POM when `inplace` is set to `true`
  • Type: boolean
  • Required: No
  • User Property: bom-helper.backup
  • Default: true

outputFileName:

The name of the file to save the pom generated by this goal
  • Type: java.lang.String
  • Required: No
  • User Property: bom-helper.outputFile
  • Default: pom-bom-update.xml

replaceBackup:

Should the goal replace an existing copy of the original POM when `inplace` and `makeBackup` are set to `true`
  • Type: boolean
  • Required: No
  • User Property: bom-helper.backupFile.replace
  • Default: false