MVN

org.owasp.maven-tools : velocity-whitespace-resource-filter

Maven & Gradle

Jul 28, 2022
0 stars

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.

<dependency>
    <groupId>org.owasp.maven-tools</groupId>
    <artifactId>velocity-whitespace-resource-filter</artifactId>
    <version>2.0.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.owasp.maven-tools : velocity-whitespace-resource-filter to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.0

All Versions

Choose a version of org.owasp.maven-tools : velocity-whitespace-resource-filter to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
velocity-whitespace-resource-filter-2.0.0
1.0.x
velocity-whitespace-resource-filter-1.0.0

How to add a dependency to Maven

Add the following org.owasp.maven-tools : velocity-whitespace-resource-filter maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.owasp.maven-tools</groupId>
    <artifactId>velocity-whitespace-resource-filter</artifactId>
    <version>2.0.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.owasp.maven-tools : velocity-whitespace-resource-filter gradle dependency to your build.gradle file:

implementation 'org.owasp.maven-tools:velocity-whitespace-resource-filter:2.0.0'

Gradle Kotlin DSL: Add the following org.owasp.maven-tools : velocity-whitespace-resource-filter gradle kotlin dependency to your build.gradle.kts file:

implementation("org.owasp.maven-tools:velocity-whitespace-resource-filter:2.0.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.owasp.maven-tools : velocity-whitespace-resource-filter sbt scala dependency to your build.sbt file:

libraryDependencies += "org.owasp.maven-tools" % "velocity-whitespace-resource-filter" % "2.0.0"