strip-bom:strip-bom
Full name:
org.kuali.maven.plugins:strip-bom-maven-plugin:1.0.2-SNAPSHOT:strip-bom
Description:
Goal to strip BOMs from UTF-8 text files.
Attributes:
- Binds by default to the lifecycle phase: process-sources.
Optional Parameters
Name |
Type |
Since |
Description |
failBuild |
boolean |
- |
Set to true if you want the build to fail when BOMs are found,
really only useful if warnOnly = true. Default value is: false. |
file |
File |
- |
Locations of a single file to strip the BOM from.
|
files |
List |
- |
Locations of the files to strip BOMs.
|
warnOnly |
boolean |
- |
Set to true if you only want StripBOM to issue a warning message
when a file contains a BOM. Default value is: false. |
Parameter Details
failBuild:
Set to true if you want the build to fail when BOMs are found,
really only useful if warnOnly = true.
- Type: boolean
- Required: No
- Expression: ${strip-bom.failBuild}
- Default: false
file:
Locations of a single file to strip the BOM from.
- Type: java.io.File
- Required: No
- Expression: ${file}
files:
Locations of the files to strip BOMs.
- Type: java.util.List
- Required: No
warnOnly:
Set to true if you only want StripBOM to issue a warning message
when a file contains a BOM.
- Type: boolean
- Required: No
- Expression: ${strip-bom.warnOnly}
- Default: false