htmlcompressor:xml
Full name:
com.github.hazendaz.maven:htmlcompressor-maven-plugin:1.10.0:xml
Description:
Compress XML files.
Attributes:
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase:
compile
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<enabled> |
boolean |
- |
if false all compression is off (default is true). Default: true User Property: htmlcompressor.enabled |
<encoding> |
String |
- |
Charset encoding for files to read and create. Default: UTF-8 User Property: htmlcompressor.encoding |
<fileExt> |
String[] |
- |
Deprecated. use fileExtensions File extensions to be processed. User Property: htmlcompressor.fileExt |
<fileExtensions> |
String[] |
- |
file extensions to be processed. User Property: htmlcompressor.fileExtensions |
<removeComments> |
boolean |
- |
if false keeps XML comments (default is true). Default: true User Property: htmlcompressor.removeComments |
<removeIntertagSpaces> |
boolean |
- |
removes iter-tag whitespace characters (default is true). Default: true User Property: htmlcompressor.removeIntertagSpaces |
<skip> |
boolean |
- |
Skip run of plugin. Default: false User Property: skip Alias: skip |
<srcFolder> |
String |
- |
source folder where xml files are located. Default: ${project.basedir}/src/main/resources User Property: htmlcompressor.srcFolder |
<targetFolder> |
String |
- |
target folder where compressed xml files will be placed. Default: ${project.build.directory}/classes User Property: htmlcompressor.targetFolder |
Parameter Details
<enabled>
if false all compression is off (default is true).
- Type:
boolean
- Required:
No
- User Property:
htmlcompressor.enabled
- Default:
true
<encoding>
Charset encoding for files to read and create.
- Type:
java.lang.String
- Required:
No
- User Property:
htmlcompressor.encoding
- Default:
UTF-8
<fileExt>
Deprecated.
use fileExtensions
use fileExtensions
File extensions to be processed.
- Type:
java.lang.String[]
- Required:
No
- User Property:
htmlcompressor.fileExt
<fileExtensions>
file extensions to be processed.
- Type:
java.lang.String[]
- Required:
No
- User Property:
htmlcompressor.fileExtensions
<removeComments>
if false keeps XML comments (default is true).
- Type:
boolean
- Required:
No
- User Property:
htmlcompressor.removeComments
- Default:
true
<removeIntertagSpaces>
removes iter-tag whitespace characters (default is true).
- Type:
boolean
- Required:
No
- User Property:
htmlcompressor.removeIntertagSpaces
- Default:
true
<skip>
Skip run of plugin.
- Type:
boolean
- Required:
No
- User Property:
skip
- Default:
false
- Alias:
skip
<srcFolder>
source folder where xml files are located.
- Type:
java.lang.String
- Required:
No
- User Property:
htmlcompressor.srcFolder
- Default:
${project.basedir}/src/main/resources
<targetFolder>
target folder where compressed xml files will be placed.
- Type:
java.lang.String
- Required:
No
- User Property:
htmlcompressor.targetFolder
- Default:
${project.build.directory}/classes