# commons-configuration2

## Overview

### Description

The Commons Configuration software library provides a generic configuration interface that enables an application to read configuration data from various sources and requires Java 8.

### Snippets

#### Maven Dependency

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

### Maven POM File

```xml
<?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>100</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>commons-configuration2</artifactId>
  <version>2.15.1</version>
  <name>Apache Commons Configuration</name>
  <inceptionYear>2001</inceptionYear>
  <description>
    The Commons Configuration software library provides a generic configuration interface that enables an application to read configuration data from various sources and requires Java 8.
  </description>
  <properties>
    <commons.componentid>configuration</commons.componentid>
    <commons.module.name>org.apache.commons.configuration2</commons.module.name>
    <commons.release.version>2.15.1</commons.release.version>
    <commons.release.next>2.15.2</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>
  </properties>
  <url>https://commons.apache.org/proper/commons-configuration/</url>
  <ciManagement>
    <system>github</system>
    <url>https://github.com/apache/commons-configuration/actions</url>
  </ciManagement>
  <scm>
    <connection>scm:git:https://gitbox.apache.org/repos/asf/commons-configuration.git</connection>
    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-configuration.git</developerConnection>
    <url>https://gitbox.apache.org/repos/asf?p=commons-configuration.git</url>
  </scm>
  <distributionManagement>
    <site>
      <id>apache.website</id>
      <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-configuration/</url>
    </site>
  </distributionManagement>
  <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.15.0</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.3.6</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>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>**/TestWebdavConfigurationBuilder.java</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <developers>
    <developer>
      <name>Daniel Rall</name>
      <email>dlr@finemaltcoding.com</email>
    </developer>
    <developer>
      <name>Jason van Zyl</name>
      <email>jason@zenplex.com</email>
    </developer>
  </developers>
</project>
```

### Metadata

**Age:** 2 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/CONFIGURATION)  
[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
 
### Vulnerability Info

See vulnerability info [View](https://guide.sonatype.com/component/maven/org.apache.commons:commons-configuration2/2.15.1)
