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").
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.
|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.|
|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: