Commons Configuration requires Java 5 or later.
A lot of dependencies are declared in the Maven POM. These are all needed during compile time. On runtime however you only need to add the dependencies to your classpath that are required by the parts of the Commons Configuration package you are using. The following table helps you to determine which dependencies you have to include based on the components you intend to use:
Component | Dependencies |
---|---|
Core |
commons-lang commons-logging |
DefaultConfigurationBuilder | commons-beanutils |
ConfigurationFactory (deprecated) | commons-digester |
ConfigurationConverter | commons-collections |
PropertyListConfiguration XMLPropertyListConfiguration |
commons-codec |
ConfigurationDynaBean | commons-beanutils |
XPathExpressionEngine | commons-jxpath |
CatalogResolver | xml-resolver |
Web configurations | servlet-api |
ExprLookup | commons-jexl |
VFSFileSystem, VFSFileChangedReloadingStrategy | commons-vfs |
Notes
Component | Version |
---|---|
commons-lang | 2.2, 2.3, 2.4, 2.5, 2.6 |
commons-collections | 3.1, 3.2, 3.2.1 |
commons-logging | 1.0.4, 1.1, 1.1.1 |
commons-digester | 1.6, 1.7, 1.8, 1.8.1 |
commons-beanutils | 1.7.0, 1.8.0, 1.8.2, 1.8.3 |
commons-codec | 1.3, 1.5, 1.6 |
commons-jxpath | 1.2, 1.3 |
commons-jexl | 2.1.1 |
commons-vfs | 2.0 |
xml-resolver | 1.2 |