Maintenance: updated dependency library version. Fixed Maven repository URL.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 13 Jul 2022 01:14:52 +0000 (04:14 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 13 Jul 2022 01:14:52 +0000 (04:14 +0300)
pom.xml
src/main/java/eu/svjatoslav/inspector/java/commandline/CommandlineConfiguration.java
src/main/java/eu/svjatoslav/inspector/java/commandline/TargetImageTypeParameter.java

diff --git a/pom.xml b/pom.xml
index c594c1d..e27daad 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <dependency>
             <groupId>eu.svjatoslav</groupId>
             <artifactId>svjatoslavcommons</artifactId>
-            <version>1.9-SNAPSHOT</version>
+            <version>1.9</version>
+        </dependency>
+        <dependency>
+            <groupId>eu.svjatoslav</groupId>
+            <artifactId>cli-helper</artifactId>
+            <version>1.0</version>
         </dependency>
     </dependencies>
 
         <repository>
             <id>svjatoslav.eu</id>
             <name>Svjatoslav repository</name>
-            <url>https://www2.svjatoslav.eu/maven/</url>
+            <url>https://www3.svjatoslav.eu/maven/</url>
         </repository>
     </repositories>
 
index a573a57..5af0950 100644 (file)
@@ -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 {
 
index e1da203..73fe50f 100644 (file)
@@ -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<TargetImageType, TargetImageTypeParameter> {
 
     public TargetImageTypeParameter(){
-        super("Target image type. Default is: svg.", ArgumentCount.SINGLE);
+        super("Target image type. Default is: svg.", SINGLE);
     }
 
     @Override