env-config
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.sitture</groupId> <artifactId>env-config</artifactId> <version>1.14.0</version> </dependency>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.sitture</groupId> <artifactId>env-config</artifactId> <packaging>jar</packaging> <version>1.14.0</version> <name>env-config</name> <description>A simple utility to manage environment configs in Java-based projects by merging *.properties files with environment variables overrides.</description> <url>https://github.com/sitture/env-config</url> <developers> <developer> <name>Haroon Sheikh</name> <id>haroon-sheikh</id> <url>https://github.com/haroon-sheikh</url> <roles> <role>Owner</role> </roles> </developer> </developers> <licenses> <license> <name>MIT License</name> <url>https://opensource.org/license/mit</url> <distribution>repo</distribution> </license> </licenses> <issueManagement> <url>https://github.com/sitture/env-config/issues</url> <system>GitHub Issues</system> </issueManagement> <scm> <connection>scm:git:git://github.com/sitture/env-config.git</connection> <url>https://github.com/sitture/env-config</url> <developerConnection>scm:git:https://github.com/sitture/env-config.git</developerConnection> <tag>HEAD</tag> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.build.outputTimestamp>2025-04-04T12:22:05Z</project.build.outputTimestamp> <commons-beanutils.version>1.10.1</commons-beanutils.version> <commons-configuration2.version>2.11.0</commons-configuration2.version> <slf4j.version>2.0.17</slf4j.version> <vault-java-driver.version>6.2.0</vault-java-driver.version> <wiremock-standalone.version>3.12.1</wiremock-standalone.version> <junit.version>5.8.2</junit.version> <java.version>11</java.version> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> </properties> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.14.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.18.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.8.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>3.6.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.26.0</version> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.7.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.11.2</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.7</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <logViolationsToConsole>false</logViolationsToConsole> <configLocation>src/main/resources/config/checkstyle/checkstyle.xml</configLocation> <consoleOutput>true</consoleOutput> <!--<excludes>**/gauge/messages/**/*</excludes> --> <includeTestResources>true</includeTestResources> <includeTestSourceDirectory>true</includeTestSourceDirectory> </configuration> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>10.22.0</version> </dependency> </dependencies> <executions> <execution> <id>validate</id> <phase>validate</phase> <configuration> <failsOnError>true</failsOnError> <failOnViolation>false</failOnViolation> </configuration> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <configuration> <failOnViolation>true</failOnViolation> <printFailingErrors>true</printFailingErrors> <includeTests>true</includeTests> <rulesets> <ruleset>src/main/resources/config/pmd/rulesets.xml</ruleset> </rulesets> <linkXRef>false</linkXRef> </configuration> <executions> <execution> <phase>validate</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencyManagement> <dependencies> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>5.12.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.linguafranca.pwdb</groupId> <artifactId>KeePassJava2-jackson</artifactId> <version>2.2.4</version> <exclusions> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> <exclusion> <groupId>org.linguafranca.pwdb</groupId> <artifactId>util</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.github.jopenlibs</groupId> <artifactId>vault-java-driver</artifactId> <version>${vault-java-driver.version}</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>${commons-beanutils.version}</version> <exclusions> <!-- Excluding commons-collections due to a vulnerability reported below https://issues.apache.org/jira/browse/COLLECTIONS-701 --> <exclusion> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-configuration2</artifactId> <version>${commons-configuration2.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>org.wiremock</groupId> <artifactId>wiremock-standalone</artifactId> <version>${wiremock-standalone.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.valfirst</groupId> <artifactId>slf4j-test</artifactId> <version>3.0.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.27.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>uk.org.webcompere</groupId> <artifactId>system-stubs-core</artifactId> <version>2.1.7</version> <scope>test</scope> </dependency> <dependency> <groupId>uk.org.webcompere</groupId> <artifactId>system-stubs-jupiter</artifactId> <version>2.1.7</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>ossrh</id> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> </distributionManagement> </profile> <profile> <id>github</id> <distributionManagement> <repository> <id>github</id> <name>GitHub Packages</name> <url>https://maven.pkg.github.com/sitture/env-config</url> </repository> </distributionManagement> </profile> </profiles> </project>