And how are we going to use Velocity with Spring after Spring 5.0?
Velocity templates were deprecated in Liferay Portal 7.0 and are now removed in favor of FreeMarker templates in Liferay DXP 7.2.
Velocity support has been removed as of Spring Framework 5 and therefore our support as well (even deprecated in earlier version).
Velocity is a template engine from the Apache Software Foundation that can work with normal text files, SQL, XML, Java code and many other types. In this article we're going to focus on utilizing Velocity with a typical Spring MVC web application.
Velocity can be used to generate web pages, SQL, PostScript and other output from templates. It can be used either as a standalone utility for generating source code and reports, or as an integrated component of other systems.
It looks like Jürgen Höller wants to get rid of Velocity alltogether, because it "dates back to 2010". Support for it was deprecated in Spring 4.3, and will probably be removed in Spring 5.
https://jira.spring.io/browse/SPR-13795
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With