From 2e093eae0832854801822c3e364d191d8938e461 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 14:26:42 +0800 Subject: [PATCH 01/14] initiate converting to maven multi-module structure --- .spotless-index | 2 - lombok.config | 2 +- pom.xml | 312 +---------------- starter-mvc-core/.spotless-index | 3 + README.md => starter-mvc-core/README.md | 0 starter-mvc-core/pom.xml | 320 ++++++++++++++++++ .../SpringBootMvnStarterApplication.java | 0 .../main/resources/application.properties | 0 .../SpringBootMvnStarterApplicationTests.java | 6 +- 9 files changed, 330 insertions(+), 315 deletions(-) delete mode 100644 .spotless-index create mode 100644 starter-mvc-core/.spotless-index rename README.md => starter-mvc-core/README.md (100%) create mode 100644 starter-mvc-core/pom.xml rename {src => starter-mvc-core/src}/main/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplication.java (100%) rename {src => starter-mvc-core/src}/main/resources/application.properties (100%) rename {src => starter-mvc-core/src}/test/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplicationTests.java (84%) diff --git a/.spotless-index b/.spotless-index deleted file mode 100644 index cda6a02..0000000 --- a/.spotless-index +++ /dev/null @@ -1,2 +0,0 @@ -wXDLF0Jq0sISoWSjqXON/tq6Po1H0PYCi/kf2RxjJ4E= -src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-10-02T16:25:55.793452800Z diff --git a/lombok.config b/lombok.config index 11f9079..3a53ecd 100644 --- a/lombok.config +++ b/lombok.config @@ -5,4 +5,4 @@ lombok.addLombokGeneratedAnnotation=true # helps JSON/XML frameworks such as Jackson lombok.anyConstructor.addConstructorProperties=true # helps SpotBugs ignore code generated by Lombok -lombok.extern.findbugs.addSuppressFBWarnings=true \ No newline at end of file +# lombok.extern.findbugs.addSuppressFBWarnings=true diff --git a/pom.xml b/pom.xml index 96096b1..a94e8bc 100644 --- a/pom.xml +++ b/pom.xml @@ -1,320 +1,16 @@ 4.0.0 - - org.springframework.boot - spring-boot-starter-parent - 2.7.4 - - com.bwgjoseph spring-boot-mvn-starter 0.0.1-SNAPSHOT spring-boot-mvn-starter + pom Spring Boot Maven Starter Project - - 17 - - 3.0.0 - 3.1.0 - 4.7.0.0 - 4.7.0 - 1.12.0 - 2.4.0 - 0.8.8 - 2.22.8 - 1.15.0 - 2.24.0 - 2.11.0 - 5.0.0 - 3.12.0 - 3.3.0 - - 3.17.0 - - - - - org.springframework.boot - spring-boot-starter-actuator - - - org.springframework.boot - spring-boot-starter-security - - - org.springframework.boot - spring-boot-starter-validation - - - org.springframework.boot - spring-boot-starter-web - - - - org.springframework.boot - spring-boot-devtools - runtime - true - - - org.springframework.boot - spring-boot-configuration-processor - true - - - org.projectlombok - lombok - true - - - org.springframework.boot - spring-boot-starter-test - test - - - org.springframework.security - spring-security-test - test - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - org.projectlombok - lombok - - - - - - org.apache.maven.plugins - maven-toolchains-plugin - ${maven-toolchains-plugin.version} - - - - - toolchain - - - - - - - - 17 - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} - - - enforce-versions - - enforce - - - - - - - 17 - - - - - - [3.8,) - - - - - - com.github.spotbugs - spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} - - - - com.github.spotbugs - spotbugs - ${spotbugs.version} - - - - ${project.basedir}/config/spotbug/spotbugs-security-include.xml - ${project.basedir}/config/spotbug/spotbugs-security-exclude.xml - - - com.h3xstream.findsecbugs - findsecbugs-plugin - ${findsecbugs-plugin.version} - - - - - - org.gaul - modernizer-maven-plugin - ${modernizer-maven-plugin.version} - - - modernizer - verify - - modernizer - - - - - ${java.version} - - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - true - - - true - false - - - - - check - - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco-maven-plugin.version} - - - - prepare-agent - - prepare-agent - - - - - report - test - - report - - - - - - com.diffplug.spotless - spotless-maven-plugin - ${spotless-maven-plugin.version} - - - origin/main - - - - ${palantir-java-format.version} - - - - - - true - ${project.basedir}/.spotless-index - - - - - - check - - - - - - org.codehaus.mojo - versions-maven-plugin - ${versions-maven-plugin.version} - - file:///${project.basedir}/config/versions-maven-plugin/rules.xml - - - - io.github.git-commit-id - git-commit-id-maven-plugin - ${git-commit-id-maven-plugin.version} - - - get-the-git-infos - - revision - - initialize - - - - true - ${project.build.outputDirectory}/git.properties - - ^git.build.(time|version)$ - ^git.commit.id.(abbrev|full)$ - ^git.commit.user.(email|name)$ - - full - - - - org.apache.maven.plugins - maven-site-plugin - 3.12.0 - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 3.3.0 - - - - - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - - - - - - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - - + + starter-mvc-core + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index new file mode 100644 index 0000000..e73450c --- /dev/null +++ b/starter-mvc-core/.spotless-index @@ -0,0 +1,3 @@ +7i0gJoz6uXv+37HuiE92pYLaEcV9wgxLT4QiC2n9tMA= +src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z +src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/README.md b/starter-mvc-core/README.md similarity index 100% rename from README.md rename to starter-mvc-core/README.md diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml new file mode 100644 index 0000000..d91bff5 --- /dev/null +++ b/starter-mvc-core/pom.xml @@ -0,0 +1,320 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.4 + + + + com.bwgjoseph + spring-boot-mvn-starter-mvc-core + 0.0.1-SNAPSHOT + spring-boot-mvn-starter-mvc-core + Spring Boot Maven Starter Project + + + 17 + + 3.0.0 + 3.1.0 + 4.7.0.0 + 4.7.0 + 1.12.0 + 2.4.0 + 0.8.8 + 2.22.8 + 1.15.0 + 2.24.0 + 2.11.0 + 5.0.0 + 3.12.0 + 3.3.0 + + 3.17.0 + + + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-validation + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + org.springframework.boot + spring-boot-configuration-processor + true + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.security + spring-security-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + org.apache.maven.plugins + maven-toolchains-plugin + ${maven-toolchains-plugin.version} + + + + + toolchain + + + + + + + + 17 + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${maven-enforcer-plugin.version} + + + enforce-versions + + enforce + + + + + + + 17 + + + + + + [3.8,) + + + + + + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} + + + + com.github.spotbugs + spotbugs + ${spotbugs.version} + + + + ${project.basedir}/config/spotbug/spotbugs-security-include.xml + ${project.basedir}/config/spotbug/spotbugs-security-exclude.xml + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs-plugin.version} + + + + + + org.gaul + modernizer-maven-plugin + ${modernizer-maven-plugin.version} + + + modernizer + verify + + modernizer + + + + + ${java.version} + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + + true + + + true + false + + + + + check + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + + prepare-agent + + prepare-agent + + + + + report + test + + report + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + origin/main + + + + ${palantir-java-format.version} + + + + + + true + ${project.basedir}/.spotless-index + + + + + + check + + + + + + org.codehaus.mojo + versions-maven-plugin + ${versions-maven-plugin.version} + + file:///${project.basedir}/config/versions-maven-plugin/rules.xml + + + + io.github.git-commit-id + git-commit-id-maven-plugin + ${git-commit-id-maven-plugin.version} + + + get-the-git-infos + + revision + + initialize + + + + true + ${project.build.outputDirectory}/git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + ^git.commit.user.(email|name)$ + + full + + + + org.apache.maven.plugins + maven-site-plugin + 3.12.0 + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.3.0 + + + + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + + + + + + + + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + + + + + diff --git a/src/main/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplication.java b/starter-mvc-core/src/main/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplication.java similarity index 100% rename from src/main/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplication.java rename to starter-mvc-core/src/main/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplication.java diff --git a/src/main/resources/application.properties b/starter-mvc-core/src/main/resources/application.properties similarity index 100% rename from src/main/resources/application.properties rename to starter-mvc-core/src/main/resources/application.properties diff --git a/src/test/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplicationTests.java b/starter-mvc-core/src/test/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplicationTests.java similarity index 84% rename from src/test/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplicationTests.java rename to starter-mvc-core/src/test/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplicationTests.java index 4b894df..530a741 100644 --- a/src/test/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplicationTests.java +++ b/starter-mvc-core/src/test/java/com/bwgjoseph/springbootmvnstarter/SpringBootMvnStarterApplicationTests.java @@ -6,8 +6,6 @@ @SpringBootTest class SpringBootMvnStarterApplicationTests { - @Test - void contextLoads() { - } - + @Test + void contextLoads() {} } From 71c7f67673fb9bf753c0003fe4af6aa348be3767 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 15:24:36 +0800 Subject: [PATCH 02/14] move spotless plugin to parent project after moved to parent project, running `./mvnw clean verify`, project will be built correctly but if changed to use `./mvnw spotless:apply`, it will throw the following error ``` No plugin found for prefix 'spotless' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Joseph\.m2\repository), central (https://repo.maven.apache.org/maven2)] ``` Running `./mvnw -pl starter-mvc-core spotless:apply`would be fine though To fix root cause, the fix, it seem, is to ensure submodules point to the parent pom.xml See https://github.com/diffplug/spotless/issues/1135 Reference https://kurular4.medium.com/why-you-should-use-parent-pom-for-your-multi-module-java-projects-b575017fab2e --- .spotless-index | 1 + pom.xml | 74 +++++++++++++++++++++++++++----- starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 50 ++++++--------------- 4 files changed, 78 insertions(+), 49 deletions(-) create mode 100644 .spotless-index diff --git a/.spotless-index b/.spotless-index new file mode 100644 index 0000000..23594af --- /dev/null +++ b/.spotless-index @@ -0,0 +1 @@ +MjiDRxXihzuPLeMPLXfDsyXUPDZ86GUlc4h3ShpskHE= diff --git a/pom.xml b/pom.xml index a94e8bc..d9c1cd0 100644 --- a/pom.xml +++ b/pom.xml @@ -1,16 +1,70 @@ - 4.0.0 + 4.0.0 - com.bwgjoseph - spring-boot-mvn-starter - 0.0.1-SNAPSHOT - spring-boot-mvn-starter - pom - Spring Boot Maven Starter Project + + + org.springframework.boot + spring-boot-starter-parent + 2.7.4 + + - - starter-mvc-core - + com.bwgjoseph + spring-boot-mvn-starter-parent + 0.0.1-SNAPSHOT + spring-boot-mvn-starter-parent + + pom + Spring Boot Maven Starter Project + + + starter-mvc-core + + + + UTF-8 + 17 + 17 + 2.22.8 + 2.24.0 + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless-maven-plugin.version} + + + origin/main + + + + ${palantir-java-format.version} + + + + + + true + ${project.basedir}/.spotless-index + + + + + + check + + + + + + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index e73450c..750826c 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -7i0gJoz6uXv+37HuiE92pYLaEcV9wgxLT4QiC2n9tMA= +EAUUFl9ny5S1nSkYdHZxZZSRZIHuWGljc7dIBEU9Vm4= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index d91bff5..602f25b 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -1,18 +1,23 @@ 4.0.0 + - org.springframework.boot - spring-boot-starter-parent - 2.7.4 - + com.bwgjoseph + spring-boot-mvn-starter-parent + 0.0.1-SNAPSHOT - com.bwgjoseph + spring-boot-mvn-starter-mvc-core - 0.0.1-SNAPSHOT spring-boot-mvn-starter-mvc-core - Spring Boot Maven Starter Project + Spring Boot Maven Starter Project Mvc Core 17 @@ -24,9 +29,6 @@ 1.12.0 2.4.0 0.8.8 - 2.22.8 - 1.15.0 - 2.24.0 2.11.0 5.0.0 3.12.0 @@ -224,34 +226,6 @@ - - com.diffplug.spotless - spotless-maven-plugin - ${spotless-maven-plugin.version} - - - origin/main - - - - ${palantir-java-format.version} - - - - - - true - ${project.basedir}/.spotless-index - - - - - - check - - - - org.codehaus.mojo versions-maven-plugin From 05e87b0bc1c07da75e39254adf2351d151d4d26b Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 15:37:08 +0800 Subject: [PATCH 03/14] move maven-toolchains to parent pom --- .spotless-index | 2 +- pom.xml | 24 ++++++++++++++++++++++++ starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 22 ---------------------- 4 files changed, 26 insertions(+), 24 deletions(-) diff --git a/.spotless-index b/.spotless-index index 23594af..b2827b4 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -MjiDRxXihzuPLeMPLXfDsyXUPDZ86GUlc4h3ShpskHE= +beyxpjIT+BWgXieXMki1OWYlGfh3oo56rWEkDf35ZJM= diff --git a/pom.xml b/pom.xml index d9c1cd0..5f504f8 100644 --- a/pom.xml +++ b/pom.xml @@ -27,11 +27,14 @@ + UTF-8 17 17 + 2.22.8 2.24.0 + 3.0.0 @@ -64,6 +67,27 @@ + + org.apache.maven.plugins + maven-toolchains-plugin + ${maven-toolchains-plugin.version} + + + + + toolchain + + + + + + + + 17 + + + + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index 750826c..d956c20 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -EAUUFl9ny5S1nSkYdHZxZZSRZIHuWGljc7dIBEU9Vm4= +uUi0vqGByHv1mFAgE+TUrioAAUKXWfBlD8YUFoNIWKs= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index 602f25b..b8545a1 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -22,7 +22,6 @@ 17 - 3.0.0 3.1.0 4.7.0.0 4.7.0 @@ -97,27 +96,6 @@ - - org.apache.maven.plugins - maven-toolchains-plugin - ${maven-toolchains-plugin.version} - - - - - toolchain - - - - - - - - 17 - - - - org.apache.maven.plugins maven-enforcer-plugin From 4b9c70b983bab420fbcdc34a2b144f78e37a1e89 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 15:43:58 +0800 Subject: [PATCH 04/14] move maven-enforcer to parent pom fix an issue where requireJavaVersion is not enforced, which is caused by having multiple , it only requires a single --- .spotless-index | 2 +- pom.xml | 29 +++++++++++++++++++++++++++++ starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 27 --------------------------- 4 files changed, 31 insertions(+), 29 deletions(-) diff --git a/.spotless-index b/.spotless-index index b2827b4..df93f40 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -beyxpjIT+BWgXieXMki1OWYlGfh3oo56rWEkDf35ZJM= +P4mWdpSIF/JLo+w0rL10VIE76wYS3paCCnofJfXmmuc= diff --git a/pom.xml b/pom.xml index 5f504f8..5cd1d1d 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,7 @@ 2.22.8 2.24.0 3.0.0 + 3.1.0 @@ -88,6 +89,34 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + ${maven-enforcer-plugin.version} + + + enforce-versions + + enforce + + + + + + + + [17,) + + + + [3.8,) + + + + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index d956c20..2d5dc18 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -uUi0vqGByHv1mFAgE+TUrioAAUKXWfBlD8YUFoNIWKs= +hftpI6Bgt3e9PbA4RqaVScKx7+bzEENRuUlcF3r3zNI= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index b8545a1..d27dc52 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -22,7 +22,6 @@ 17 - 3.1.0 4.7.0.0 4.7.0 1.12.0 @@ -96,32 +95,6 @@ - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} - - - enforce-versions - - enforce - - - - - - - 17 - - - - - - [3.8,) - - - - com.github.spotbugs spotbugs-maven-plugin From 52ac50479ab10e6c9b9e786560308426644074c0 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 16:56:14 +0800 Subject: [PATCH 05/14] move maven-site to parent pom When running mvn site on a top level project, Maven will build all sites for every module defined in the modules section of the pom individually. Note that each site is generated in each individual project's target location. As a result, relative links between different modules will NOT work. They will however work when you deploy or stage the site. See https://maven.apache.org/plugins/maven-site-plugin/examples/multimodule.html Note that https://maven.apache.org/plugins/maven-site-plugin/examples/multimodule.html#aggregate-reports is not configured yet --- pom.xml | 13 +++++++++++++ starter-mvc-core/pom.xml | 12 ------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 5cd1d1d..d856171 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,9 @@ 2.24.0 3.0.0 3.1.0 + + 3.12.0 + 3.3.0 @@ -117,6 +120,16 @@ + + org.apache.maven.plugins + maven-site-plugin + ${maven-site-plugin.version} + + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${maven-project-info-reports-plugin.version} + diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index d27dc52..a3e4c87 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -29,8 +29,6 @@ 0.8.8 2.11.0 5.0.0 - 3.12.0 - 3.3.0 3.17.0 @@ -209,16 +207,6 @@ full - - org.apache.maven.plugins - maven-site-plugin - 3.12.0 - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 3.3.0 - From 27ed0802906e4acc3ffba4cb10c0a5695ebb0bee Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 17:12:40 +0800 Subject: [PATCH 06/14] move versions-maven to parent pom when running command from parent pom, it will scan through parent and all sub-modules to update the pom.xml, if want to scan specify pom.xml then run with -pl command See https://stackoverflow.com/questions/4146638/maven-variable-for-reactor-root/48879554#48879554 for using ${session.executionRootDirectory} as the root directory of where .mvnw is ran See https://cwiki.apache.org/confluence/display/MAVEN/Maven+Properties+Guide for a standard maven variables --- pom.xml | 9 +++++++++ starter-mvc-core/pom.xml | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index d856171..bc30cca 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,7 @@ 2.24.0 3.0.0 3.1.0 + 2.11.0 3.12.0 3.3.0 @@ -130,6 +131,14 @@ maven-project-info-reports-plugin ${maven-project-info-reports-plugin.version} + + org.codehaus.mojo + versions-maven-plugin + ${versions-maven-plugin.version} + + file:///${session.executionRootDirectory}/config/versions-maven-plugin/rules.xml + + diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index a3e4c87..4cbbd05 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -27,7 +27,6 @@ 1.12.0 2.4.0 0.8.8 - 2.11.0 5.0.0 3.17.0 @@ -175,14 +174,6 @@ - - org.codehaus.mojo - versions-maven-plugin - ${versions-maven-plugin.version} - - file:///${project.basedir}/config/versions-maven-plugin/rules.xml - - io.github.git-commit-id git-commit-id-maven-plugin From 01a74bc4496adbaa213ee0a17378f59087405d94 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 17:25:45 +0800 Subject: [PATCH 07/14] move git-commit-id-maven to parent pom when run `./mvnw verify`, the sub-modules will run the git info and generate in its build directory --- .spotless-index | 2 +- pom.xml | 25 +++++++++++++++++++++++++ starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 25 ------------------------- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.spotless-index b/.spotless-index index df93f40..3299203 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -P4mWdpSIF/JLo+w0rL10VIE76wYS3paCCnofJfXmmuc= +nQG0xPlzX66BnVloYsO8QVtD8/4GZFyb2xKzf2oTctQ= diff --git a/pom.xml b/pom.xml index bc30cca..d4a4f2e 100644 --- a/pom.xml +++ b/pom.xml @@ -37,6 +37,7 @@ 3.0.0 3.1.0 2.11.0 + 5.0.0 3.12.0 3.3.0 @@ -139,6 +140,30 @@ file:///${session.executionRootDirectory}/config/versions-maven-plugin/rules.xml + + io.github.git-commit-id + git-commit-id-maven-plugin + ${git-commit-id-maven-plugin.version} + + + get-the-git-infos + + revision + + initialize + + + + true + ${project.build.outputDirectory}/git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + ^git.commit.user.(email|name)$ + + full + + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index 2d5dc18..ca5e120 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -hftpI6Bgt3e9PbA4RqaVScKx7+bzEENRuUlcF3r3zNI= +jbLYgxdzHW2kcjxX9m+OFYSEMO4EoGXBtF1CFmetzr0= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index 4cbbd05..e9ca7c9 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -27,7 +27,6 @@ 1.12.0 2.4.0 0.8.8 - 5.0.0 3.17.0 @@ -174,30 +173,6 @@ - - io.github.git-commit-id - git-commit-id-maven-plugin - ${git-commit-id-maven-plugin.version} - - - get-the-git-infos - - revision - - initialize - - - - true - ${project.build.outputDirectory}/git.properties - - ^git.build.(time|version)$ - ^git.commit.id.(abbrev|full)$ - ^git.commit.user.(email|name)$ - - full - - From a5c1866e8750698125583c4f2a1cdce5c0d7e6fb Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 17:30:45 +0800 Subject: [PATCH 08/14] move modernizer-maven to parent pom Possible to suppress via annotation, see https://github.com/gaul/modernizer-maven-plugin#ignoring-elements when run `./mvnw verify`, the sub-modules will run the modernizer --- .spotless-index | 2 +- pom.xml | 18 ++++++++++++++++++ starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 18 ------------------ 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.spotless-index b/.spotless-index index 3299203..d9eb100 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -nQG0xPlzX66BnVloYsO8QVtD8/4GZFyb2xKzf2oTctQ= +hvVpaBudk6C/9QepjXEvlzD2vtkRk4y8F14GWGoVu6g= diff --git a/pom.xml b/pom.xml index d4a4f2e..1f5d727 100644 --- a/pom.xml +++ b/pom.xml @@ -38,6 +38,7 @@ 3.1.0 2.11.0 5.0.0 + 2.4.0 3.12.0 3.3.0 @@ -164,6 +165,23 @@ full + + org.gaul + modernizer-maven-plugin + ${modernizer-maven-plugin.version} + + + modernizer + verify + + modernizer + + + + + ${java.version} + + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index ca5e120..bfbccf1 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -jbLYgxdzHW2kcjxX9m+OFYSEMO4EoGXBtF1CFmetzr0= +8GYaHiQ/e5mWXO0k63DAK5wQcRYVjsTWRUL70csQwWs= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index e9ca7c9..a161c97 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -25,7 +25,6 @@ 4.7.0.0 4.7.0 1.12.0 - 2.4.0 0.8.8 3.17.0 @@ -115,23 +114,6 @@ - - org.gaul - modernizer-maven-plugin - ${modernizer-maven-plugin.version} - - - modernizer - verify - - modernizer - - - - - ${java.version} - - org.apache.maven.plugins maven-pmd-plugin From c35ec54eefff06957090a28e1250ecdccf2bb5ea Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 21:27:33 +0800 Subject: [PATCH 09/14] move spotbugs to parent pom adds spotbugs reporting to submit when running ./mvnw site however, spotbugs report is not reporting on parent site project but is reporting at the sub-module --- .spotless-index | 2 +- pom.xml | 37 ++++++++++++++++++++++++++++++++ starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 27 ----------------------- 4 files changed, 39 insertions(+), 29 deletions(-) diff --git a/.spotless-index b/.spotless-index index d9eb100..2ee6c38 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -hvVpaBudk6C/9QepjXEvlzD2vtkRk4y8F14GWGoVu6g= +C087SZzxVEpRURZwo491hLbxEJEy7tAMNijBLR7rCck= diff --git a/pom.xml b/pom.xml index 1f5d727..a14efa1 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,9 @@ 2.11.0 5.0.0 2.4.0 + 4.7.0.0 + 4.7.0 + 1.12.0 3.12.0 3.3.0 @@ -182,7 +185,41 @@ ${java.version} + + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} + + + + com.github.spotbugs + spotbugs + ${spotbugs.version} + + + + ${session.executionRootDirectory}/config/spotbug/spotbugs-security-include.xml + ${session.executionRootDirectory}/config/spotbug/spotbugs-security-exclude.xml + + + com.h3xstream.findsecbugs + findsecbugs-plugin + ${findsecbugs-plugin.version} + + + + + + + + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} + + + + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index bfbccf1..2eac12f 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -8GYaHiQ/e5mWXO0k63DAK5wQcRYVjsTWRUL70csQwWs= +JeOhb+rqvdZsu6iL7oP6bFSLQH2l7ste7bXnSu4SSyA= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index a161c97..809d29a 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -22,9 +22,6 @@ 17 - 4.7.0.0 - 4.7.0 - 1.12.0 0.8.8 3.17.0 @@ -90,30 +87,6 @@ - - com.github.spotbugs - spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} - - - - com.github.spotbugs - spotbugs - ${spotbugs.version} - - - - ${project.basedir}/config/spotbug/spotbugs-security-include.xml - ${project.basedir}/config/spotbug/spotbugs-security-exclude.xml - - - com.h3xstream.findsecbugs - findsecbugs-plugin - ${findsecbugs-plugin.version} - - - - org.apache.maven.plugins maven-pmd-plugin From 545a946ca762fe662f59c7b7c32cb143aeb997b3 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 21:37:21 +0800 Subject: [PATCH 10/14] move maven-pmd to parent pom --- .spotless-index | 2 +- pom.xml | 25 ++++++++++++++++++++ starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 39 -------------------------------- 4 files changed, 27 insertions(+), 41 deletions(-) diff --git a/.spotless-index b/.spotless-index index 2ee6c38..c11d738 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -C087SZzxVEpRURZwo491hLbxEJEy7tAMNijBLR7rCck= +43wzxLcE1SIsDg91YToAYZFvc5umDCvzEDYUTYRIIL0= diff --git a/pom.xml b/pom.xml index a14efa1..3c66e78 100644 --- a/pom.xml +++ b/pom.xml @@ -42,6 +42,7 @@ 4.7.0.0 4.7.0 1.12.0 + 3.17.0 3.12.0 3.3.0 @@ -209,6 +210,25 @@ + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + + true + + + true + false + + + + + check + + + + @@ -219,6 +239,11 @@ spotbugs-maven-plugin ${spotbugs-maven-plugin.version} + + org.apache.maven.plugins + maven-pmd-plugin + ${maven-pmd-plugin.version} + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index 2eac12f..885aef0 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -JeOhb+rqvdZsu6iL7oP6bFSLQH2l7ste7bXnSu4SSyA= +wsWvL9ozd4EwGlhoDaMjQkUKxvaEswO/q+WaIT/B82U= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index 809d29a..f04d60a 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -24,7 +24,6 @@ 0.8.8 - 3.17.0 @@ -87,25 +86,6 @@ - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - true - - - true - false - - - - - check - - - - org.jacoco jacoco-maven-plugin @@ -130,25 +110,6 @@ - - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - - - - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - - - From c05edf69abe81a944b744a6cf59b47356c5d5a79 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 21:45:27 +0800 Subject: [PATCH 11/14] move jacoco-maven to parent pom thinking if jacoco should exist in its own sub-module but still leave it at parent pom first --- .spotless-index | 2 +- pom.xml | 23 +++++++++++++++++++++++ starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 25 ------------------------- 4 files changed, 25 insertions(+), 27 deletions(-) diff --git a/.spotless-index b/.spotless-index index c11d738..27e089f 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -43wzxLcE1SIsDg91YToAYZFvc5umDCvzEDYUTYRIIL0= +5VHcWyYd+M5nhJKIAqTE1m0FCCujiFmEpoo9I85mtPE= diff --git a/pom.xml b/pom.xml index 3c66e78..5bceb99 100644 --- a/pom.xml +++ b/pom.xml @@ -43,6 +43,7 @@ 4.7.0 1.12.0 3.17.0 + 0.8.8 3.12.0 3.3.0 @@ -229,6 +230,28 @@ + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + + prepare-agent + + prepare-agent + + + + + report + test + + report + + + + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index 885aef0..e9ae17a 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -wsWvL9ozd4EwGlhoDaMjQkUKxvaEswO/q+WaIT/B82U= +gWW+Vzh0JQAOiHjaaqUIjs/7mn1uoJc/axUHHAkf1PU= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index f04d60a..005770f 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -21,9 +21,6 @@ 17 - - 0.8.8 - @@ -86,28 +83,6 @@ - - org.jacoco - jacoco-maven-plugin - ${jacoco-maven-plugin.version} - - - - prepare-agent - - prepare-agent - - - - - report - test - - report - - - - From ed7f0d73b2fe34b920f1c8630510b7b62e743b9f Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 21:47:14 +0800 Subject: [PATCH 12/14] move java.version properties to parent pom --- .spotless-index | 2 +- pom.xml | 3 ++- starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 4 ---- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.spotless-index b/.spotless-index index 27e089f..e885e66 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -5VHcWyYd+M5nhJKIAqTE1m0FCCujiFmEpoo9I85mtPE= +MDJgLv17WVySiDqlWmnZA9fCpBZGQKB+EuM6gj+iPqs= diff --git a/pom.xml b/pom.xml index 5bceb99..c8d71fb 100644 --- a/pom.xml +++ b/pom.xml @@ -28,9 +28,10 @@ - UTF-8 + 17 17 17 + UTF-8 2.22.8 2.24.0 diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index e9ae17a..c0f0552 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -gWW+Vzh0JQAOiHjaaqUIjs/7mn1uoJc/axUHHAkf1PU= +sovb32aDaxKBBvsLoOjwGBA9JmxNrb5/lO5pGmyp8qA= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index 005770f..0cde61a 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -19,10 +19,6 @@ spring-boot-mvn-starter-mvc-core Spring Boot Maven Starter Project Mvc Core - - 17 - - org.springframework.boot From 7a7d4e8547f68accc86f1fe9548260bbc42ef41d Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 23:21:37 +0800 Subject: [PATCH 13/14] move jacoco and git-commit-id-maven to pluginManagement section Placing in pluginManagement kind of allowing to centalize the configuration but not taking effect on any modules until any of the module declare this in the plugin section on their pom.xml See https://www.baeldung.com/maven-plugin-management --- .spotless-index | 2 +- pom.xml | 103 +++++++++++++++++-------------- starter-mvc-core/.spotless-index | 2 +- starter-mvc-core/pom.xml | 9 +++ 4 files changed, 67 insertions(+), 49 deletions(-) diff --git a/.spotless-index b/.spotless-index index e885e66..7cb58b6 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -MDJgLv17WVySiDqlWmnZA9fCpBZGQKB+EuM6gj+iPqs= +W4rQB/8AsQzyok5EgDW/oUu0VwMWvVLhc9UCFxDmbF0= diff --git a/pom.xml b/pom.xml index c8d71fb..71a3b7c 100644 --- a/pom.xml +++ b/pom.xml @@ -38,19 +38,72 @@ 3.0.0 3.1.0 2.11.0 - 5.0.0 2.4.0 4.7.0.0 4.7.0 1.12.0 3.17.0 + 0.8.8 + 5.0.0 3.12.0 3.3.0 + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + + prepare-agent + + prepare-agent + + + + + report + test + + report + + + + + + io.github.git-commit-id + git-commit-id-maven-plugin + ${git-commit-id-maven-plugin.version} + + + get-the-git-infos + + revision + + initialize + + + + true + ${project.build.outputDirectory}/git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + ^git.commit.user.(email|name)$ + + full + + + + + com.diffplug.spotless @@ -147,30 +200,7 @@ file:///${session.executionRootDirectory}/config/versions-maven-plugin/rules.xml - - io.github.git-commit-id - git-commit-id-maven-plugin - ${git-commit-id-maven-plugin.version} - - - get-the-git-infos - - revision - - initialize - - - - true - ${project.build.outputDirectory}/git.properties - - ^git.build.(time|version)$ - ^git.commit.id.(abbrev|full)$ - ^git.commit.user.(email|name)$ - - full - - + org.gaul modernizer-maven-plugin @@ -231,28 +261,7 @@ - - org.jacoco - jacoco-maven-plugin - ${jacoco-maven-plugin.version} - - - - prepare-agent - - prepare-agent - - - - - report - test - - report - - - - + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index c0f0552..55c9038 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -sovb32aDaxKBBvsLoOjwGBA9JmxNrb5/lO5pGmyp8qA= +uiHYgKriOB0Xqv9uM4k1zUTG/2uYXrsflOF63aMt2iE= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z diff --git a/starter-mvc-core/pom.xml b/starter-mvc-core/pom.xml index 0cde61a..59a0390 100644 --- a/starter-mvc-core/pom.xml +++ b/starter-mvc-core/pom.xml @@ -79,6 +79,15 @@ + + + org.jacoco + jacoco-maven-plugin + + + io.github.git-commit-id + git-commit-id-maven-plugin + From fa73da026789ee757b097ca24f2dfe5284394ac8 Mon Sep 17 00:00:00 2001 From: bwgjoseph Date: Sat, 10 Dec 2022 23:33:35 +0800 Subject: [PATCH 14/14] polish pom.xml --- .spotless-index | 2 +- pom.xml | 29 ++++++++++++++--------------- starter-mvc-core/.spotless-index | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.spotless-index b/.spotless-index index 7cb58b6..041f19d 100644 --- a/.spotless-index +++ b/.spotless-index @@ -1 +1 @@ -W4rQB/8AsQzyok5EgDW/oUu0VwMWvVLhc9UCFxDmbF0= +Rtp4OWrYGP257KC59+Z4VhVrfcNr+iZDvDIHrP4dWOg= diff --git a/pom.xml b/pom.xml index 71a3b7c..f4b2ec2 100644 --- a/pom.xml +++ b/pom.xml @@ -33,16 +33,17 @@ 17 UTF-8 - 2.22.8 - 2.24.0 3.0.0 3.1.0 2.11.0 - 2.4.0 + + 2.22.8 + 2.24.0 4.7.0.0 4.7.0 1.12.0 3.17.0 + 2.4.0 0.8.8 5.0.0 @@ -182,16 +183,6 @@ - - org.apache.maven.plugins - maven-site-plugin - ${maven-site-plugin.version} - - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${maven-project-info-reports-plugin.version} - org.codehaus.mojo versions-maven-plugin @@ -200,7 +191,6 @@ file:///${session.executionRootDirectory}/config/versions-maven-plugin/rules.xml - org.gaul modernizer-maven-plugin @@ -261,7 +251,16 @@ - + + org.apache.maven.plugins + maven-site-plugin + ${maven-site-plugin.version} + + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${maven-project-info-reports-plugin.version} + diff --git a/starter-mvc-core/.spotless-index b/starter-mvc-core/.spotless-index index 55c9038..f41aa5d 100644 --- a/starter-mvc-core/.spotless-index +++ b/starter-mvc-core/.spotless-index @@ -1,3 +1,3 @@ -uiHYgKriOB0Xqv9uM4k1zUTG/2uYXrsflOF63aMt2iE= +7Mgi10bT72SNEyDE4Dt6O5GTij8CZsf6213CKvtWDFs= src\main\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplication.java 2022-12-10T06:04:48.811054400Z src\test\java\com\bwgjoseph\springbootmvnstarter\SpringBootMvnStarterApplicationTests.java 2022-12-10T06:23:21.962467400Z