diff --git a/patterns-modules/design-patterns-creational-2/pom.xml b/patterns-modules/design-patterns-creational-2/pom.xml new file mode 100644 index 0000000000..2a29a9cd6d --- /dev/null +++ b/patterns-modules/design-patterns-creational-2/pom.xml @@ -0,0 +1,13 @@ + + 4.0.0 + design-patterns-creational-2 + design-patterns-creational-2 + jar + + + patterns-modules + com.baeldung + 1.0.0-SNAPSHOT + + diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/Corporation.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/Corporation.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/Corporation.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/Corporation.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/ElectricVehicle.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/ElectricVehicle.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/ElectricVehicle.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/ElectricVehicle.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleCorporation.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleCorporation.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleCorporation.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleCorporation.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleElectricCar.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleElectricCar.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleElectricCar.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleElectricCar.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleMotorcycle.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleMotorcycle.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleMotorcycle.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/FutureVehicleMotorcycle.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/MotorVehicle.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/MotorVehicle.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/MotorVehicle.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/MotorVehicle.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenCorporation.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenCorporation.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenCorporation.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenCorporation.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenElectricCar.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenElectricCar.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenElectricCar.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenElectricCar.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenMotorcycle.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenMotorcycle.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenMotorcycle.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/abstract_factory/NextGenMotorcycle.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/Car.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/Car.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/Car.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/Car.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/CarFactory.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/CarFactory.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/CarFactory.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/CarFactory.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/MotorVehicle.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/MotorVehicle.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/MotorVehicle.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/MotorVehicle.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/MotorVehicleFactory.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/MotorVehicleFactory.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/MotorVehicleFactory.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/MotorVehicleFactory.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/Motorcycle.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/Motorcycle.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/Motorcycle.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/Motorcycle.java diff --git a/patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/MotorcycleFactory.java b/patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/MotorcycleFactory.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/main/java/com/baeldung/factory_pattern/method/MotorcycleFactory.java rename to patterns-modules/design-patterns-creational-2/src/main/java/com/baeldung/factory_pattern/method/MotorcycleFactory.java diff --git a/patterns-modules/design-patterns-creational/src/test/java/com/baeldung/factory_pattern/abstract_factory/AbstractFactoryUnitTest.java b/patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/factory_pattern/abstract_factory/AbstractFactoryUnitTest.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/test/java/com/baeldung/factory_pattern/abstract_factory/AbstractFactoryUnitTest.java rename to patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/factory_pattern/abstract_factory/AbstractFactoryUnitTest.java diff --git a/patterns-modules/design-patterns-creational/src/test/java/com/baeldung/factory_pattern/method/FactoryMethodUnitTest.java b/patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/factory_pattern/method/FactoryMethodUnitTest.java similarity index 100% rename from patterns-modules/design-patterns-creational/src/test/java/com/baeldung/factory_pattern/method/FactoryMethodUnitTest.java rename to patterns-modules/design-patterns-creational-2/src/test/java/com/baeldung/factory_pattern/method/FactoryMethodUnitTest.java diff --git a/patterns-modules/pom.xml b/patterns-modules/pom.xml index 4c020734bf..00625a9df3 100644 --- a/patterns-modules/pom.xml +++ b/patterns-modules/pom.xml @@ -19,6 +19,7 @@ design-patterns-behavioral-2 design-patterns-cloud design-patterns-creational + design-patterns-creational-2 design-patterns-functional design-patterns-structural dip