Author: cbrisson Date: Wed Nov 9 11:50:02 2016 New Revision: 1768916 URL: http://svn.apache.org/viewvc?rev=1768916&view=rev Log: [site] update engine dependencies page (2.0 site)
Modified: velocity/site/cms/trunk/content/engine/2.0/dependencies.mdtext Modified: velocity/site/cms/trunk/content/engine/2.0/dependencies.mdtext URL: http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/2.0/dependencies.mdtext?rev=1768916&r1=1768915&r2=1768916&view=diff ============================================================================== --- velocity/site/cms/trunk/content/engine/2.0/dependencies.mdtext (original) +++ velocity/site/cms/trunk/content/engine/2.0/dependencies.mdtext Wed Nov 9 11:50:02 2016 @@ -5,28 +5,29 @@ Title: Apache Velocity Engine Dependenci When building from sources, Maven should fetch all needed dependencies. At runtime, velocity only needs slf4j-api, and one of the slf4j bindings (needed classes from commons-lang and commons-collections are incorporated using ["shading"](https://maven.apache.org/plugins/maven-shade-plugin/)). The following table lists all needed jars + Velocity has a number of external jar dependencies. However, not all of these are needed every time. This document should help you do decide which jars must also be present if you want to integrate Velocity into your application. All of these jars must be present when building Apache Velocity. The build process downloads all of them automatically from the Internet. Jar name | Version | Compilation | Tests | Runtime | Comment ---------|---------|---------|-------|-------------|-------- -slf4j-api | 1.7.12 | Yes | Yes | Yes | you'll also need an slf4j binding at runtime -commons-collections | 3.2.2 | Yes | No | No | Dependancy upon commons-collections-3.x is needed only by some deprecated classes and methods, so as to maintain backward compatibility, and will be dropped in a future version. -commons-lang | 3.4 | Yes | No | No | -junit | 3.8.1 | No | Yes | No | -hsqldb | 1.7.1 | No | Yes | No | -commons-io | 2.4 | No | Yes | No | -slf4j-simple | 1.7.12 | No | Yes | No | Your application will need *one* SLF4J binding, see below -servlet-api | 2.5 | No | No | No | Only needed in the context of a web application. Should normally be supplied by the servlet container. - -At runtime, Velocity will require an SLF4J binding to be present in the path. Typically, one of: - -+ [AVSL](http://software.clapper.org/avsl/) -+ [SLF4J JDK14 Adapter](http://www.slf4j.org/api/org/slf4j/impl/JDK14LoggerAdapter.html) -+ [SLF4J Log4J Adapter](http://www.slf4j.org/api/org/slf4j/impl/Log4jLoggerAdapter.html) -+ [SLF4J Simple Logger](http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html) -+ [SLF4J Android](http://www.slf4j.org/android/) -+ [LOGBack](http://logback.qos.ch/) -+ [WebApp SLF4J Logger](https://github.com/arkanovicz/webapp-slf4j-logger) +slf4j-api | 1.7.21 | Yes | Yes | Yes | you'll also need an slf4j binding at runtime +commons-collections | 3.2.2 | Yes | No | No | +commons-lang | 3.5 | Yes | No | No | +junit | 4.12 | No | Yes | No | +hsqldb | 2.3.4 | No | Yes | No | +commons-io | 2.5 | No | Yes | No | +slf4j-simple | 1.7.21 | No | Yes | No | Your application will need *one* SLF4J binding, see below + +At runtime, Velocity Engine only requires the SLF4J API jar, and will require an SLF4J binding to be present in the path. Typically, one of: + ++ [AVSL](http://software.clapper.org/avsl/) - âA Very Simple Loggerâ ++ [SLF4J JDK14 Adapter](http://www.slf4j.org/api/org/slf4j/impl/JDK14LoggerAdapter.html) - redirect logs towards Java 1.4+ logging framework ++ [SLF4J Log4J Adapter](http://www.slf4j.org/api/org/slf4j/impl/Log4jLoggerAdapter.html) - redirects logs towards Log4J ++ [SLF4J Simple Logger](http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html) - minimalistic logger ++ [SLF4J Android](http://www.slf4j.org/android/) - logger for Android platforms ++ [LogBack](http://logback.qos.ch/) - full featured logging framework ++ [WebApp SLF4J Logger](https://github.com/arkanovicz/webapp-slf4j-logger) - redirects logs towards the J2EE container log +