From d3b525c046dc0faefb0b954981dfa93b40feb639 Mon Sep 17 00:00:00 2001 From: Ralf Ueberfuhr <40685729+ueberfuhr@users.noreply.github.com> Date: Fri, 3 Sep 2021 17:50:16 +0200 Subject: [PATCH] BAEL-5083: Rename projects to make the example simpler (#11196) * BAEL-5083: renamed projects for better understanding * BAEL-5083: change version from 1.0-SNAPSHOT to 1.0.0-SNAPSHOT --- .../project-b => aggregator/module1}/pom.xml | 8 ++++---- .../project-d => aggregator/module2/module3}/pom.xml | 8 ++++---- .../project-c => aggregator/module2}/pom.xml | 12 ++++++------ .../{project-a => aggregator}/pom.xml | 9 +++++---- maven-modules/maven-parent-pom-resolution/pom.xml | 4 ++-- 5 files changed, 21 insertions(+), 20 deletions(-) rename maven-modules/maven-parent-pom-resolution/{project-a/project-b => aggregator/module1}/pom.xml (69%) rename maven-modules/maven-parent-pom-resolution/{project-a/project-c/project-d => aggregator/module2/module3}/pom.xml (75%) rename maven-modules/maven-parent-pom-resolution/{project-a/project-c => aggregator/module2}/pom.xml (62%) rename maven-modules/maven-parent-pom-resolution/{project-a => aggregator}/pom.xml (72%) diff --git a/maven-modules/maven-parent-pom-resolution/project-a/project-b/pom.xml b/maven-modules/maven-parent-pom-resolution/aggregator/module1/pom.xml similarity index 69% rename from maven-modules/maven-parent-pom-resolution/project-a/project-b/pom.xml rename to maven-modules/maven-parent-pom-resolution/aggregator/module1/pom.xml index e3f5239efe..01b522748f 100644 --- a/maven-modules/maven-parent-pom-resolution/project-a/project-b/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/aggregator/module1/pom.xml @@ -3,11 +3,11 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - project-b + module1 - com.baeldung - project-a - 1.0-SNAPSHOT + com.baeldung.maven-parent-pom-resolution + aggregator + 1.0.0-SNAPSHOT pom diff --git a/maven-modules/maven-parent-pom-resolution/project-a/project-c/project-d/pom.xml b/maven-modules/maven-parent-pom-resolution/aggregator/module2/module3/pom.xml similarity index 75% rename from maven-modules/maven-parent-pom-resolution/project-a/project-c/project-d/pom.xml rename to maven-modules/maven-parent-pom-resolution/aggregator/module2/module3/pom.xml index 973e44eb1f..da0193be10 100644 --- a/maven-modules/maven-parent-pom-resolution/project-a/project-c/project-d/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/aggregator/module2/module3/pom.xml @@ -3,11 +3,11 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - project-d + module3 - com.baeldung - project-a - 1.0-SNAPSHOT + com.baeldung.maven-parent-pom-resolution + aggregator + 1.0.0-SNAPSHOT ../../pom.xml diff --git a/maven-modules/maven-parent-pom-resolution/project-a/project-c/pom.xml b/maven-modules/maven-parent-pom-resolution/aggregator/module2/pom.xml similarity index 62% rename from maven-modules/maven-parent-pom-resolution/project-a/project-c/pom.xml rename to maven-modules/maven-parent-pom-resolution/aggregator/module2/pom.xml index 3c7f70ae20..bf9c89ecf4 100644 --- a/maven-modules/maven-parent-pom-resolution/project-a/project-c/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/aggregator/module2/pom.xml @@ -3,18 +3,18 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - project-c + module2 - com.baeldung - project-b - 1.0-SNAPSHOT - ../project-b/pom.xml + com.baeldung.maven-parent-pom-resolution + module1 + 1.0.0-SNAPSHOT + ../module1/pom.xml pom - project-d + module3 diff --git a/maven-modules/maven-parent-pom-resolution/project-a/pom.xml b/maven-modules/maven-parent-pom-resolution/aggregator/pom.xml similarity index 72% rename from maven-modules/maven-parent-pom-resolution/project-a/pom.xml rename to maven-modules/maven-parent-pom-resolution/aggregator/pom.xml index 2d53a36d84..0067dfc009 100644 --- a/maven-modules/maven-parent-pom-resolution/project-a/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/aggregator/pom.xml @@ -3,18 +3,19 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - project-a + com.baeldung.maven-parent-pom-resolution + aggregator com.baeldung maven-parent-pom-resolution - 1.0-SNAPSHOT + 1.0.0-SNAPSHOT pom - project-b - project-c + module1 + module2 diff --git a/maven-modules/maven-parent-pom-resolution/pom.xml b/maven-modules/maven-parent-pom-resolution/pom.xml index 62e3946723..d5a96c0998 100644 --- a/maven-modules/maven-parent-pom-resolution/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/pom.xml @@ -5,11 +5,11 @@ 4.0.0 com.baeldung maven-parent-pom-resolution - 1.0-SNAPSHOT + 1.0.0-SNAPSHOT pom - project-a + aggregator