From 39352f251d3e1b00f7b62ba6680ce55cac3097cf Mon Sep 17 00:00:00 2001 From: sampadawagde Date: Thu, 13 May 2021 22:47:40 +0530 Subject: [PATCH] JAVA-5223: Fix formatting of POMs (Spring Boot Modules - Part 3) --- spring-boot-modules/pom.xml | 11 ++-- .../spring-boot-properties-2/pom.xml | 19 ++++--- .../spring-boot-properties-3/pom.xml | 17 +++--- .../spring-boot-properties/pom.xml | 15 +++--- .../spring-boot-property-exp/pom.xml | 7 +-- .../property-exp-custom-config/pom.xml | 7 +-- .../property-exp-default-config/pom.xml | 7 +-- spring-boot-modules/spring-boot-react/pom.xml | 32 +++++------- .../spring-boot-runtime-2/pom.xml | 17 +++--- .../spring-boot-runtime/pom.xml | 33 +++--------- .../spring-boot-security/pom.xml | 20 +++---- .../spring-boot-springdoc/pom.xml | 52 ++++++++----------- .../spring-boot-swagger-jwt/pom.xml | 15 +++--- .../spring-boot-swagger/pom.xml | 15 +++--- .../spring-boot-testing/pom.xml | 24 +++------ spring-boot-modules/spring-boot-vue/pom.xml | 21 ++++---- spring-boot-modules/spring-boot-xml/pom.xml | 11 ++-- 17 files changed, 133 insertions(+), 190 deletions(-) diff --git a/spring-boot-modules/pom.xml b/spring-boot-modules/pom.xml index 90be832f2c..7c94d5b7d7 100644 --- a/spring-boot-modules/pom.xml +++ b/spring-boot-modules/pom.xml @@ -1,13 +1,12 @@ - + 4.0.0 - com.baeldung.spring-boot-modules spring-boot-modules 1.0.0-SNAPSHOT pom - spring-boot-modules @@ -77,7 +76,6 @@ spring-boot-react - @@ -112,4 +110,5 @@ 5.6.2 2.22.2 - + + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-properties-2/pom.xml b/spring-boot-modules/spring-boot-properties-2/pom.xml index e777b8f318..62f23da450 100644 --- a/spring-boot-modules/spring-boot-properties-2/pom.xml +++ b/spring-boot-modules/spring-boot-properties-2/pom.xml @@ -1,7 +1,13 @@ - + 4.0.0 + spring-boot-properties-2 + jar + 0.0.1-SNAPSHOT + spring-boot-properties-2 + Spring Boot Properties Module com.baeldung.spring-boot-modules @@ -10,13 +16,6 @@ ../ - spring-boot-properties-2 - jar - 0.0.1-SNAPSHOT - - spring-boot-properties-2 - Spring Boot Properties Module - org.springframework.boot @@ -28,4 +27,4 @@ - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-properties-3/pom.xml b/spring-boot-modules/spring-boot-properties-3/pom.xml index 33799b557d..400229a662 100644 --- a/spring-boot-modules/spring-boot-properties-3/pom.xml +++ b/spring-boot-modules/spring-boot-properties-3/pom.xml @@ -1,7 +1,13 @@ - + 4.0.0 + spring-boot-properties-3 + 0.0.1-SNAPSHOT + spring-boot-properties-3 + Spring Boot Properties Module + com.baeldung.spring-boot-modules spring-boot-modules @@ -9,11 +15,6 @@ ../ - spring-boot-properties-3 - 0.0.1-SNAPSHOT - spring-boot-properties-3 - Spring Boot Properties Module - org.springframework.boot @@ -39,4 +40,4 @@ - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-properties/pom.xml b/spring-boot-modules/spring-boot-properties/pom.xml index 0a7d8a8cbf..adeb41e976 100644 --- a/spring-boot-modules/spring-boot-properties/pom.xml +++ b/spring-boot-modules/spring-boot-properties/pom.xml @@ -3,6 +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 + spring-boot-properties + jar + 0.0.1-SNAPSHOT + spring-boot-properties + Spring Boot Properties Module com.baeldung.spring-boot-modules @@ -11,13 +16,6 @@ ../ - spring-boot-properties - jar - 0.0.1-SNAPSHOT - - spring-boot-properties - Spring Boot Properties Module - commons-configuration @@ -76,7 +74,6 @@ true - org.apache.maven.plugins @@ -142,4 +139,4 @@ com.baeldung.yaml.MyApplication - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-property-exp/pom.xml b/spring-boot-modules/spring-boot-property-exp/pom.xml index 2da25fca31..0d55a531c0 100644 --- a/spring-boot-modules/spring-boot-property-exp/pom.xml +++ b/spring-boot-modules/spring-boot-property-exp/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 spring-boot-property-exp spring-boot-property-exp @@ -18,4 +19,4 @@ property-exp-custom-config - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/pom.xml b/spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/pom.xml index 07aeca9ad2..08fd911e6a 100644 --- a/spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/pom.xml +++ b/spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 property-exp-custom-config 0.0.1-SNAPSHOT @@ -81,4 +82,4 @@ 2.7 - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-property-exp/property-exp-default-config/pom.xml b/spring-boot-modules/spring-boot-property-exp/property-exp-default-config/pom.xml index 79e194a3b5..496004b0e2 100644 --- a/spring-boot-modules/spring-boot-property-exp/property-exp-default-config/pom.xml +++ b/spring-boot-modules/spring-boot-property-exp/property-exp-default-config/pom.xml @@ -1,6 +1,7 @@ - + 4.0.0 property-exp-default-config 0.0.1-SNAPSHOT @@ -37,4 +38,4 @@ Custom Property Value - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-react/pom.xml b/spring-boot-modules/spring-boot-react/pom.xml index 157ec65b35..f1e10ae12d 100644 --- a/spring-boot-modules/spring-boot-react/pom.xml +++ b/spring-boot-modules/spring-boot-react/pom.xml @@ -1,7 +1,9 @@ + 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 + spring-boot-react spring-boot-modules @@ -9,44 +11,28 @@ 1.0.0-SNAPSHOT - 4.0.0 - - spring-boot-react - - - 11 - 11 - 1.6 - v10.14.2 - v1.12.1 - - org.springframework.boot spring-boot-starter-web 2.4.4 - org.springframework.boot spring-boot-starter-data-jpa 2.4.4 - com.h2database h2 1.4.200 runtime - com.github.javafaker javafaker 1.0.2 - org.springframework.boot spring-boot-starter-test @@ -128,13 +114,19 @@ - org.springframework.boot spring-boot-maven-plugin - + + 11 + 11 + 1.6 + v10.14.2 + v1.12.1 + + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-runtime-2/pom.xml b/spring-boot-modules/spring-boot-runtime-2/pom.xml index 8f6351165a..2c97f63746 100644 --- a/spring-boot-modules/spring-boot-runtime-2/pom.xml +++ b/spring-boot-modules/spring-boot-runtime-2/pom.xml @@ -1,7 +1,12 @@ - 4.0.0 + spring-boot-runtime-2 + jar + spring-boot-runtime-2 + Demo project for Spring Boot com.baeldung.spring-boot-modules @@ -10,19 +15,11 @@ ../ - spring-boot-runtime-2 - jar - - spring-boot-runtime-2 - Demo project for Spring Boot - - org.springframework.boot spring-boot-starter-web - org.springframework.boot spring-boot-starter-test @@ -63,4 +60,4 @@ - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-runtime/pom.xml b/spring-boot-modules/spring-boot-runtime/pom.xml index 54bae61520..92b1458cf6 100644 --- a/spring-boot-modules/spring-boot-runtime/pom.xml +++ b/spring-boot-modules/spring-boot-runtime/pom.xml @@ -1,7 +1,12 @@ - + 4.0.0 + spring-boot-runtime + jar + spring-boot-runtime + Demo project for Spring Boot Runtime com.baeldung.spring-boot-modules @@ -10,103 +15,81 @@ ../ - spring-boot-runtime - jar - - spring-boot-runtime - Demo project for Spring Boot Runtime - org.springframework.boot spring-boot-starter-web - org.springframework.boot spring-boot-starter-validation - org.springframework.boot spring-boot-starter-thymeleaf provided - org.springframework.boot spring-boot-starter-data-jpa - org.springframework.boot spring-boot-starter-mail - org.springframework.boot spring-boot-starter-actuator - org.springframework.boot spring-boot-starter-security - org.springframework.cloud spring-cloud-starter ${springcloud.version} - org.springframework.boot spring-boot-starter-test test - commons-io commons-io ${commons-io.version} - org.springframework.security spring-security-test - com.h2database h2 runtime - javax.persistence javax.persistence-api ${jpa.version} - com.google.guava guava ${guava.version} - org.subethamail subethasmtp ${subethasmtp.version} test - org.apache.httpcomponents httpclient ${httpclient.version} - @@ -117,4 +100,4 @@ 4.5.8 - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-security/pom.xml b/spring-boot-modules/spring-boot-security/pom.xml index 3f8d2ff73f..11e5a38eeb 100644 --- a/spring-boot-modules/spring-boot-security/pom.xml +++ b/spring-boot-modules/spring-boot-security/pom.xml @@ -1,7 +1,12 @@ - + 4.0.0 + spring-boot-security + jar + spring-boot-security + Spring Boot Security Auto-Configuration com.baeldung.spring-boot-modules @@ -10,12 +15,6 @@ ../ - spring-boot-security - jar - - spring-boot-security - Spring Boot Security Auto-Configuration - org.springframework.boot @@ -40,13 +39,11 @@ org.springframework.boot spring-boot-starter-web - org.springframework.security spring-security-taglibs - org.apache.tomcat.embed @@ -57,7 +54,6 @@ javax.servlet jstl - org.springframework.boot spring-boot-starter-test @@ -89,4 +85,4 @@ 2.2.2.RELEASE - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-springdoc/pom.xml b/spring-boot-modules/spring-boot-springdoc/pom.xml index 8442504fed..892fbfe4ca 100644 --- a/spring-boot-modules/spring-boot-springdoc/pom.xml +++ b/spring-boot-modules/spring-boot-springdoc/pom.xml @@ -1,9 +1,13 @@ - 4.0.0 + spring-boot-springdoc + 0.0.1-SNAPSHOT + jar + spring-boot-springdoc + Project for Springdoc integration com.baeldung.spring-boot-modules @@ -12,13 +16,6 @@ ../ - spring-boot-springdoc - 0.0.1-SNAPSHOT - jar - - spring-boot-springdoc - Project for Springdoc integration - org.springframework.boot @@ -36,19 +33,16 @@ com.h2database h2 - org.springframework.boot spring-boot-starter-test test - - + org.hibernate hibernate-core ${hibernate.version} - org.springdoc @@ -59,10 +53,9 @@ org.springdoc springdoc-openapi-data-rest ${springdoc.version} - - - - + + + org.springframework.restdocs spring-restdocs-mockmvc test @@ -71,8 +64,7 @@ org.springframework.restdocs spring-restdocs-restassured test - - + org.springdoc @@ -119,8 +111,8 @@ - - + + kotlin-maven-plugin org.jetbrains.kotlin ${kotlin.version} @@ -162,20 +154,12 @@ application.properties data.sql - schema.sql + schema.sql - - 5.2.10.Final - 1.5.2 - 1.5.6 - 1.4.0 - ${project.build.directory}/generated-snippets - - integration @@ -223,4 +207,12 @@ + + 5.2.10.Final + 1.5.2 + 1.5.6 + 1.4.0 + ${project.build.directory}/generated-snippets + + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-swagger-jwt/pom.xml b/spring-boot-modules/spring-boot-swagger-jwt/pom.xml index 6ee7db2ac9..c296b06388 100644 --- a/spring-boot-modules/spring-boot-swagger-jwt/pom.xml +++ b/spring-boot-modules/spring-boot-swagger-jwt/pom.xml @@ -3,6 +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 + spring-boot-swagger-jwt + 0.1.0-SNAPSHOT + spring-boot-swagger-jwt + jar + Module For Spring Boot Swagger UI com.baeldung.spring-boot-modules @@ -10,13 +15,7 @@ 1.0.0-SNAPSHOT ../ - - spring-boot-swagger-jwt - 0.1.0-SNAPSHOT - spring-boot-swagger-jwt - jar - - Module For Spring Boot Swagger UI + org.springframework.boot @@ -42,4 +41,4 @@ 3.0.0 - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-swagger/pom.xml b/spring-boot-modules/spring-boot-swagger/pom.xml index 2d80cae4d5..a9d8a943e4 100644 --- a/spring-boot-modules/spring-boot-swagger/pom.xml +++ b/spring-boot-modules/spring-boot-swagger/pom.xml @@ -3,6 +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 + spring-boot-swagger + 0.1.0-SNAPSHOT + spring-boot-swagger + jar + Module For Spring Boot Swagger com.baeldung.spring-boot-modules @@ -10,13 +15,7 @@ 1.0.0-SNAPSHOT ../ - - spring-boot-swagger - 0.1.0-SNAPSHOT - spring-boot-swagger - jar - - Module For Spring Boot Swagger + org.springframework.boot @@ -42,4 +41,4 @@ 3.0.0 - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-testing/pom.xml b/spring-boot-modules/spring-boot-testing/pom.xml index 50a1ace2fa..1860818b7b 100644 --- a/spring-boot-modules/spring-boot-testing/pom.xml +++ b/spring-boot-modules/spring-boot-testing/pom.xml @@ -1,8 +1,12 @@ + 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 + spring-boot-testing + war + spring-boot-testing + This is simple boot application for demonstrating testing features. com.baeldung.spring-boot-modules @@ -11,12 +15,6 @@ ../ - spring-boot-testing - war - - spring-boot-testing - This is simple boot application for demonstrating testing features. - org.springframework.boot @@ -62,7 +60,6 @@ - it.ozimov @@ -77,20 +74,17 @@ ${spock.version} test - org.spockframework spock-spring ${spock.version} test - io.rest-assured rest-assured test - @@ -101,14 +95,11 @@ true - - org.apache.maven.plugins maven-war-plugin - pl.project13.maven git-commit-id-plugin @@ -134,7 +125,6 @@ ${project.build.outputDirectory}/git.properties - org.codehaus.gmavenplus gmavenplus-plugin @@ -159,4 +149,4 @@ 0.7.2 - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-vue/pom.xml b/spring-boot-modules/spring-boot-vue/pom.xml index 9973246115..3d3d51797c 100644 --- a/spring-boot-modules/spring-boot-vue/pom.xml +++ b/spring-boot-modules/spring-boot-vue/pom.xml @@ -1,7 +1,13 @@ - + 4.0.0 + spring-boot-vue + 0.0.1-SNAPSHOT + jar + spring-boot-vue + Demo project for Spring Boot Vue project com.baeldung.spring-boot-modules @@ -10,25 +16,16 @@ ../ - spring-boot-vue - 0.0.1-SNAPSHOT - jar - - spring-boot-vue - Demo project for Spring Boot Vue project - org.springframework.boot spring-boot-starter-web - org.springframework.boot spring-boot-starter-test test - org.springframework.boot @@ -45,4 +42,4 @@ - + \ No newline at end of file diff --git a/spring-boot-modules/spring-boot-xml/pom.xml b/spring-boot-modules/spring-boot-xml/pom.xml index e1ddd8f437..b3fd343e4f 100644 --- a/spring-boot-modules/spring-boot-xml/pom.xml +++ b/spring-boot-modules/spring-boot-xml/pom.xml @@ -1,7 +1,10 @@ + 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 + spring-boot-xml + parent-boot-2 com.baeldung @@ -9,10 +12,6 @@ ../../parent-boot-2 - 4.0.0 - - spring-boot-xml - org.springframework.boot