Apache Commons logo Commons Configuration

Runtime dependencies for Commons Configuration

Commons Configuration requires Java 8 or above.

Many dependencies are declared in the Maven POM, all of which are required to build the project. However, at runtime, 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 can help determine which dependencies are required based on the components in use.

Component Dependencies
Core commons-lang3
commons-text
commons-logging
Configuration builders commons-beanutils
PropertyListConfiguration
XMLPropertyListConfiguration
commons-codec
JSONConfiguration com.fasterxml.jackson.core:jackson-databind
YAMLConfiguration org.yaml:snakeyaml
ConfigurationDynaBean commons-beanutils
XPathExpressionEngine commons-jxpath
CatalogResolver xml-resolver
Web configurations servlet-api
ExprLookup commons-jexl
VFSFileSystem
VFSFileChangedReloadingStrategy
commons-vfs2
ConfigPropertySource spring-core

Notes

  • Commons Configuration makes use of other Commons components. You should be able to use the current versions of these components together with Commons Configuration. In some cases, when no specific features are used, older versions will work, too.
  • See pom.xml for versions used to build and test this version.