From 89e8e57e91d905a5acfc3c92272bec0a179646b4 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Wed, 13 Jul 2022 04:14:52 +0300 Subject: [PATCH] Maintenance: updated dependency library version. Fixed Maven repository URL. --- pom.xml | 9 +++++++-- .../java/commandline/CommandlineConfiguration.java | 5 +++-- .../java/commandline/TargetImageTypeParameter.java | 7 ++++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index c594c1d..e27daad 100644 --- a/pom.xml +++ b/pom.xml @@ -120,7 +120,12 @@ eu.svjatoslav svjatoslavcommons - 1.9-SNAPSHOT + 1.9 + + + eu.svjatoslav + cli-helper + 1.0 @@ -141,7 +146,7 @@ svjatoslav.eu Svjatoslav repository - https://www2.svjatoslav.eu/maven/ + https://www3.svjatoslav.eu/maven/ diff --git a/src/main/java/eu/svjatoslav/inspector/java/commandline/CommandlineConfiguration.java b/src/main/java/eu/svjatoslav/inspector/java/commandline/CommandlineConfiguration.java index a573a57..5af0950 100644 --- a/src/main/java/eu/svjatoslav/inspector/java/commandline/CommandlineConfiguration.java +++ b/src/main/java/eu/svjatoslav/inspector/java/commandline/CommandlineConfiguration.java @@ -1,7 +1,8 @@ package eu.svjatoslav.inspector.java.commandline; -import eu.svjatoslav.commons.commandline.parameterparser.Parser; -import eu.svjatoslav.commons.commandline.parameterparser.parameter.*; + +import eu.svjatoslav.commons.cli_helper.parameter_parser.Parser; +import eu.svjatoslav.commons.cli_helper.parameter_parser.parameter.*; public class CommandlineConfiguration { diff --git a/src/main/java/eu/svjatoslav/inspector/java/commandline/TargetImageTypeParameter.java b/src/main/java/eu/svjatoslav/inspector/java/commandline/TargetImageTypeParameter.java index e1da203..73fe50f 100644 --- a/src/main/java/eu/svjatoslav/inspector/java/commandline/TargetImageTypeParameter.java +++ b/src/main/java/eu/svjatoslav/inspector/java/commandline/TargetImageTypeParameter.java @@ -1,16 +1,17 @@ package eu.svjatoslav.inspector.java.commandline; -import eu.svjatoslav.commons.commandline.parameterparser.ArgumentCount; -import eu.svjatoslav.commons.commandline.parameterparser.Parameter; +import eu.svjatoslav.commons.cli_helper.parameter_parser.Parameter; import eu.svjatoslav.commons.string.String2; import eu.svjatoslav.inspector.java.structure.TargetImageType; import java.util.Arrays; +import static eu.svjatoslav.commons.cli_helper.parameter_parser.ArgumentCount.SINGLE; + public class TargetImageTypeParameter extends Parameter { public TargetImageTypeParameter(){ - super("Target image type. Default is: svg.", ArgumentCount.SINGLE); + super("Target image type. Default is: svg.", SINGLE); } @Override -- 2.20.1