diff --git a/admin-service/pom.xml b/admin-service/pom.xml index d1b4d569..c3300639 100644 --- a/admin-service/pom.xml +++ b/admin-service/pom.xml @@ -18,10 +18,9 @@ 2.3.5 4.5.1 4.9.0 - java-competency-demo - https://sonarcloud.io - com.nashtech.java-competency-demo - 7c1f6c0cdb5f298f1bb3f516c7882bcc9dc3d529 + 19 + 3.9.1.2184 + 0.8.8 @@ -92,67 +91,125 @@ + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonarVersion} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + + - org.springframework.boot - spring-boot-maven-plugin + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} - - org.projectlombok - lombok - + **/*config*/** + **/*common*/** + **/*constant*/** + **/*model*/** + **/*Application* + **/*entity*/** + **/resources/** - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.9.1.2184 - verify + prepare-agent - sonar + prepare-agent + test-compile - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - checkstyle-suppressions.xml - - - validate + report + test - check + report - - - - org.apache.maven.plugins - maven-pmd-plugin - 3.15.0 - - analyze - verify + jacoco-check - pmd + check + + + + PACKAGE + + + LINE + COVEREDRATIO + + + + + + + + org.springframework.boot + spring-boot-maven-plugin - false - html - ${project.build.directory}/pmd-reports + + + org.projectlombok + lombok + + - + + + sonar + + false + + + + nashtech + https://sonarcloud.io + b47aeba29df2889126c736ee7012a5a490edc34a + ${sonarConfig} + target/coverage-reports/jacoco.exec + + **/*config*/**, + **/*common*/**, + **/*constant*/**, + **/*model*/**, + **/*Application.* + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + + diff --git a/cart-service/pom.xml b/cart-service/pom.xml index 621d643c..a47d4ec2 100644 --- a/cart-service/pom.xml +++ b/cart-service/pom.xml @@ -46,10 +46,6 @@ 4.0.0 5.9.2 3.9.1.2184 - 3.2.1 - 4.7.3.4 - 1.12.0 - 3.20.0 0.8.8 .80 @@ -118,21 +114,6 @@ - - org.apache.maven.plugins - maven-pmd-plugin - ${maven.pmd.version} - - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven.checkstyle.version} - - - com.github.spotbugs - spotbugs-maven-plugin - ${maven.spotbugs.version} - org.sonarsource.scanner.maven sonar-maven-plugin @@ -147,38 +128,6 @@ - - org.apache.maven.plugins - maven-pmd-plugin - ${maven.pmd.version} - - - validate - - pmd - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven.checkstyle.version} - - true - false - false - - - - validate - validate - - check - - - - org.jacoco jacoco-maven-plugin @@ -222,8 +171,6 @@ LINE COVEREDRATIO - ${minimumCodeCoverage} - @@ -232,38 +179,6 @@ - - com.github.spotbugs - spotbugs-maven-plugin - ${maven.spotbugs.version} - - - check - test - - check - - - - - true - findbugs.xml - - - ${basedir}/src/main/resources/spotbugs/spotbugs-security-include.xml - - - ${basedir}/src/main/resources/spotbugs/spotbugs-security-exclude.xml - - - - com.h3xstream.findsecbugs - findsecbugs-plugin - ${maven.findbugs.version} - - - - org.apache.maven.plugins maven-jar-plugin @@ -286,7 +201,6 @@ - sonar @@ -299,9 +213,6 @@ https://sonarcloud.io b47aeba29df2889126c736ee7012a5a490edc34a ${sonarConfig} - target/checkstyle-result.xml - target/pmd.xml - target/findbugsXml.xml target/coverage-reports/jacoco.exec **/*config*/**, diff --git a/common/pom.xml b/common/pom.xml index 75333772..b7836eeb 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -11,7 +11,7 @@ com.nashtech.common common - 2.1 + 2.2 common @@ -44,6 +44,9 @@ 4.8.1 4.0.0 8.0.33 + 0.8.8 + 3.9.1.2184 + @@ -83,5 +86,97 @@ - - + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonarVersion} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + default-prepare-agent + + prepare-agent + + + + report + + report + + + + XML + + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + + + + sonar + + false + + + + nashtech + https://sonarcloud.io + b47aeba29df2889126c736ee7012a5a490edc34a + ${sonarConfig} + target/coverage-reports/jacoco.exec + + **/*config*/**, + **/*common*/**, + **/*constant*/**, + **/*model*/**, + **/*Application.* + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + + + \ No newline at end of file diff --git a/elastic-search/pom.xml b/elastic-search/pom.xml index b9f4e353..259c9cf4 100644 --- a/elastic-search/pom.xml +++ b/elastic-search/pom.xml @@ -18,6 +18,9 @@ 17 4.9.0 4.0.0 + 19 + 3.9.1.2184 + 0.8.8 @@ -105,7 +108,73 @@ + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonarVersion} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + **/*config*/** + **/*common*/** + **/*constant*/** + **/*model*/** + **/*Application* + **/*entity*/** + **/resources/** + + + + + prepare-agent + + prepare-agent + + test-compile + + + report + test + + report + + + + jacoco-check + + check + + + + + PACKAGE + + + LINE + COVEREDRATIO + + + + + + + + org.springframework.boot spring-boot-maven-plugin @@ -120,5 +189,44 @@ - - + + + sonar + + false + + + + nashtech + https://sonarcloud.io + b47aeba29df2889126c736ee7012a5a490edc34a + ${sonarConfig} + target/coverage-reports/jacoco.exec + + **/*config*/**, + **/*common*/**, + **/*constant*/**, + **/*model*/**, + **/*Application.* + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + + + \ No newline at end of file diff --git a/inventory-service/pom.xml b/inventory-service/pom.xml index 384e265f..276e7286 100644 --- a/inventory-service/pom.xml +++ b/inventory-service/pom.xml @@ -60,10 +60,13 @@ 19 - 2.1 + 2.2 2.0.1.Final 4.1.1 2022.0.1 + 19 + 3.9.1.2184 + 0.8.8 @@ -108,7 +111,73 @@ + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonarVersion} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + **/*config*/** + **/*common*/** + **/*constant*/** + **/*model*/** + **/*Application* + **/*entity*/** + **/resources/** + + + + + prepare-agent + + prepare-agent + + test-compile + + + report + test + + report + + + + jacoco-check + + check + + + + + PACKAGE + + + LINE + COVEREDRATIO + + + + + + + + org.springframework.boot spring-boot-maven-plugin @@ -123,5 +192,44 @@ - + + + sonar + + false + + + + nashtech + https://sonarcloud.io + b47aeba29df2889126c736ee7012a5a490edc34a + ${sonarConfig} + target/coverage-reports/jacoco.exec + + **/*config*/**, + **/*common*/**, + **/*constant*/**, + **/*model*/**, + **/*Application.* + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + + diff --git a/order-service/pom.xml b/order-service/pom.xml index c3a8c246..6e1e8daf 100644 --- a/order-service/pom.xml +++ b/order-service/pom.xml @@ -42,8 +42,11 @@ 19 3.5.9 - 2.1 + 2.2 2.0.1.Final + 19 + 3.9.1.2184 + 0.8.8 @@ -79,7 +82,73 @@ + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonarVersion} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + **/*config*/** + **/*common*/** + **/*constant*/** + **/*model*/** + **/*Application* + **/*entity*/** + **/resources/** + + + + + prepare-agent + + prepare-agent + + test-compile + + + report + test + + report + + + + jacoco-check + + check + + + + + PACKAGE + + + LINE + COVEREDRATIO + + + + + + + + org.springframework.boot spring-boot-maven-plugin @@ -94,5 +163,44 @@ - + + + sonar + + false + + + + nashtech + https://sonarcloud.io + b47aeba29df2889126c736ee7012a5a490edc34a + ${sonarConfig} + target/coverage-reports/jacoco.exec + + **/*config*/**, + **/*common*/**, + **/*constant*/**, + **/*model*/**, + **/*Application.* + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + + diff --git a/payment-service/pom.xml b/payment-service/pom.xml index 14ecb253..480eae5c 100644 --- a/payment-service/pom.xml +++ b/payment-service/pom.xml @@ -41,7 +41,10 @@ 19 - 2.1 + 2.2 + 19 + 3.9.1.2184 + 0.8.8 @@ -84,7 +87,73 @@ + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonarVersion} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + **/*config*/** + **/*common*/** + **/*constant*/** + **/*model*/** + **/*Application* + **/*entity*/** + **/resources/** + + + + + prepare-agent + + prepare-agent + + test-compile + + + report + test + + report + + + + jacoco-check + + check + + + + + PACKAGE + + + LINE + COVEREDRATIO + + + + + + + + org.springframework.boot spring-boot-maven-plugin @@ -99,5 +168,44 @@ - + + + sonar + + false + + + + nashtech + https://sonarcloud.io + b47aeba29df2889126c736ee7012a5a490edc34a + ${sonarConfig} + target/coverage-reports/jacoco.exec + + **/*config*/**, + **/*common*/**, + **/*constant*/**, + **/*model*/**, + **/*Application.* + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + + diff --git a/shipment-service/pom.xml b/shipment-service/pom.xml index cc9715cd..7cc4f041 100644 --- a/shipment-service/pom.xml +++ b/shipment-service/pom.xml @@ -41,9 +41,12 @@ 19 - 2.1 + 2.2 4.7.2 2022.0.4 + 19 + 3.9.1.2184 + 0.8.8 @@ -52,6 +55,11 @@ lombok true + + org.springframework.boot + spring-boot-starter-test + test + com.google.cloud @@ -91,7 +99,73 @@ + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonarVersion} + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + + + + org.jacoco + jacoco-maven-plugin + ${maven.jacoco.version} + + + **/*config*/** + **/*common*/** + **/*constant*/** + **/*model*/** + **/*Application* + **/*entity*/** + **/resources/** + + + + + prepare-agent + + prepare-agent + + test-compile + + + report + test + + report + + + + jacoco-check + + check + + + + + PACKAGE + + + LINE + COVEREDRATIO + + + + + + + + org.springframework.boot spring-boot-maven-plugin @@ -106,5 +180,44 @@ - + + + sonar + + false + + + + nashtech + https://sonarcloud.io + b47aeba29df2889126c736ee7012a5a490edc34a + ${sonarConfig} + target/coverage-reports/jacoco.exec + + **/*config*/**, + **/*common*/**, + **/*constant*/**, + **/*model*/**, + **/*Application.* + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${maven.sonar.version} + + + verify + + sonar + + + + + + + +