blob: dc12db79e9c06cc8589aab790df2005a106aafa4 [file]
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<document xmlns="http://maven.apache.org/XDOC/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>Runtime dependencies</title>
</properties>
<body>
<section name="Runtime dependencies for Commons Configuration">
<p>
Commons Configuration requires Java 8 or above.
</p>
<p>
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.
</p>
<table>
<thead>
<tr>
<th width="30%">Component</th>
<th>Dependencies</th>
</tr>
</thead>
<tbody>
<tr>
<td>Core</td>
<td>
<a href="https://commons.apache.org/proper/commons-lang/">commons-lang3</a><br/>
<a href="https://commons.apache.org/proper/commons-text/">commons-text</a><br />
<a href="https://commons.apache.org/proper/commons-logging/">commons-logging</a>
</td>
</tr>
<tr>
<td>Configuration builders</td>
<td><a href="https://commons.apache.org/proper/commons-beanutils/">commons-beanutils</a></td>
</tr>
<tr>
<td>JSONConfiguration</td>
<td><a href="https://github.com/FasterXML/jackson-databind">com.fasterxml.jackson.core:jackson-databind</a></td>
</tr>
<tr>
<td>YAMLConfiguration</td>
<td><a href="https://github.com/snakeyaml/snakeyaml">org.yaml:snakeyaml</a></td>
</tr>
<tr>
<td>ConfigurationDynaBean</td>
<td><a href="https://commons.apache.org/proper/commons-beanutils/">commons-beanutils</a></td>
</tr>
<tr>
<td>XPathExpressionEngine</td>
<td><a href="https://commons.apache.org/proper/commons-jxpath/">commons-jxpath</a></td>
</tr>
<tr>
<td>CatalogResolver</td>
<td><a href="https://xerces.apache.org/xml-commons/components/resolver/">xml-resolver</a></td>
</tr>
<tr>
<td>Web configurations</td>
<td><a href="https://javaee.github.io/servlet-spec/">servlet-api</a></td>
</tr>
<tr>
<td>ExprLookup</td>
<td><a href="https://commons.apache.org/proper/commons-jexl/">commons-jexl</a></td>
</tr>
<tr>
<td>
VFSFileSystem<br />
VFSFileChangedReloadingStrategy
</td>
<td><a href="https://commons.apache.org/proper/commons-vfs/">commons-vfs2</a></td>
</tr>
<tr>
<td>ConfigPropertySource</td>
<td><a href="https://spring.io/projects/spring-framework">spring-core</a></td>
</tr>
</tbody>
</table>
<p>
<strong>Notes</strong>
</p>
<ul>
<li>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.</li>
<li>See pom.xml for versions used to build and test this version.</li>
</ul>
</section>
</body>
</document>