From 019a73d2aa5a276d0bd2c8561cff86258ddea12a Mon Sep 17 00:00:00 2001 From: Jan van Mansum Date: Fri, 5 Jul 2024 17:24:26 +0200 Subject: [PATCH] Using the fixed version provider --- pom.xml | 2 +- src/main/java/nl/knaw/dans/dvcli/DdDataverseCli.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index d4e79e6..2ce2f2f 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ nl.knaw.dans dans-java-utils - 0.12.0 + 0.18.0 nl.knaw.dans diff --git a/src/main/java/nl/knaw/dans/dvcli/DdDataverseCli.java b/src/main/java/nl/knaw/dans/dvcli/DdDataverseCli.java index 03c1b9d..0f54f1b 100644 --- a/src/main/java/nl/knaw/dans/dvcli/DdDataverseCli.java +++ b/src/main/java/nl/knaw/dans/dvcli/DdDataverseCli.java @@ -35,13 +35,13 @@ import nl.knaw.dans.dvcli.command.DeleteDraft; import nl.knaw.dans.dvcli.config.DdDataverseCliConfig; import nl.knaw.dans.lib.util.AbstractCommandLineApp; -import nl.knaw.dans.lib.util.CliVersionProvider; +import nl.knaw.dans.lib.util.PicocliVersionProvider; import picocli.CommandLine; import picocli.CommandLine.Command; @Command(name = "dataverse", mixinStandardHelpOptions = true, - versionProvider = CliVersionProvider.class, + versionProvider = PicocliVersionProvider.class, description = "Command-line client for the Dataverse API") @Slf4j public class DdDataverseCli extends AbstractCommandLineApp {