From 3e86b757c411ceec9ad4a22253fee71b302dc3ad Mon Sep 17 00:00:00 2001 From: techycode70 Date: Thu, 8 Jan 2026 10:36:10 +0530 Subject: [PATCH 1/3] Update pom.xml to include additional plugins Added maven-war-plugin and jacoco-maven-plugin to build configuration. --- pom.xml | 56 +++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 43 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index df25e831d..257caaec1 100644 --- a/pom.xml +++ b/pom.xml @@ -165,19 +165,49 @@ 2.8.2 - - - - org.eclipse.jetty - jetty-maven-plugin - 9.2.11.v20150529 - - 10 - - / - - - + + + + + org.eclipse.jetty + jetty-maven-plugin + 9.2.11.v20150529 + + 10 + + / + + + + + + org.apache.maven.plugins + maven-war-plugin + 3.2.2 + + + + org.jacoco + jacoco-maven-plugin + 0.8.11 + + + + prepare-agent + + + + test + + report + + + + + + + + org.apache.maven.plugins From 26104a58cc699b8443c3c6e6e44616bea73f8263 Mon Sep 17 00:00:00 2001 From: techycode70 Date: Thu, 8 Jan 2026 10:45:40 +0530 Subject: [PATCH 2/3] Fix pom.xml and enable JaCoCo for SonarQube --- pom.xml | 274 +++++++++++++++++++++++++++----------------------------- 1 file changed, 133 insertions(+), 141 deletions(-) diff --git a/pom.xml b/pom.xml index 257caaec1..bf325f383 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,16 @@ - + + 4.0.0 + com.visualpathit vprofile war v2 Visualpathit VProfile Webapp - http://maven.apache.org + 4.2.0.RELEASE 4.0.2.RELEASE @@ -22,19 +26,21 @@ 1.8 + + org.springframework spring-web ${spring.version} - + org.springframework spring-webmvc ${spring.version} - + org.springframework.security spring-security-web @@ -83,159 +89,145 @@ ${jstl.version} + junit junit ${junit.version} test + - org.mockito - mockito-core + org.mockito + mockito-core 1.9.5 test - - - org.springframework - spring-test - 3.2.3.RELEASE - test - - - javax.servlet - javax.servlet-api - 3.1.0 - provided - + + + + org.springframework + spring-test + 3.2.3.RELEASE + test + + + + org.hamcrest + hamcrest-all + 1.3 + test + + + + javax.servlet + javax.servlet-api + 3.1.0 + provided + + ch.qos.logback logback-classic ${logback.version} + + + commons-fileupload + commons-fileupload + 1.3.1 + + + + net.spy + spymemcached + 2.12.3 + + + + commons-io + commons-io + 2.4 + + + + org.springframework.amqp + spring-rabbit + 1.7.1.RELEASE + + + + com.rabbitmq + amqp-client + 4.0.2 + + + + org.elasticsearch + elasticsearch + 5.6.4 + + - org.hamcrest - hamcrest-all - 1.3 - test - - - commons-fileupload - commons-fileupload - 1.3.1 - - - - net.spy - spymemcached - 2.12.3 - - - commons-io - commons-io - 2.4 - - - - org.springframework.amqp - spring-rabbit - 1.7.1.RELEASE - - - - com.rabbitmq - amqp-client - 4.0.2 - - - - org.elasticsearch - elasticsearch - 5.6.4 - - - - org.elasticsearch.client - transport - 5.6.4 - - - - com.google.code.gson - gson - 2.8.2 - + org.elasticsearch.client + transport + 5.6.4 + + + + com.google.code.gson + gson + 2.8.2 + + + + - - - - org.eclipse.jetty - jetty-maven-plugin - 9.2.11.v20150529 - - 10 - - / - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.2.2 - - - - org.jacoco - jacoco-maven-plugin - 0.8.11 - - - - prepare-agent - - - - test - - report - - - - - - - - - - - org.apache.maven.plugins - maven-war-plugin - 3.2.2 - - - org.jacoco - jacoco-maven-plugin - 0.8.4 - - - jacoco-initialize - process-resources - - prepare-agent - - - - jacoco-site - post-integration-test - - report - - - - - + + + + + org.eclipse.jetty + jetty-maven-plugin + 9.2.11.v20150529 + + 10 + + / + + + + + + + org.apache.maven.plugins + maven-war-plugin + 3.2.2 + + + + + org.jacoco + jacoco-maven-plugin + 0.8.11 + + + prepare-agent + + prepare-agent + + + + report + test + + report + + + + + + From 39e4a435613fdd347635daec4975691d03038e9d Mon Sep 17 00:00:00 2001 From: techycode70 Date: Thu, 8 Jan 2026 10:57:33 +0530 Subject: [PATCH 3/3] Modify MySQL connector and add test dependencies Updated MySQL connector version and added test dependencies. --- pom.xml | 118 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 66 insertions(+), 52 deletions(-) diff --git a/pom.xml b/pom.xml index bf325f383..6fe0a7d78 100644 --- a/pom.xml +++ b/pom.xml @@ -7,21 +7,30 @@ com.visualpathit vprofile - war v2 + war + Visualpathit VProfile Webapp 4.2.0.RELEASE 4.0.2.RELEASE 1.8.2.RELEASE + 4.3.11.Final 5.2.1.Final - 8.0.33 + + + 5.1.49 + 1.4 1.2 + 4.10 + 3.12.4 + 1.1.3 + 1.8 1.8 @@ -29,6 +38,7 @@ + org.springframework spring-web @@ -41,6 +51,7 @@ ${spring.version} + org.springframework.security spring-security-web @@ -53,12 +64,7 @@ ${spring-security.version} - - org.hibernate - hibernate-validator - ${hibernate-validator.version} - - + org.springframework.data spring-data-jpa @@ -71,6 +77,13 @@ ${hibernate.version} + + org.hibernate + hibernate-validator + ${hibernate-validator.version} + + + mysql mysql-connector-java @@ -83,41 +96,13 @@ ${commons-dbcp.version} + javax.servlet jstl ${jstl.version} - - - junit - junit - ${junit.version} - test - - - - org.mockito - mockito-core - 1.9.5 - test - - - - org.springframework - spring-test - 3.2.3.RELEASE - test - - - - org.hamcrest - hamcrest-all - 1.3 - test - - javax.servlet javax.servlet-api @@ -125,30 +110,33 @@ provided + ch.qos.logback logback-classic ${logback.version} + commons-fileupload commons-fileupload 1.3.1 - - net.spy - spymemcached - 2.12.3 - - commons-io commons-io 2.4 + + net.spy + spymemcached + 2.12.3 + + + org.springframework.amqp spring-rabbit @@ -161,6 +149,7 @@ 4.0.2 + org.elasticsearch elasticsearch @@ -173,39 +162,64 @@ 5.6.4 + com.google.code.gson gson 2.8.2 + + + + junit + junit + ${junit.version} + test + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + org.springframework + spring-test + ${spring.version} + test + + + + org.hamcrest + hamcrest-all + 1.3 + test + + - + org.eclipse.jetty jetty-maven-plugin 9.2.11.v20150529 - - 10 - - / - - - + org.apache.maven.plugins maven-war-plugin 3.2.2 - + org.jacoco jacoco-maven-plugin