diff --git a/pom.xml b/pom.xml index 6e6714d..2bba063 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ be.nbb.rd java-console-properties - 1.1.1 + 1.1.2 jar @@ -29,7 +29,7 @@ org.checkerframework checker-qual - 3.6.0 + 3.6.1 provided @@ -53,7 +53,7 @@ info.picocli picocli - 4.5.0 + 4.5.1 true @@ -65,13 +65,13 @@ be.nbb.rd java-io-base - 0.0.6 + 0.0.7 true org.yaml snakeyaml - 1.26 + 1.27 true @@ -85,7 +85,7 @@ org.assertj assertj-core - 3.16.1 + 3.17.2 test @@ -321,13 +321,14 @@ !skipEnforceCodeCoverage + (,11] org.jacoco jacoco-maven-plugin - 0.8.5 + 0.8.6 @@ -423,4 +424,4 @@ - \ No newline at end of file + diff --git a/src/main/java/nbbrd/console/picocli/ConfigHelper.java b/src/main/java/nbbrd/console/picocli/ConfigHelper.java index 180a657..f6be934 100644 --- a/src/main/java/nbbrd/console/picocli/ConfigHelper.java +++ b/src/main/java/nbbrd/console/picocli/ConfigHelper.java @@ -45,7 +45,7 @@ private Path getConfigFile(Scope scope) { switch (scope) { case SYSTEM: { Path sibling = selectMainJar(system.getClassPath()); - return sibling != null ? sibling.getParent().resolve(getConfigFileName()) : null; + return sibling != null ? sibling.toAbsolutePath().getParent().resolve(getConfigFileName()) : null; } case GLOBAL: { Path parent = system.getUserHome();