jcabi-velocity

Wrapper of Apache Velocity

License

License

BSD
GroupId

GroupId

com.jcabi
ArtifactId

ArtifactId

jcabi-velocity
Last Version

Last Version

0.9
Release Date

Release Date

Type

Type

jar
Description

Description

jcabi-velocity
Wrapper of Apache Velocity
Project URL

Project URL

http://www.jcabi.com/jcabi-velocity
Project Organization

Project Organization

jcabi.com
Source Code Management

Source Code Management

https://github.com/jcabi/jcabi-velocity

Download jcabi-velocity

How to add to project

<!-- https://jarcasting.com/artifacts/com.jcabi/jcabi-velocity/ -->
<dependency>
    <groupId>com.jcabi</groupId>
    <artifactId>jcabi-velocity</artifactId>
    <version>0.9</version>
</dependency>
// https://jarcasting.com/artifacts/com.jcabi/jcabi-velocity/
implementation 'com.jcabi:jcabi-velocity:0.9'
// https://jarcasting.com/artifacts/com.jcabi/jcabi-velocity/
implementation ("com.jcabi:jcabi-velocity:0.9")
'com.jcabi:jcabi-velocity:jar:0.9'
<dependency org="com.jcabi" name="jcabi-velocity" rev="0.9">
  <artifact name="jcabi-velocity" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jcabi', module='jcabi-velocity', version='0.9')
)
libraryDependencies += "com.jcabi" % "jcabi-velocity" % "0.9"
[com.jcabi/jcabi-velocity "0.9"]

Dependencies

compile (3)

Group / Artifact Type Version
com.jcabi : jcabi-aspects jar 0.17.1
javax.validation : validation-api jar 1.1.0.Final
org.apache.velocity : velocity jar 1.7

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.14.4

runtime (1)

Group / Artifact Type Version
org.aspectj : aspectjrt jar 1.8.1

Project Modules

There are no modules declared in this project.

EO principles respected here Managed by Zerocracy DevOps By Rultor.com

Build Status PDD status Maven Central Javadoc

More details are here: velocity.jcabi.com

VelocityPage is a convenient builder/wrapper around Apache Velocity:

import com.jcabi.velocity.VelocityPage;
public class Main {
  public static void main(String[] args) {
    String text = new VelocityPage("/com/foo/template.vm")
      .set("name", "John Doe")
      .set("file", file)
      .set("document", doc)
      .toString();
  }
}

Questions?

If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.

How to contribute?

Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master branch, if they look correct.

Please run Maven build before submitting a pull request:

$ mvn clean install -Pqulice
com.jcabi

jcabi.com

Small java components

Versions

Version
0.9
0.8
0.7.22
0.7.21
0.7.20
0.7.19
0.7.18
0.7.17
0.7.16
0.7.15
0.7.14
0.7.13
0.7.12
0.7.11
0.7.10
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7
0.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5
0.4.1
0.4
0.3
0.2.1
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6