From aa92bde665516985e29f9ee7d96d9855f55827ce Mon Sep 17 00:00:00 2001 From: Dhawal Kapil Date: Fri, 4 Feb 2022 19:08:59 +0530 Subject: [PATCH 1/4] JAVA-7535 Moved ebook specific code snippets to maven-simple module --- maven-modules/maven-dependency/pom.xml | 38 -------- maven-modules/maven-profiles/pom.xml | 96 ------------------- .../maven-dependency/README.md | 0 .../maven-simple/maven-dependency/pom.xml | 37 +++++++ .../src/main/java/com/baeldung/Main.java | 0 .../maven-profiles/README.md | 0 .../maven-simple/maven-profiles/pom.xml | 96 +++++++++++++++++++ .../plugin-management/README.md | 0 .../maven-simple/plugin-management/pom.xml | 63 ++++++++++++ .../plugin-management/submodule-1/pom.xml | 0 .../submodule-1/src/resources/include.json | 0 .../CopiesAdditionalResourcesUnitTest.java | 0 .../plugin-management/submodule-2/pom.xml | 0 maven-modules/maven-simple/pom.xml | 22 +++++ maven-modules/plugin-management/pom.xml | 64 ------------- maven-modules/pom.xml | 4 +- 16 files changed, 219 insertions(+), 201 deletions(-) delete mode 100644 maven-modules/maven-dependency/pom.xml delete mode 100644 maven-modules/maven-profiles/pom.xml rename maven-modules/{ => maven-simple}/maven-dependency/README.md (100%) create mode 100644 maven-modules/maven-simple/maven-dependency/pom.xml rename maven-modules/{ => maven-simple}/maven-dependency/src/main/java/com/baeldung/Main.java (100%) rename maven-modules/{ => maven-simple}/maven-profiles/README.md (100%) create mode 100644 maven-modules/maven-simple/maven-profiles/pom.xml rename maven-modules/{ => maven-simple}/plugin-management/README.md (100%) create mode 100644 maven-modules/maven-simple/plugin-management/pom.xml rename maven-modules/{ => maven-simple}/plugin-management/submodule-1/pom.xml (100%) rename maven-modules/{ => maven-simple}/plugin-management/submodule-1/src/resources/include.json (100%) rename maven-modules/{ => maven-simple}/plugin-management/submodule-1/src/test/java/com/baeldung/CopiesAdditionalResourcesUnitTest.java (100%) rename maven-modules/{ => maven-simple}/plugin-management/submodule-2/pom.xml (100%) create mode 100644 maven-modules/maven-simple/pom.xml delete mode 100644 maven-modules/plugin-management/pom.xml diff --git a/maven-modules/maven-dependency/pom.xml b/maven-modules/maven-dependency/pom.xml deleted file mode 100644 index f17998c327..0000000000 --- a/maven-modules/maven-dependency/pom.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - 4.0.0 - com.baeldung - maven-dependency - 1.0.0-SNAPSHOT - pom - - - com.baeldung - maven-modules - 0.0.1-SNAPSHOT - - - - - - org.apache.commons - commons-lang3 - 3.12.0 - - - - - - - org.junit.vintage - junit-vintage-engine - - - org.apache.commons - commons-lang3 - - - - \ No newline at end of file diff --git a/maven-modules/maven-profiles/pom.xml b/maven-modules/maven-profiles/pom.xml deleted file mode 100644 index 322dada104..0000000000 --- a/maven-modules/maven-profiles/pom.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - 4.0.0 - com.baeldung - maven-profiles - 0.0.1-SNAPSHOT - maven-profiles - - - - no-tests - - true - - - - integration-tests - - true - - - - mutation-tests - - - active-on-jdk-11 - - 11 - - - - active-on-windows-10 - - - windows 10 - Windows - amd64 - 10.0 - - - - - active-on-property-environment - - - environment - !test - - - - - active-on-missing-file - - - target/testreport.html - - - - - active-on-present-file - - - target/artifact.jar - - - - - show-active-profiles - - - - org.apache.maven.plugins - maven-help-plugin - ${help.plugin.version} - - - show-profiles - compile - - active-profiles - - - - - - - - - - - 3.2.0 - - - \ No newline at end of file diff --git a/maven-modules/maven-dependency/README.md b/maven-modules/maven-simple/maven-dependency/README.md similarity index 100% rename from maven-modules/maven-dependency/README.md rename to maven-modules/maven-simple/maven-dependency/README.md diff --git a/maven-modules/maven-simple/maven-dependency/pom.xml b/maven-modules/maven-simple/maven-dependency/pom.xml new file mode 100644 index 0000000000..46c59409ef --- /dev/null +++ b/maven-modules/maven-simple/maven-dependency/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + maven-dependency + 1.0.0-SNAPSHOT + pom + + + com.baeldung + maven-modules + 0.0.1-SNAPSHOT + + + + + + org.apache.commons + commons-lang3 + 3.12.0 + + + + + + + org.junit.vintage + junit-vintage-engine + + + org.apache.commons + commons-lang3 + + + + \ No newline at end of file diff --git a/maven-modules/maven-dependency/src/main/java/com/baeldung/Main.java b/maven-modules/maven-simple/maven-dependency/src/main/java/com/baeldung/Main.java similarity index 100% rename from maven-modules/maven-dependency/src/main/java/com/baeldung/Main.java rename to maven-modules/maven-simple/maven-dependency/src/main/java/com/baeldung/Main.java diff --git a/maven-modules/maven-profiles/README.md b/maven-modules/maven-simple/maven-profiles/README.md similarity index 100% rename from maven-modules/maven-profiles/README.md rename to maven-modules/maven-simple/maven-profiles/README.md diff --git a/maven-modules/maven-simple/maven-profiles/pom.xml b/maven-modules/maven-simple/maven-profiles/pom.xml new file mode 100644 index 0000000000..1168350de9 --- /dev/null +++ b/maven-modules/maven-simple/maven-profiles/pom.xml @@ -0,0 +1,96 @@ + + + 4.0.0 + com.baeldung + maven-profiles + 0.0.1-SNAPSHOT + maven-profiles + + + + no-tests + + true + + + + integration-tests + + true + + + + mutation-tests + + + active-on-jdk-11 + + 11 + + + + active-on-windows-10 + + + windows 10 + Windows + amd64 + 10.0 + + + + + active-on-property-environment + + + environment + !test + + + + + active-on-missing-file + + + target/testreport.html + + + + + active-on-present-file + + + target/artifact.jar + + + + + show-active-profiles + + + + org.apache.maven.plugins + maven-help-plugin + ${help.plugin.version} + + + show-profiles + compile + + active-profiles + + + + + + + + + + + 3.2.0 + + + \ No newline at end of file diff --git a/maven-modules/plugin-management/README.md b/maven-modules/maven-simple/plugin-management/README.md similarity index 100% rename from maven-modules/plugin-management/README.md rename to maven-modules/maven-simple/plugin-management/README.md diff --git a/maven-modules/maven-simple/plugin-management/pom.xml b/maven-modules/maven-simple/plugin-management/pom.xml new file mode 100644 index 0000000000..b680d1d39b --- /dev/null +++ b/maven-modules/maven-simple/plugin-management/pom.xml @@ -0,0 +1,63 @@ + + + 4.0.0 + plugin-management + pom + + + maven-modules + com.baeldung + 0.0.1-SNAPSHOT + + + + submodule-1 + submodule-2 + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + ${maven.bulid.helper.plugin} + + + add-resource + generate-resources + + add-resource + + + + + src/resources + json + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven.compiler.plugin} + + 1.8 + 1.8 + + + + + + + + 3.8.1 + 3.2.0 + + + \ No newline at end of file diff --git a/maven-modules/plugin-management/submodule-1/pom.xml b/maven-modules/maven-simple/plugin-management/submodule-1/pom.xml similarity index 100% rename from maven-modules/plugin-management/submodule-1/pom.xml rename to maven-modules/maven-simple/plugin-management/submodule-1/pom.xml diff --git a/maven-modules/plugin-management/submodule-1/src/resources/include.json b/maven-modules/maven-simple/plugin-management/submodule-1/src/resources/include.json similarity index 100% rename from maven-modules/plugin-management/submodule-1/src/resources/include.json rename to maven-modules/maven-simple/plugin-management/submodule-1/src/resources/include.json diff --git a/maven-modules/plugin-management/submodule-1/src/test/java/com/baeldung/CopiesAdditionalResourcesUnitTest.java b/maven-modules/maven-simple/plugin-management/submodule-1/src/test/java/com/baeldung/CopiesAdditionalResourcesUnitTest.java similarity index 100% rename from maven-modules/plugin-management/submodule-1/src/test/java/com/baeldung/CopiesAdditionalResourcesUnitTest.java rename to maven-modules/maven-simple/plugin-management/submodule-1/src/test/java/com/baeldung/CopiesAdditionalResourcesUnitTest.java diff --git a/maven-modules/plugin-management/submodule-2/pom.xml b/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml similarity index 100% rename from maven-modules/plugin-management/submodule-2/pom.xml rename to maven-modules/maven-simple/plugin-management/submodule-2/pom.xml diff --git a/maven-modules/maven-simple/pom.xml b/maven-modules/maven-simple/pom.xml new file mode 100644 index 0000000000..87df6a9bca --- /dev/null +++ b/maven-modules/maven-simple/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + maven-simple + maven-simple + pom + + + com.baeldung + maven-modules + 0.0.1-SNAPSHOT + + + + maven-profiles + plugin-management + maven-dependency + + + diff --git a/maven-modules/plugin-management/pom.xml b/maven-modules/plugin-management/pom.xml deleted file mode 100644 index cd75e5dbd0..0000000000 --- a/maven-modules/plugin-management/pom.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - 4.0.0 - plugin-management - 0.0.1-SNAPSHOT - pom - - - maven-modules - com.baeldung - 0.0.1-SNAPSHOT - - - - submodule-1 - submodule-2 - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - ${maven.bulid.helper.plugin} - - - add-resource - generate-resources - - add-resource - - - - - src/resources - json - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compiler.plugin} - - 1.8 - 1.8 - - - - - - - - 3.8.1 - 3.2.0 - - - \ No newline at end of file diff --git a/maven-modules/pom.xml b/maven-modules/pom.xml index e09283efb4..21bc0e72e1 100644 --- a/maven-modules/pom.xml +++ b/maven-modules/pom.xml @@ -22,7 +22,6 @@ maven-integration-test maven-multi-source maven-plugins - maven-profiles maven-properties maven-unused-dependencies @@ -34,10 +33,9 @@ maven-printing-plugins maven-builder-plugin host-maven-repo-example - plugin-management maven-surefire-plugin maven-parent-pom-resolution - maven-dependency + maven-simple From 667cff71edc3b4f2ba4a52af34e55e8bb550a53a Mon Sep 17 00:00:00 2001 From: Dhawal Kapil Date: Wed, 9 Feb 2022 00:56:36 +0530 Subject: [PATCH 2/4] JAVA-7535 Added code for maven-multi-module --- .../maven-simple/maven-dependency/pom.xml | 4 +- .../maven-simple/parent-project/core/pom.xml | 16 ++++++ .../maven-simple/parent-project/pom.xml | 22 ++++++++ .../parent-project/service/pom.xml | 16 ++++++ .../parent-project/webapp/pom.xml | 16 ++++++ .../maven-simple/plugin-management/pom.xml | 2 +- .../plugin-management/submodule-2/pom.xml | 18 +++---- maven-modules/maven-simple/pom.xml | 54 +++++++++++-------- 8 files changed, 115 insertions(+), 33 deletions(-) create mode 100644 maven-modules/maven-simple/parent-project/core/pom.xml create mode 100644 maven-modules/maven-simple/parent-project/pom.xml create mode 100644 maven-modules/maven-simple/parent-project/service/pom.xml create mode 100644 maven-modules/maven-simple/parent-project/webapp/pom.xml diff --git a/maven-modules/maven-simple/maven-dependency/pom.xml b/maven-modules/maven-simple/maven-dependency/pom.xml index 46c59409ef..ac4902e1ad 100644 --- a/maven-modules/maven-simple/maven-dependency/pom.xml +++ b/maven-modules/maven-simple/maven-dependency/pom.xml @@ -9,7 +9,7 @@ com.baeldung - maven-modules + maven-simple 0.0.1-SNAPSHOT @@ -18,7 +18,7 @@ org.apache.commons commons-lang3 - 3.12.0 + ${commons-lang3.version} diff --git a/maven-modules/maven-simple/parent-project/core/pom.xml b/maven-modules/maven-simple/parent-project/core/pom.xml new file mode 100644 index 0000000000..5ae3f6a0bb --- /dev/null +++ b/maven-modules/maven-simple/parent-project/core/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + org.baeldung + core + core + + + parent-project + com.baeldung + 1.0-SNAPSHOT + + + diff --git a/maven-modules/maven-simple/parent-project/pom.xml b/maven-modules/maven-simple/parent-project/pom.xml new file mode 100644 index 0000000000..7d541a3353 --- /dev/null +++ b/maven-modules/maven-simple/parent-project/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + parent-project + 1.0-SNAPSHOT + parent-project + pom + + + com.baeldung + maven-simple + 0.0.1-SNAPSHOT + + + + core + service + webapp + + diff --git a/maven-modules/maven-simple/parent-project/service/pom.xml b/maven-modules/maven-simple/parent-project/service/pom.xml new file mode 100644 index 0000000000..b20b3ad1d2 --- /dev/null +++ b/maven-modules/maven-simple/parent-project/service/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + org.baeldung + service + service + + + parent-project + com.baeldung + 1.0-SNAPSHOT + + + diff --git a/maven-modules/maven-simple/parent-project/webapp/pom.xml b/maven-modules/maven-simple/parent-project/webapp/pom.xml new file mode 100644 index 0000000000..05594d0995 --- /dev/null +++ b/maven-modules/maven-simple/parent-project/webapp/pom.xml @@ -0,0 +1,16 @@ + + + 4.0.0 + org.baeldung + webapp + webapp + + + parent-project + com.baeldung + 1.0-SNAPSHOT + + + diff --git a/maven-modules/maven-simple/plugin-management/pom.xml b/maven-modules/maven-simple/plugin-management/pom.xml index b680d1d39b..9ca65dd549 100644 --- a/maven-modules/maven-simple/plugin-management/pom.xml +++ b/maven-modules/maven-simple/plugin-management/pom.xml @@ -7,7 +7,7 @@ pom - maven-modules + maven-simple com.baeldung 0.0.1-SNAPSHOT diff --git a/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml b/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml index e50d3cc26d..df460ec159 100644 --- a/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml +++ b/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml @@ -1,14 +1,14 @@ - 4.0.0 - submodule-2 + 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 + submodule-2 - - plugin-management - com.baeldung - 0.0.1-SNAPSHOT - + + plugin-management + com.baeldung + 0.0.1-SNAPSHOT + \ No newline at end of file diff --git a/maven-modules/maven-simple/pom.xml b/maven-modules/maven-simple/pom.xml index 87df6a9bca..7272ef45f1 100644 --- a/maven-modules/maven-simple/pom.xml +++ b/maven-modules/maven-simple/pom.xml @@ -1,22 +1,34 @@ - - - 4.0.0 - maven-simple - maven-simple - pom - - - com.baeldung - maven-modules - 0.0.1-SNAPSHOT - - - - maven-profiles - plugin-management - maven-dependency - - + + + + 4.0.0 + + maven-simple + + maven-simple + + pom + + + + com.baeldung + + maven-modules + + 0.0.1-SNAPSHOT + + + + + + maven-profiles + + plugin-management + + maven-dependency + + parent-project + + + From c5e767a14aca10772fbd3f9ac89ecfd9cae8947f Mon Sep 17 00:00:00 2001 From: Dhawal Kapil Date: Wed, 9 Feb 2022 01:00:12 +0530 Subject: [PATCH 3/4] JAVA-7535 Pom formatting --- maven-modules/maven-simple/pom.xml | 55 ++++++++++++------------------ 1 file changed, 22 insertions(+), 33 deletions(-) diff --git a/maven-modules/maven-simple/pom.xml b/maven-modules/maven-simple/pom.xml index 7272ef45f1..78e4e8df46 100644 --- a/maven-modules/maven-simple/pom.xml +++ b/maven-modules/maven-simple/pom.xml @@ -1,34 +1,23 @@ - - - 4.0.0 - - maven-simple - - maven-simple - - pom - - - - com.baeldung - - maven-modules - - 0.0.1-SNAPSHOT - - - - - - maven-profiles - - plugin-management - - maven-dependency - - parent-project - - - - + + 4.0.0 + maven-simple + maven-simple + pom + + + com.baeldung + maven-modules + 0.0.1-SNAPSHOT + + + + maven-profiles + plugin-management + maven-dependency + parent-project + + + \ No newline at end of file From e5bf53cdfd49d3972e08f360b268a51c9c47e050 Mon Sep 17 00:00:00 2001 From: Dhawal Kapil Date: Wed, 9 Feb 2022 01:03:55 +0530 Subject: [PATCH 4/4] JAVA-7535 Pom formatting --- .../maven-simple/maven-dependency/pom.xml | 60 +++--- .../maven-simple/maven-profiles/pom.xml | 180 +++++++++--------- .../maven-simple/parent-project/core/pom.xml | 22 +-- .../maven-simple/parent-project/pom.xml | 34 ++-- .../parent-project/service/pom.xml | 22 +-- .../parent-project/webapp/pom.xml | 22 +-- .../maven-simple/plugin-management/pom.xml | 110 +++++------ .../plugin-management/submodule-2/pom.xml | 18 +- maven-modules/maven-simple/pom.xml | 34 ++-- 9 files changed, 251 insertions(+), 251 deletions(-) diff --git a/maven-modules/maven-simple/maven-dependency/pom.xml b/maven-modules/maven-simple/maven-dependency/pom.xml index ac4902e1ad..628c1b62d4 100644 --- a/maven-modules/maven-simple/maven-dependency/pom.xml +++ b/maven-modules/maven-simple/maven-dependency/pom.xml @@ -1,37 +1,37 @@ - 4.0.0 - maven-dependency - 1.0.0-SNAPSHOT - pom + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + maven-dependency + 1.0.0-SNAPSHOT + pom - - com.baeldung - maven-simple - 0.0.1-SNAPSHOT - + + com.baeldung + maven-simple + 0.0.1-SNAPSHOT + - - - - org.apache.commons - commons-lang3 - ${commons-lang3.version} - - - + + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + + + - - - org.junit.vintage - junit-vintage-engine - - - org.apache.commons - commons-lang3 - - + + + org.junit.vintage + junit-vintage-engine + + + org.apache.commons + commons-lang3 + + \ No newline at end of file diff --git a/maven-modules/maven-simple/maven-profiles/pom.xml b/maven-modules/maven-simple/maven-profiles/pom.xml index 1168350de9..322dada104 100644 --- a/maven-modules/maven-simple/maven-profiles/pom.xml +++ b/maven-modules/maven-simple/maven-profiles/pom.xml @@ -1,96 +1,96 @@ - 4.0.0 - com.baeldung - maven-profiles - 0.0.1-SNAPSHOT - maven-profiles + 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 + com.baeldung + maven-profiles + 0.0.1-SNAPSHOT + maven-profiles - - - no-tests - - true - - - - integration-tests - - true - - - - mutation-tests - - - active-on-jdk-11 - - 11 - - - - active-on-windows-10 - - - windows 10 - Windows - amd64 - 10.0 - - - - - active-on-property-environment - - - environment - !test - - - - - active-on-missing-file - - - target/testreport.html - - - - - active-on-present-file - - - target/artifact.jar - - - - - show-active-profiles - - - - org.apache.maven.plugins - maven-help-plugin - ${help.plugin.version} - - - show-profiles - compile - - active-profiles - - - - - - - - + + + no-tests + + true + + + + integration-tests + + true + + + + mutation-tests + + + active-on-jdk-11 + + 11 + + + + active-on-windows-10 + + + windows 10 + Windows + amd64 + 10.0 + + + + + active-on-property-environment + + + environment + !test + + + + + active-on-missing-file + + + target/testreport.html + + + + + active-on-present-file + + + target/artifact.jar + + + + + show-active-profiles + + + + org.apache.maven.plugins + maven-help-plugin + ${help.plugin.version} + + + show-profiles + compile + + active-profiles + + + + + + + + - - 3.2.0 - + + 3.2.0 + \ No newline at end of file diff --git a/maven-modules/maven-simple/parent-project/core/pom.xml b/maven-modules/maven-simple/parent-project/core/pom.xml index 5ae3f6a0bb..ec25c9ace5 100644 --- a/maven-modules/maven-simple/parent-project/core/pom.xml +++ b/maven-modules/maven-simple/parent-project/core/pom.xml @@ -1,16 +1,16 @@ - 4.0.0 - org.baeldung - core - core + 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 + org.baeldung + core + core - - parent-project - com.baeldung - 1.0-SNAPSHOT - + + parent-project + com.baeldung + 1.0-SNAPSHOT + diff --git a/maven-modules/maven-simple/parent-project/pom.xml b/maven-modules/maven-simple/parent-project/pom.xml index 7d541a3353..a68f8e63bc 100644 --- a/maven-modules/maven-simple/parent-project/pom.xml +++ b/maven-modules/maven-simple/parent-project/pom.xml @@ -1,22 +1,22 @@ - 4.0.0 - parent-project - 1.0-SNAPSHOT - parent-project - pom + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + parent-project + 1.0-SNAPSHOT + parent-project + pom - - com.baeldung - maven-simple - 0.0.1-SNAPSHOT - + + com.baeldung + maven-simple + 0.0.1-SNAPSHOT + - - core - service - webapp - + + core + service + webapp + diff --git a/maven-modules/maven-simple/parent-project/service/pom.xml b/maven-modules/maven-simple/parent-project/service/pom.xml index b20b3ad1d2..1953ec8638 100644 --- a/maven-modules/maven-simple/parent-project/service/pom.xml +++ b/maven-modules/maven-simple/parent-project/service/pom.xml @@ -1,16 +1,16 @@ - 4.0.0 - org.baeldung - service - service + 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 + org.baeldung + service + service - - parent-project - com.baeldung - 1.0-SNAPSHOT - + + parent-project + com.baeldung + 1.0-SNAPSHOT + diff --git a/maven-modules/maven-simple/parent-project/webapp/pom.xml b/maven-modules/maven-simple/parent-project/webapp/pom.xml index 05594d0995..bd13c5aeb8 100644 --- a/maven-modules/maven-simple/parent-project/webapp/pom.xml +++ b/maven-modules/maven-simple/parent-project/webapp/pom.xml @@ -1,16 +1,16 @@ - 4.0.0 - org.baeldung - webapp - webapp + 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 + org.baeldung + webapp + webapp - - parent-project - com.baeldung - 1.0-SNAPSHOT - + + parent-project + com.baeldung + 1.0-SNAPSHOT + diff --git a/maven-modules/maven-simple/plugin-management/pom.xml b/maven-modules/maven-simple/plugin-management/pom.xml index 9ca65dd549..2fb2d5ed41 100644 --- a/maven-modules/maven-simple/plugin-management/pom.xml +++ b/maven-modules/maven-simple/plugin-management/pom.xml @@ -1,63 +1,63 @@ - 4.0.0 - plugin-management - pom + 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 + plugin-management + pom - - maven-simple - com.baeldung - 0.0.1-SNAPSHOT - + + maven-simple + com.baeldung + 0.0.1-SNAPSHOT + - - submodule-1 - submodule-2 - + + submodule-1 + submodule-2 + - - - - - org.codehaus.mojo - build-helper-maven-plugin - ${maven.bulid.helper.plugin} - - - add-resource - generate-resources - - add-resource - - - - - src/resources - json - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compiler.plugin} - - 1.8 - 1.8 - - - - - + + + + + org.codehaus.mojo + build-helper-maven-plugin + ${maven.bulid.helper.plugin} + + + add-resource + generate-resources + + add-resource + + + + + src/resources + json + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven.compiler.plugin} + + 1.8 + 1.8 + + + + + - - 3.8.1 - 3.2.0 - + + 3.8.1 + 3.2.0 + \ No newline at end of file diff --git a/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml b/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml index df460ec159..e50d3cc26d 100644 --- a/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml +++ b/maven-modules/maven-simple/plugin-management/submodule-2/pom.xml @@ -1,14 +1,14 @@ - 4.0.0 - submodule-2 + 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 + submodule-2 - - plugin-management - com.baeldung - 0.0.1-SNAPSHOT - + + plugin-management + com.baeldung + 0.0.1-SNAPSHOT + \ No newline at end of file diff --git a/maven-modules/maven-simple/pom.xml b/maven-modules/maven-simple/pom.xml index 78e4e8df46..938e2240f8 100644 --- a/maven-modules/maven-simple/pom.xml +++ b/maven-modules/maven-simple/pom.xml @@ -1,23 +1,23 @@ - 4.0.0 - maven-simple - maven-simple - pom + 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 + maven-simple + maven-simple + pom - - com.baeldung - maven-modules - 0.0.1-SNAPSHOT - + + com.baeldung + maven-modules + 0.0.1-SNAPSHOT + - - maven-profiles - plugin-management - maven-dependency - parent-project - + + maven-profiles + plugin-management + maven-dependency + parent-project + \ No newline at end of file