# commons-configuration2

pkg:maven/org.apache.commons/commons-configuration2@2.13.0

## Overview

### Description

Tools to assist in the reading of configuration/preferences files in various formats; requires Java 8.

### Snippets

Copy to clipboard

```
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-configuration2</artifactId>
    <version>2.13.0</version>
</dependency>
```

### Maven POM File

Copy to clipboard

```
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
  <parent>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-parent</artifactId>
    <version>92</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>commons-configuration2</artifactId>
  <version>2.13.0</version>
  <name>Apache Commons Configuration</name>
  <inceptionYear>2001</inceptionYear>
  <description>
    Tools to assist in the reading of configuration/preferences files in various formats; requires Java 8.
  </description>
  <properties>
    <commons.componentid>configuration</commons.componentid>
    <commons.module.name>org.apache.commons.configuration2</commons.module.name>
    <commons.release.version>2.13.0</commons.release.version>
    <commons.release.next>2.13.1</commons.release.next>
    <commons.release.desc>(Java 8 or above)</commons.release.desc>
    <commons.jira.id>CONFIGURATION</commons.jira.id>
    <commons.jira.pid>12310467</commons.jira.pid>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-configuration</commons.scmPubUrl>
    <log4j.version>2.25.2</log4j.version>
    <slf4j.version>2.0.17</slf4j.version>
    <spring.version>5.3.39</spring.version>
    <commons.bc.version>2.12.0</commons.bc.version>
    <commons.rc.version>RC1</commons.rc.version>
    <commons.release.isDistModule>true</commons.release.isDistModule>
    <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
    <project.build.outputTimestamp>2025-11-21T13:18:39Z</project.build.outputTimestamp>
    <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
    <commons.jacoco.classRatio>0.96</commons.jacoco.classRatio>
    <commons.jacoco.instructionRatio>0.86</commons.jacoco.instructionRatio>
    <commons.jacoco.methodRatio>0.90</commons.jacoco.methodRatio>
    <commons.jacoco.branchRatio>0.82</commons.jacoco.branchRatio>
    <commons.jacoco.lineRatio>0.88</commons.jacoco.lineRatio>
    <commons.jacoco.complexityRatio>0.83</commons.jacoco.complexityRatio>
  </properties>
  <url>https://commons.apache.org/proper/commons-configuration/</url>
  <dependencies>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.20.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-text</artifactId>
      <version>1.14.0</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.3.5</version>
      <exclusions>
        <exclusion>
          <groupId>logkit</groupId>
          <artifactId>logkit</artifactId>
        </exclusion>
        <exclusion>
          <groupId>avalon-framework</groupId>
          <artifactId>avalon-framework</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <build>
    <defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check spotbugs:check pmd:check pmd:cpd-check javadoc:javadoc</defaultGoal>
    <testResources>
      <testResource>
        <directory>src/test/resources</directory>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/TestWebdavConfigurationBuilder.java</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
```

#### Metadata

Age:8 months ago

Licenses:

- Apache-2.0

#### Organization

[org.apache.commons](https://central.sonatype.com/namespace/org.apache.commons)

#### External Resources

[Project URL](https://commons.apache.org/proper/commons-configuration/)

[Issue Tracker URL](https://issues.apache.org/jira/browse/COMMONSSITE)

[Source Control](https://gitbox.apache.org/repos/asf?p=commons-configuration.git)

[Continuous Integration](https://github.com/apache/commons-configuration/actions)

#### Known Contributors

Jorge Ferrer, Patrick Schmidt, Vincent Maurin, Gabriele Garuglieri, Jamie M. Guillemette, Konstantin Shaposhnikov, Nicolas De Loof, Dennis Kieselhorst, Pascal Essiembre, Oliver Kopp, Raviteja Lokineni, The Alchemist, Oliver Heger, Brian E. Dunbar, Claude Warren, Gary Gregory, Jörg Schaible, Henning P. Schmiedehausen, dIon Gillard, Daniel Rall, Martin Poeschl, Eric Pugh, Ralph Goers, Jason van Zyl, Rob Tompkins, Emmanuel Bourg.
