From 90f569018a6bcda262f17357565291c17d674582 Mon Sep 17 00:00:00 2001 From: Bipin kumar Date: Tue, 23 May 2023 22:02:15 +0530 Subject: [PATCH] JAVA-21189: Formatting pom.xml modules starting from KLM (#14096) --- kubernetes-modules/k8s-java-heap-dump/pom.xml | 4 +- libraries-4/pom.xml | 28 ++++++------ libraries-ai/pom.xml | 2 +- libraries-concurrency/pom.xml | 2 +- libraries-data-db/pom.xml | 11 +++-- libraries-data/pom.xml | 4 +- logging-modules/logback/pom.xml | 10 ++--- lombok-modules/lombok-2/pom.xml | 2 +- lombok-modules/pom.xml | 2 +- maven-modules/dependency-exclusion/pom.xml | 4 +- .../maven-antrun-plugin/pom.xml | 4 +- .../empty-phase/pom.xml | 2 +- .../maven-plugins/maven-enforcer/pom.xml | 2 +- maven-modules/maven-pom-types/pom-4.0.0.xml | 2 +- maven-modules/maven-printing-plugins/pom.xml | 8 ++-- .../maven-reactor/patient-data/pom.xml | 34 +++++++------- .../maven-reactor/patient-domain/pom.xml | 20 ++++----- .../maven-reactor/patient-web/pom.xml | 44 +++++++++---------- maven-modules/maven-reactor/pom.xml | 36 +++++++-------- messaging-modules/spring-apache-camel/pom.xml | 2 +- microservices-modules/micronaut/pom.xml | 4 +- microservices-modules/rest-express/pom.xml | 7 +-- 22 files changed, 116 insertions(+), 118 deletions(-) diff --git a/kubernetes-modules/k8s-java-heap-dump/pom.xml b/kubernetes-modules/k8s-java-heap-dump/pom.xml index 6c53553b8f..70a9e004ac 100644 --- a/kubernetes-modules/k8s-java-heap-dump/pom.xml +++ b/kubernetes-modules/k8s-java-heap-dump/pom.xml @@ -1,6 +1,6 @@ + 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 k8s-java-heap-dump 0.0.1-SNAPSHOT diff --git a/libraries-4/pom.xml b/libraries-4/pom.xml index 597fce2823..3949d50875 100644 --- a/libraries-4/pom.xml +++ b/libraries-4/pom.xml @@ -109,24 +109,21 @@ javafx-fxml ${javafx.version} - - - com.fasterxml.jackson.core - jackson-core - ${jackson-core.version} - - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson-annotations.version} - - + + com.fasterxml.jackson.core + jackson-core + ${jackson-core.version} + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson-annotations.version} + - 2.14.2 - 2.14.2 + 2.14.2 + 2.14.2 1.2.6 8.2.0 1.1.0 @@ -144,6 +141,7 @@ 2.2.4 1.2.0 19 + 10.3.0 \ No newline at end of file diff --git a/libraries-ai/pom.xml b/libraries-ai/pom.xml index 2c1490440f..48b26e5a31 100644 --- a/libraries-ai/pom.xml +++ b/libraries-ai/pom.xml @@ -22,7 +22,7 @@ org.apache.opennlp opennlp-tools ${opennlp-tools.version} - + diff --git a/libraries-concurrency/pom.xml b/libraries-concurrency/pom.xml index eb581ce3a0..8b0ccdd5ec 100644 --- a/libraries-concurrency/pom.xml +++ b/libraries-concurrency/pom.xml @@ -58,7 +58,7 @@ -javaagent:${co.paralleluniverse:quasar-core:jar} -classpath - + com.baeldung.quasar.App diff --git a/libraries-data-db/pom.xml b/libraries-data-db/pom.xml index 66fa24476e..ed184d72e0 100644 --- a/libraries-data-db/pom.xml +++ b/libraries-data-db/pom.xml @@ -178,23 +178,22 @@ + refid="maven.plugin.classpath"/> + classname="com.gs.fw.common.mithra.generator.MithraGenerator"/> - + nonGeneratedDir="${project.basedir}/src/main/java"/> - + + databaseType="postgres"/> diff --git a/libraries-data/pom.xml b/libraries-data/pom.xml index 6ba48a9d66..a721e967d2 100644 --- a/libraries-data/pom.xml +++ b/libraries-data/pom.xml @@ -1,7 +1,7 @@ + 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 libraries-data libraries-data diff --git a/logging-modules/logback/pom.xml b/logging-modules/logback/pom.xml index bef4b25f1b..e7313d902a 100644 --- a/logging-modules/logback/pom.xml +++ b/logging-modules/logback/pom.xml @@ -39,11 +39,11 @@ logback-jackson ${logback.contrib.version} - - org.slf4j - slf4j-api - ${slf4j.version} - + + org.slf4j + slf4j-api + ${slf4j.version} + com.fasterxml.jackson.core jackson-databind diff --git a/lombok-modules/lombok-2/pom.xml b/lombok-modules/lombok-2/pom.xml index b805e6a31e..88fbaf530f 100644 --- a/lombok-modules/lombok-2/pom.xml +++ b/lombok-modules/lombok-2/pom.xml @@ -25,7 +25,7 @@ jackson-databind ${jackson.version} - + org.springframework.boot spring-boot-starter-web diff --git a/lombok-modules/pom.xml b/lombok-modules/pom.xml index f2bfdb51c0..46d91462fb 100644 --- a/lombok-modules/pom.xml +++ b/lombok-modules/pom.xml @@ -18,7 +18,7 @@ lombok lombok-2 - + diff --git a/maven-modules/dependency-exclusion/pom.xml b/maven-modules/dependency-exclusion/pom.xml index 13de16a57c..6e348377b0 100644 --- a/maven-modules/dependency-exclusion/pom.xml +++ b/maven-modules/dependency-exclusion/pom.xml @@ -1,7 +1,7 @@ + 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 com.baeldung.dependency-exclusion dependency-exclusion diff --git a/maven-modules/maven-copy-files/maven-antrun-plugin/pom.xml b/maven-modules/maven-copy-files/maven-antrun-plugin/pom.xml index 430d0a1f5b..93e6dd9231 100644 --- a/maven-modules/maven-copy-files/maven-antrun-plugin/pom.xml +++ b/maven-modules/maven-copy-files/maven-antrun-plugin/pom.xml @@ -22,10 +22,10 @@ generate-sources - + + includes="foo.txt"/> diff --git a/maven-modules/maven-parent-pom-resolution/disable-plugin-examples/empty-phase/pom.xml b/maven-modules/maven-parent-pom-resolution/disable-plugin-examples/empty-phase/pom.xml index 2dfa34568e..28ea8b6359 100644 --- a/maven-modules/maven-parent-pom-resolution/disable-plugin-examples/empty-phase/pom.xml +++ b/maven-modules/maven-parent-pom-resolution/disable-plugin-examples/empty-phase/pom.xml @@ -21,7 +21,7 @@ enforce-file-exists - + diff --git a/maven-modules/maven-plugins/maven-enforcer/pom.xml b/maven-modules/maven-plugins/maven-enforcer/pom.xml index 25c608ee36..5d7d845794 100644 --- a/maven-modules/maven-plugins/maven-enforcer/pom.xml +++ b/maven-modules/maven-plugins/maven-enforcer/pom.xml @@ -33,7 +33,7 @@ - + 3.0 Invalid Maven version. It should, at least, be 3.0 diff --git a/maven-modules/maven-pom-types/pom-4.0.0.xml b/maven-modules/maven-pom-types/pom-4.0.0.xml index 24b15984af..515ec00ccc 100644 --- a/maven-modules/maven-pom-types/pom-4.0.0.xml +++ b/maven-modules/maven-pom-types/pom-4.0.0.xml @@ -145,4 +145,4 @@ - + diff --git a/maven-modules/maven-printing-plugins/pom.xml b/maven-modules/maven-printing-plugins/pom.xml index 07ddd8d1e8..683a99fef7 100644 --- a/maven-modules/maven-printing-plugins/pom.xml +++ b/maven-modules/maven-printing-plugins/pom.xml @@ -27,12 +27,12 @@ - - + + + level="info"/> + message="Save to file!"/> diff --git a/maven-modules/maven-reactor/patient-data/pom.xml b/maven-modules/maven-reactor/patient-data/pom.xml index 9526549c48..51f6ff6b72 100644 --- a/maven-modules/maven-reactor/patient-data/pom.xml +++ b/maven-modules/maven-reactor/patient-data/pom.xml @@ -1,20 +1,20 @@ - 4.0.0 - patient-data - patient-data - - com.baeldung - maven-reactor - 1.0-SNAPSHOT - - - - com.baeldung - patient-domain - 1.0-SNAPSHOT - - + 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 + patient-data + patient-data + + com.baeldung + maven-reactor + 1.0-SNAPSHOT + + + + com.baeldung + patient-domain + 1.0-SNAPSHOT + + \ No newline at end of file diff --git a/maven-modules/maven-reactor/patient-domain/pom.xml b/maven-modules/maven-reactor/patient-domain/pom.xml index 5cb5abe81e..62e7b8ca50 100644 --- a/maven-modules/maven-reactor/patient-domain/pom.xml +++ b/maven-modules/maven-reactor/patient-domain/pom.xml @@ -1,13 +1,13 @@ - 4.0.0 - patient-domain - patient-domain - - com.baeldung - maven-reactor - 1.0-SNAPSHOT - + 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 + patient-domain + patient-domain + + com.baeldung + maven-reactor + 1.0-SNAPSHOT + \ No newline at end of file diff --git a/maven-modules/maven-reactor/patient-web/pom.xml b/maven-modules/maven-reactor/patient-web/pom.xml index 68d797ec63..9d2ddd819d 100644 --- a/maven-modules/maven-reactor/patient-web/pom.xml +++ b/maven-modules/maven-reactor/patient-web/pom.xml @@ -1,27 +1,27 @@ - 4.0.0 - patient-web - 1.0-SNAPSHOT - patient-web - - com.baeldung - maven-reactor + 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 + patient-web 1.0-SNAPSHOT - - - - com.baeldung - patient-data - 1.0-SNAPSHOT - - - com.baeldung - patient-domain - 1.0-SNAPSHOT - - + patient-web + + com.baeldung + maven-reactor + 1.0-SNAPSHOT + + + + com.baeldung + patient-data + 1.0-SNAPSHOT + + + com.baeldung + patient-domain + 1.0-SNAPSHOT + + \ No newline at end of file diff --git a/maven-modules/maven-reactor/pom.xml b/maven-modules/maven-reactor/pom.xml index a41fbd7374..ac21b6170c 100644 --- a/maven-modules/maven-reactor/pom.xml +++ b/maven-modules/maven-reactor/pom.xml @@ -1,22 +1,22 @@ - 4.0.0 - maven-reactor - 1.0-SNAPSHOT - maven-reactor - pom - Sample multi-module project to explain maven reactor - - com.baeldung - maven-modules - 0.0.1-SNAPSHOT - - - patient-web - patient-data - patient-domain - + 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-reactor + 1.0-SNAPSHOT + maven-reactor + pom + Sample multi-module project to explain maven reactor + + com.baeldung + maven-modules + 0.0.1-SNAPSHOT + + + patient-web + patient-data + patient-domain + \ No newline at end of file diff --git a/messaging-modules/spring-apache-camel/pom.xml b/messaging-modules/spring-apache-camel/pom.xml index 65533d7649..c64d84efdc 100644 --- a/messaging-modules/spring-apache-camel/pom.xml +++ b/messaging-modules/spring-apache-camel/pom.xml @@ -85,7 +85,7 @@ 3.15.0 - + spring-boot diff --git a/microservices-modules/micronaut/pom.xml b/microservices-modules/micronaut/pom.xml index 2cc91bc510..716b5497d8 100644 --- a/microservices-modules/micronaut/pom.xml +++ b/microservices-modules/micronaut/pom.xml @@ -90,7 +90,7 @@ ${exec.mainClass} + implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> @@ -103,7 +103,7 @@ java -classpath - + ${exec.mainClass} diff --git a/microservices-modules/rest-express/pom.xml b/microservices-modules/rest-express/pom.xml index eda27ec164..e92607aec7 100644 --- a/microservices-modules/rest-express/pom.xml +++ b/microservices-modules/rest-express/pom.xml @@ -1,6 +1,7 @@ - + microservices-modules com.baeldung @@ -115,7 +116,7 @@ + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> com.baeldung.restexpress.Main