From 98a70c0db86efdd5b34facf456b189bce872d313 Mon Sep 17 00:00:00 2001 From: dupirefr Date: Thu, 2 May 2019 09:09:06 +0200 Subject: [PATCH 1/3] [BAEL-2882] Moved Picocli examples to libraries-2 module --- .../com/baeldung/picocli/git/Application.java | 0 .../git/commands/declarative/GitCommand.java | 0 .../git/commands/methods/GitCommand.java | 0 .../commands/programmative/GitCommand.java | 0 .../commands/subcommands/GitAddCommand.java | 0 .../subcommands/GitCommitCommand.java | 0 .../subcommands/GitConfigCommand.java | 0 .../picocli/git/model/ConfigElement.java | 0 .../picocli/helloworld/HelloWorldCommand.java | 0 picocli/pom.xml | 28 ------------------- 10 files changed, 28 deletions(-) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/Application.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/commands/declarative/GitCommand.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/commands/methods/GitCommand.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/commands/programmative/GitCommand.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitAddCommand.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitCommitCommand.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitConfigCommand.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/git/model/ConfigElement.java (100%) rename {picocli => libraries-2}/src/main/java/com/baeldung/picocli/helloworld/HelloWorldCommand.java (100%) delete mode 100644 picocli/pom.xml diff --git a/picocli/src/main/java/com/baeldung/picocli/git/Application.java b/libraries-2/src/main/java/com/baeldung/picocli/git/Application.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/Application.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/Application.java diff --git a/picocli/src/main/java/com/baeldung/picocli/git/commands/declarative/GitCommand.java b/libraries-2/src/main/java/com/baeldung/picocli/git/commands/declarative/GitCommand.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/commands/declarative/GitCommand.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/commands/declarative/GitCommand.java diff --git a/picocli/src/main/java/com/baeldung/picocli/git/commands/methods/GitCommand.java b/libraries-2/src/main/java/com/baeldung/picocli/git/commands/methods/GitCommand.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/commands/methods/GitCommand.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/commands/methods/GitCommand.java diff --git a/picocli/src/main/java/com/baeldung/picocli/git/commands/programmative/GitCommand.java b/libraries-2/src/main/java/com/baeldung/picocli/git/commands/programmative/GitCommand.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/commands/programmative/GitCommand.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/commands/programmative/GitCommand.java diff --git a/picocli/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitAddCommand.java b/libraries-2/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitAddCommand.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitAddCommand.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitAddCommand.java diff --git a/picocli/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitCommitCommand.java b/libraries-2/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitCommitCommand.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitCommitCommand.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitCommitCommand.java diff --git a/picocli/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitConfigCommand.java b/libraries-2/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitConfigCommand.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitConfigCommand.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/commands/subcommands/GitConfigCommand.java diff --git a/picocli/src/main/java/com/baeldung/picocli/git/model/ConfigElement.java b/libraries-2/src/main/java/com/baeldung/picocli/git/model/ConfigElement.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/git/model/ConfigElement.java rename to libraries-2/src/main/java/com/baeldung/picocli/git/model/ConfigElement.java diff --git a/picocli/src/main/java/com/baeldung/picocli/helloworld/HelloWorldCommand.java b/libraries-2/src/main/java/com/baeldung/picocli/helloworld/HelloWorldCommand.java similarity index 100% rename from picocli/src/main/java/com/baeldung/picocli/helloworld/HelloWorldCommand.java rename to libraries-2/src/main/java/com/baeldung/picocli/helloworld/HelloWorldCommand.java diff --git a/picocli/pom.xml b/picocli/pom.xml deleted file mode 100644 index 0334f5463d..0000000000 --- a/picocli/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - 4.0.0 - - com.baeldung - parent-java - 0.0.1-SNAPSHOT - ../parent-java - - - picocli - - - - info.picocli - picocli - 3.9.6 - - - - org.springframework.boot - spring-boot-starter - 2.1.4.RELEASE - - - \ No newline at end of file From 83b180c9525bc67249cf266c423bb37e0643f98f Mon Sep 17 00:00:00 2001 From: dupirefr Date: Thu, 2 May 2019 09:11:10 +0200 Subject: [PATCH 2/3] [BAEL-2882] Removed picocli module from parent pom as well --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index b896514b3a..5d8f9693c2 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,6 @@ lombok-custom - picocli From 4bf210ff59c1ea8149e82a175141dc087beec2c2 Mon Sep 17 00:00:00 2001 From: dupirefr Date: Sat, 4 May 2019 10:41:16 +0200 Subject: [PATCH 3/3] [BAEL-2882] Updated pom.xml --- libraries-2/pom.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libraries-2/pom.xml b/libraries-2/pom.xml index 965cb195bf..23275d58af 100644 --- a/libraries-2/pom.xml +++ b/libraries-2/pom.xml @@ -45,11 +45,23 @@ jbpm-test ${jbpm.version} + + info.picocli + picocli + ${picocli.version} + + + org.springframework.boot + spring-boot-starter + ${spring-boot-starter.version} + 3.6.2 4.8.22 6.0.0.Final + 3.9.6 + 2.1.4.RELEASE