From 1a53db30c97d55d27cc494b6884639250c7d9e40 Mon Sep 17 00:00:00 2001 From: sampadawagde Date: Sun, 9 May 2021 16:26:44 +0530 Subject: [PATCH] JAVA-5223: Fix formatting of POMs (Part 8) --- jee-7-security/pom.xml | 7 +- jee-7/pom.xml | 19 ++--- jersey/pom.xml | 7 +- jgit/pom.xml | 5 +- jgroups/pom.xml | 7 +- jib/pom.xml | 7 +- jjwt/pom.xml | 12 +-- jmeter/pom.xml | 8 +- jmh/pom.xml | 6 +- jooby/pom.xml | 7 +- jsf/pom.xml | 6 +- json-2/pom.xml | 89 ++++++++++---------- json-path/pom.xml | 6 +- json/pom.xml | 7 +- jsoup/pom.xml | 7 +- jta/pom.xml | 7 +- kubernetes/k8s-intro/pom.xml | 7 +- kubernetes/pom.xml | 10 ++- language-interop/pom.xml | 2 +- libraries-2/pom.xml | 7 +- libraries-3/pom.xml | 26 +++--- libraries-apache-commons-collections/pom.xml | 7 +- libraries-apache-commons-io/pom.xml | 7 +- libraries-apache-commons/pom.xml | 7 +- libraries-data-2/pom.xml | 8 +- libraries-data-db/pom.xml | 44 +++++----- libraries-data-io/pom.xml | 4 +- libraries-data/pom.xml | 11 ++- libraries-http/pom.xml | 16 +--- libraries-io/pom.xml | 6 +- libraries-primitive/pom.xml | 4 +- libraries-rpc/pom.xml | 29 +++---- libraries-server-2/pom.xml | 7 +- libraries-testing/pom.xml | 11 +-- 34 files changed, 204 insertions(+), 216 deletions(-) diff --git a/jee-7-security/pom.xml b/jee-7-security/pom.xml index e47df7aae9..a8ceee8704 100644 --- a/jee-7-security/pom.xml +++ b/jee-7-security/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jee-7-security 1.0-SNAPSHOT @@ -58,4 +59,4 @@ 1.0-pr - + \ No newline at end of file diff --git a/jee-7/pom.xml b/jee-7/pom.xml index 48814e6d2f..b68c8b9801 100644 --- a/jee-7/pom.xml +++ b/jee-7/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 jee-7 1.0-SNAPSHOT @@ -41,7 +41,6 @@ ${javaee_api.version} provided - org.jboss.arquillian.junit arquillian-junit-container @@ -60,14 +59,12 @@ ${awaitility.version} test - org.jboss.shrinkwrap.resolver shrinkwrap-resolver-impl-maven test jar - org.jboss.shrinkwrap.resolver shrinkwrap-resolver-impl-maven-archive @@ -114,7 +111,6 @@ standard ${taglibs.standard.version} - javax.mvc javax.mvc-api @@ -125,13 +121,11 @@ ozark ${ozark.version} - org.springframework.security spring-security-web ${org.springframework.security.version} - org.springframework.security spring-security-config @@ -143,7 +137,6 @@ ${org.springframework.security.version} - org.jboss.spec.javax.batch jboss-batch-api_1.0_spec @@ -210,8 +203,8 @@ - + org.eclipse.m2e lifecycle-mapping @@ -242,7 +235,7 @@ - + org.codehaus.mojo jaxws-maven-plugin @@ -539,4 +532,4 @@ 2.22.1 - + \ No newline at end of file diff --git a/jersey/pom.xml b/jersey/pom.xml index 065e2230a2..9f57179065 100644 --- a/jersey/pom.xml +++ b/jersey/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jersey 0.0.1-SNAPSHOT @@ -97,4 +98,4 @@ 2.26 - + \ No newline at end of file diff --git a/jgit/pom.xml b/jgit/pom.xml index d960843868..ca58709583 100644 --- a/jgit/pom.xml +++ b/jgit/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jgit 1.0-SNAPSHOT diff --git a/jgroups/pom.xml b/jgroups/pom.xml index 494de2fb4f..370d8a349a 100644 --- a/jgroups/pom.xml +++ b/jgroups/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jgroups 0.1-SNAPSHOT @@ -31,4 +32,4 @@ 4.0.10.Final - + \ No newline at end of file diff --git a/jib/pom.xml b/jib/pom.xml index 15e7e44e7c..8208eebdf7 100644 --- a/jib/pom.xml +++ b/jib/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jib 0.1-SNAPSHOT @@ -42,4 +43,4 @@ 2.5.0 - + \ No newline at end of file diff --git a/jjwt/pom.xml b/jjwt/pom.xml index 9d38d1b0e9..4c194f9285 100644 --- a/jjwt/pom.xml +++ b/jjwt/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 io.jsonwebtoken jjwt @@ -20,28 +21,23 @@ org.springframework.boot spring-boot-devtools - org.springframework.boot spring-boot-starter-thymeleaf - org.springframework.boot spring-boot-starter-security - org.springframework.boot spring-boot-starter-web - io.jsonwebtoken jjwt ${jjwt.version} - org.assertj assertj-core @@ -53,4 +49,4 @@ 0.7.0 - + \ No newline at end of file diff --git a/jmeter/pom.xml b/jmeter/pom.xml index e2830baef5..199d95e0d6 100644 --- a/jmeter/pom.xml +++ b/jmeter/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jmeter jmeter @@ -40,7 +41,6 @@ org.springframework.boot spring-boot-maven-plugin - com.lazerycode.jmeter jmeter-maven-plugin @@ -65,4 +65,4 @@ 2.6.0 - + \ No newline at end of file diff --git a/jmh/pom.xml b/jmh/pom.xml index ecee66f410..61f62efd5a 100644 --- a/jmh/pom.xml +++ b/jmh/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jmh 1.0-SNAPSHOT @@ -47,7 +48,6 @@ - org.apache.maven.plugins maven-assembly-plugin diff --git a/jooby/pom.xml b/jooby/pom.xml index fe26f9a4c6..f972a22e9c 100644 --- a/jooby/pom.xml +++ b/jooby/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 com.baeldung.jooby jooby @@ -60,4 +61,4 @@ 2.4.3 - + \ No newline at end of file diff --git a/jsf/pom.xml b/jsf/pom.xml index dc110b9fd5..88099ef9c4 100644 --- a/jsf/pom.xml +++ b/jsf/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jsf 0.1-SNAPSHOT @@ -66,7 +67,6 @@ 4.3.4.RELEASE - 2.2.14 3.0.0 diff --git a/json-2/pom.xml b/json-2/pom.xml index e27d1c83f6..fbae40b6a3 100644 --- a/json-2/pom.xml +++ b/json-2/pom.xml @@ -1,7 +1,8 @@ + 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 json-2 0.0.1-SNAPSHOT @@ -11,7 +12,6 @@ com.baeldung 1.0.0-SNAPSHOT - 4.0.0 @@ -19,21 +19,18 @@ jsoniter ${jsoniter.version} - junit junit ${junit.version} test - org.assertj assertj-core ${assertj-core.version} test - com.squareup.moshi moshi @@ -110,46 +107,50 @@ + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + + + maven-pmd-plugin + + + [3.13.0,) + + + check + + + + + + + + + + + + + + 0.9.23 3.11.1 1.9.2 - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - - org.apache.maven.plugins - - - maven-pmd-plugin - - - [3.13.0,) - - - check - - - - - - - - - - - - - - + + \ No newline at end of file diff --git a/json-path/pom.xml b/json-path/pom.xml index 8756ffee7b..b4577ec15f 100644 --- a/json-path/pom.xml +++ b/json-path/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 json-path 0.0.1-SNAPSHOT @@ -25,4 +26,5 @@ 2.4.0 + \ No newline at end of file diff --git a/json/pom.xml b/json/pom.xml index bd901b526e..260b2d1ad9 100644 --- a/json/pom.xml +++ b/json/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 org.baeldung json @@ -87,4 +88,4 @@ 3.11.1 - + \ No newline at end of file diff --git a/jsoup/pom.xml b/jsoup/pom.xml index d2b59476f3..44f8f996f5 100644 --- a/jsoup/pom.xml +++ b/jsoup/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jsoup jsoup @@ -24,4 +25,4 @@ 1.10.2 - + \ No newline at end of file diff --git a/jta/pom.xml b/jta/pom.xml index 8f90f74d43..b8b5570226 100644 --- a/jta/pom.xml +++ b/jta/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 jta 1.0-SNAPSHOT @@ -35,4 +36,4 @@ - + \ No newline at end of file diff --git a/kubernetes/k8s-intro/pom.xml b/kubernetes/k8s-intro/pom.xml index 5b4867d0df..61722cb2c8 100644 --- a/kubernetes/k8s-intro/pom.xml +++ b/kubernetes/k8s-intro/pom.xml @@ -2,13 +2,14 @@ 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-intro + 0.0.1-SNAPSHOT + com.baeldung kubernetes 1.0.0-SNAPSHOT - k8s-intro - 0.0.1-SNAPSHOT @@ -16,7 +17,6 @@ client-java 11.0.0 - ch.qos.logback logback-classic @@ -38,4 +38,5 @@ + \ No newline at end of file diff --git a/kubernetes/pom.xml b/kubernetes/pom.xml index aea3dea47e..72cb1577a4 100644 --- a/kubernetes/pom.xml +++ b/kubernetes/pom.xml @@ -1,12 +1,16 @@ - + 4.0.0 + kubernetes + pom + com.baeldung parent-modules 1.0.0-SNAPSHOT - kubernetes - pom + k8s-intro diff --git a/language-interop/pom.xml b/language-interop/pom.xml index bdf872a076..f2b0a08969 100644 --- a/language-interop/pom.xml +++ b/language-interop/pom.xml @@ -52,4 +52,4 @@ 3.6.1 - + \ No newline at end of file diff --git a/libraries-2/pom.xml b/libraries-2/pom.xml index 3aa36c3f90..28a7fb62fd 100644 --- a/libraries-2/pom.xml +++ b/libraries-2/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-2 libraries-2 @@ -75,7 +75,6 @@ - edu.uci.ics crawler4j @@ -136,4 +135,4 @@ 2.5.0 - + \ No newline at end of file diff --git a/libraries-3/pom.xml b/libraries-3/pom.xml index 3d3b5db890..079628ffaa 100644 --- a/libraries-3/pom.xml +++ b/libraries-3/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-3 libraries-3 @@ -70,7 +70,7 @@ velocity-engine-core ${velocity-engine-core.version} - + com.uber.nullaway nullaway ${nullaway.version} @@ -80,8 +80,7 @@ plexus-compiler-javac-errorprone ${plexus-compiler.version} - + com.google.errorprone error_prone_core @@ -123,7 +122,7 @@ - + org.apache.maven.plugins maven-compiler-plugin 3.5 @@ -141,7 +140,8 @@ - + -XepExcludedPaths:(.*)/test/.*|(.*)/jcabi/.* -XepOpt:NullAway:AnnotatedPackages=com.baeldung.nullaway @@ -153,8 +153,8 @@ plexus-compiler-javac-errorprone 2.8 - + com.google.errorprone error_prone_core @@ -170,7 +170,7 @@ - + reload @@ -210,11 +210,10 @@ - + 1.78 1.18.6 - 0.43 2.7.2 1.2.3.Final @@ -223,7 +222,6 @@ 0.14.1 1.9.2 1.9.2 - 1.19 4.4.13 4.5.12 @@ -232,4 +230,4 @@ 2.8 2.1.3 - + \ No newline at end of file diff --git a/libraries-apache-commons-collections/pom.xml b/libraries-apache-commons-collections/pom.xml index 2209874c66..e2805552e3 100644 --- a/libraries-apache-commons-collections/pom.xml +++ b/libraries-apache-commons-collections/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 libraries-apache-commons-collections libraries-apache-commons-collections @@ -37,4 +38,4 @@ 2.0.0.0 - + \ No newline at end of file diff --git a/libraries-apache-commons-io/pom.xml b/libraries-apache-commons-io/pom.xml index 21f3f16cd3..5d0ed20abf 100644 --- a/libraries-apache-commons-io/pom.xml +++ b/libraries-apache-commons-io/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 libraries-apache-commons-io libraries-apache-commons-io @@ -28,4 +29,4 @@ 1.4 - + \ No newline at end of file diff --git a/libraries-apache-commons/pom.xml b/libraries-apache-commons/pom.xml index 08dddac880..8fa55c1b0e 100644 --- a/libraries-apache-commons/pom.xml +++ b/libraries-apache-commons/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 libraries-apache-commons libraries-apache-commons @@ -75,4 +76,4 @@ 2.5 - + \ No newline at end of file diff --git a/libraries-data-2/pom.xml b/libraries-data-2/pom.xml index 0154823cca..1feb3142ee 100644 --- a/libraries-data-2/pom.xml +++ b/libraries-data-2/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-2 libraries-data-2 @@ -142,7 +142,7 @@ net.bytebuddy byte-buddy ${byte-buddy.version} - test + test org.apache.kafka @@ -168,7 +168,7 @@ 0.1.0 1.0.3 9.1.5.Final - + 4.3.8.RELEASE 4.0.0 1.1.0 diff --git a/libraries-data-db/pom.xml b/libraries-data-db/pom.xml index 01e078d18d..20119da8a2 100644 --- a/libraries-data-db/pom.xml +++ b/libraries-data-db/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-db libraries-data-db @@ -84,7 +84,6 @@ - io.debezium @@ -107,38 +106,32 @@ debezium-connector-mysql ${debezium.version} - org.testcontainers testcontainers ${testcontainers-version} - org.testcontainers mysql ${testcontainers-version} - - + org.springframework.boot spring-boot-starter-web - org.springframework.boot spring-boot-starter-data-jpa - mysql mysql-connector-java - - + org.projectlombok lombok @@ -161,16 +154,25 @@ - - - + + + - - + + - + @@ -181,7 +183,6 @@ reladomogen ${reladomo.version} - com.goldmansachs.reladomo reladomo-gen-util @@ -223,7 +224,6 @@ - org.datanucleus @@ -283,4 +283,4 @@ 1.15.3 - + \ No newline at end of file diff --git a/libraries-data-io/pom.xml b/libraries-data-io/pom.xml index e15e188d10..58bfde9aa0 100644 --- a/libraries-data-io/pom.xml +++ b/libraries-data-io/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-io libraries-data-io diff --git a/libraries-data/pom.xml b/libraries-data/pom.xml index 5adb490e96..3c6bedba90 100644 --- a/libraries-data/pom.xml +++ b/libraries-data/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 libraries-data libraries-data @@ -57,8 +58,7 @@ hazelcast ${hazelcast.version} - - + org.apache.crunch crunch-core @@ -70,7 +70,6 @@ ${org.apache.hadoop.hadoop-client} provided - commons-cli commons-cli @@ -179,4 +178,4 @@ 1.6.0.1 - + \ No newline at end of file diff --git a/libraries-http/pom.xml b/libraries-http/pom.xml index 257cb988d6..8eb6142c38 100644 --- a/libraries-http/pom.xml +++ b/libraries-http/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-http libraries-http @@ -18,14 +18,12 @@ assertj-core ${assertj.version} - com.squareup.okhttp3 okhttp ${com.squareup.okhttp3.version} - com.google.http-client @@ -37,7 +35,6 @@ google-http-client-jackson2 ${googleclient.version} - com.squareup.retrofit2 @@ -54,33 +51,28 @@ adapter-rxjava ${retrofit.version} - org.asynchttpclient async-http-client ${async.http.client.version} - com.fasterxml.jackson.core jackson-databind ${jackson.version} - com.google.code.gson gson ${gson.version} - com.squareup.okhttp3 mockwebserver ${com.squareup.okhttp3.version} test - com.mashape.unirest unirest-java @@ -118,7 +110,7 @@ 2.8.5 4.5.3 - + 3.6.2 4.9.1 1.23.0 @@ -129,4 +121,4 @@ 3.9.0 - + \ No newline at end of file diff --git a/libraries-io/pom.xml b/libraries-io/pom.xml index 8c2e841630..2f65fd989b 100644 --- a/libraries-io/pom.xml +++ b/libraries-io/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-io libraries-io @@ -38,4 +38,4 @@ 2.4 - + \ No newline at end of file diff --git a/libraries-primitive/pom.xml b/libraries-primitive/pom.xml index a3bf5e0d9d..06c42bd6c9 100644 --- a/libraries-primitive/pom.xml +++ b/libraries-primitive/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 com.baeldung libraries-primitive diff --git a/libraries-rpc/pom.xml b/libraries-rpc/pom.xml index 8741a41062..ab6b74ae84 100644 --- a/libraries-rpc/pom.xml +++ b/libraries-rpc/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 libraries-rpc libraries-rpc @@ -13,17 +14,16 @@ - - com.twitter - finagle-core_2.13 - ${finagle.core.version} - - - com.twitter - finagle-http_2.13 - ${finagle.http.version} - - + + com.twitter + finagle-core_2.13 + ${finagle.core.version} + + + com.twitter + finagle-http_2.13 + ${finagle.http.version} + @@ -31,5 +31,4 @@ 20.4.0 - - + \ No newline at end of file diff --git a/libraries-server-2/pom.xml b/libraries-server-2/pom.xml index 5f500a7ced..7377fa3fa9 100644 --- a/libraries-server-2/pom.xml +++ b/libraries-server-2/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 libraries-server-2 0.0.1-SNAPSHOT @@ -30,7 +31,7 @@ ${jetty.version} - + diff --git a/libraries-testing/pom.xml b/libraries-testing/pom.xml index 8052680ea5..6d7e0c01e1 100644 --- a/libraries-testing/pom.xml +++ b/libraries-testing/pom.xml @@ -129,47 +129,40 @@ asciidoctor-maven-plugin ${asciidoctor.version} - org.dbunit dbunit ${dbunit.version} test - com.h2database h2 ${h2.version} test - org.assertj assertj-core ${assertj-core.version} test - net.bytebuddy byte-buddy ${byte-buddy.version} test - com.tngtech.archunit archunit-junit5 ${archunit.version} test - - net.serenity-bdd.maven.plugins serenity-maven-plugin @@ -184,7 +177,6 @@ - org.apache.maven.plugins maven-compiler-plugin @@ -194,7 +186,6 @@ ${maven-compiler-plugin.target} - @@ -220,4 +211,4 @@ 0.14.1 - + \ No newline at end of file