From cf5d1586227a91d8221c80a1e4d03ab2ec168912 Mon Sep 17 00:00:00 2001 From: anuragkumawat Date: Wed, 12 Apr 2023 17:02:52 +0530 Subject: [PATCH] JAVA-19115 Create new core-java-properties sub module under core-java-modules (#13669) * JAVA-19115 Create new core-java-properties sub module under core-java-modules --- .../core-java-properties/README.md | 6 +++++ .../core-java-properties/pom.xml | 23 +++++++++++++++++++ .../com/baeldung/util/PropertiesLoader.java | 0 .../java/properties/PropertiesUnitTest.java | 0 .../properties/MergePropertiesUnitTest.java | 0 .../util/PropertiesLoaderUnitTest.java | 0 .../src/test/resources/app.properties | 0 .../src/test/resources/catalog | 0 .../test/resources/configuration.properties | 0 .../src/test/resources/default.properties | 0 .../src/test/resources/icons.xml | 0 core-java-modules/core-java/README.md | 3 --- core-java-modules/pom.xml | 1 + 13 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 core-java-modules/core-java-properties/README.md create mode 100644 core-java-modules/core-java-properties/pom.xml rename core-java-modules/{core-java => core-java-properties}/src/main/java/com/baeldung/util/PropertiesLoader.java (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/java/com/baeldung/java/properties/PropertiesUnitTest.java (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/java/com/baeldung/properties/MergePropertiesUnitTest.java (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/java/com/baeldung/util/PropertiesLoaderUnitTest.java (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/resources/app.properties (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/resources/catalog (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/resources/configuration.properties (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/resources/default.properties (100%) rename core-java-modules/{core-java => core-java-properties}/src/test/resources/icons.xml (100%) diff --git a/core-java-modules/core-java-properties/README.md b/core-java-modules/core-java-properties/README.md new file mode 100644 index 0000000000..73991634df --- /dev/null +++ b/core-java-modules/core-java-properties/README.md @@ -0,0 +1,6 @@ +## Core Java Properties + +### Relevant Articles: + +- [Getting Started with Java Properties](http://www.baeldung.com/java-properties) +- [Merging java.util.Properties Objects](https://www.baeldung.com/java-merging-properties) diff --git a/core-java-modules/core-java-properties/pom.xml b/core-java-modules/core-java-properties/pom.xml new file mode 100644 index 0000000000..9beacabdd5 --- /dev/null +++ b/core-java-modules/core-java-properties/pom.xml @@ -0,0 +1,23 @@ + + + 4.0.0 + core-java-properties + 0.1.0-SNAPSHOT + core-java-properties + jar + + + com.baeldung.core-java-modules + core-java-modules + 0.0.1-SNAPSHOT + + + + + + + + + \ No newline at end of file diff --git a/core-java-modules/core-java/src/main/java/com/baeldung/util/PropertiesLoader.java b/core-java-modules/core-java-properties/src/main/java/com/baeldung/util/PropertiesLoader.java similarity index 100% rename from core-java-modules/core-java/src/main/java/com/baeldung/util/PropertiesLoader.java rename to core-java-modules/core-java-properties/src/main/java/com/baeldung/util/PropertiesLoader.java diff --git a/core-java-modules/core-java/src/test/java/com/baeldung/java/properties/PropertiesUnitTest.java b/core-java-modules/core-java-properties/src/test/java/com/baeldung/java/properties/PropertiesUnitTest.java similarity index 100% rename from core-java-modules/core-java/src/test/java/com/baeldung/java/properties/PropertiesUnitTest.java rename to core-java-modules/core-java-properties/src/test/java/com/baeldung/java/properties/PropertiesUnitTest.java diff --git a/core-java-modules/core-java/src/test/java/com/baeldung/properties/MergePropertiesUnitTest.java b/core-java-modules/core-java-properties/src/test/java/com/baeldung/properties/MergePropertiesUnitTest.java similarity index 100% rename from core-java-modules/core-java/src/test/java/com/baeldung/properties/MergePropertiesUnitTest.java rename to core-java-modules/core-java-properties/src/test/java/com/baeldung/properties/MergePropertiesUnitTest.java diff --git a/core-java-modules/core-java/src/test/java/com/baeldung/util/PropertiesLoaderUnitTest.java b/core-java-modules/core-java-properties/src/test/java/com/baeldung/util/PropertiesLoaderUnitTest.java similarity index 100% rename from core-java-modules/core-java/src/test/java/com/baeldung/util/PropertiesLoaderUnitTest.java rename to core-java-modules/core-java-properties/src/test/java/com/baeldung/util/PropertiesLoaderUnitTest.java diff --git a/core-java-modules/core-java/src/test/resources/app.properties b/core-java-modules/core-java-properties/src/test/resources/app.properties similarity index 100% rename from core-java-modules/core-java/src/test/resources/app.properties rename to core-java-modules/core-java-properties/src/test/resources/app.properties diff --git a/core-java-modules/core-java/src/test/resources/catalog b/core-java-modules/core-java-properties/src/test/resources/catalog similarity index 100% rename from core-java-modules/core-java/src/test/resources/catalog rename to core-java-modules/core-java-properties/src/test/resources/catalog diff --git a/core-java-modules/core-java/src/test/resources/configuration.properties b/core-java-modules/core-java-properties/src/test/resources/configuration.properties similarity index 100% rename from core-java-modules/core-java/src/test/resources/configuration.properties rename to core-java-modules/core-java-properties/src/test/resources/configuration.properties diff --git a/core-java-modules/core-java/src/test/resources/default.properties b/core-java-modules/core-java-properties/src/test/resources/default.properties similarity index 100% rename from core-java-modules/core-java/src/test/resources/default.properties rename to core-java-modules/core-java-properties/src/test/resources/default.properties diff --git a/core-java-modules/core-java/src/test/resources/icons.xml b/core-java-modules/core-java-properties/src/test/resources/icons.xml similarity index 100% rename from core-java-modules/core-java/src/test/resources/icons.xml rename to core-java-modules/core-java-properties/src/test/resources/icons.xml diff --git a/core-java-modules/core-java/README.md b/core-java-modules/core-java/README.md index 60bd7346c6..287e510c1e 100644 --- a/core-java-modules/core-java/README.md +++ b/core-java-modules/core-java/README.md @@ -2,7 +2,4 @@ ### Relevant Articles: -- [Getting Started with Java Properties](http://www.baeldung.com/java-properties) - [Java Money and the Currency API](http://www.baeldung.com/java-money-and-currency) -- [Merging java.util.Properties Objects](https://www.baeldung.com/java-merging-properties) - diff --git a/core-java-modules/pom.xml b/core-java-modules/pom.xml index 771da250d6..fc7597e85a 100644 --- a/core-java-modules/pom.xml +++ b/core-java-modules/pom.xml @@ -121,6 +121,7 @@ core-java-numbers-6 core-java-optional core-java-perf + core-java-properties core-java-reflection core-java-reflection-2 core-java-security-2