Fork me on GitHub

About velocity-whitespace-resource-filter

The velocity-whitespace-resource-filter is used in Maven builds to remove whitespace from Velocity Templates. Leading whitespace is removed from each line and a Velocity single line comment (##) is appended to the end of each line - making the output from the template more compact. This is useful when the templates generate output like XML, HTML, or JSON.