From 0dc80eb12eee382a196686904b8190d55b50ce15 Mon Sep 17 00:00:00 2001 From: charanbhatia Date: Sun, 4 Aug 2024 02:12:23 +0530 Subject: [PATCH 1/5] disabled the Javadoc plugin in pom.xml --- pom.xml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index a4112174c..049149f81 100644 --- a/pom.xml +++ b/pom.xml @@ -73,9 +73,9 @@ - + org.apache.maven.plugins - maven-javadoc-plugin + maven-javadoc-plugin 3.3.1 true @@ -83,13 +83,7 @@ attach-javadocs - - jar - - - true - -Xdoclint:none - + none From b92fe860f8f2547a766a67893f3fdd2bd7325e67 Mon Sep 17 00:00:00 2001 From: charanbhatia Date: Sun, 4 Aug 2024 09:53:11 +0530 Subject: [PATCH 2/5] removed the whole plugin from the POM file --- pom.xml | 307 +------------------------------------------------------- 1 file changed, 3 insertions(+), 304 deletions(-) diff --git a/pom.xml b/pom.xml index 049149f81..e6cf4793f 100644 --- a/pom.xml +++ b/pom.xml @@ -72,20 +72,6 @@ 2.1.0 - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.3.1 - - true - - - - attach-javadocs - none - - org.jacoco @@ -294,294 +280,7 @@ - - - com.github.elimu-ai - model - model-${model.version} - - - - commons-fileupload - commons-fileupload - - 1.4 - - - - - org.springframework - spring-aspects - ${spring.version} - - - org.springframework - spring-context - ${spring.version} - - - org.springframework - spring-context-support - ${spring.version} - - - org.springframework - spring-orm - ${spring.version} - - - org.springframework - spring-oxm - ${spring.version} - - - org.springframework - spring-web - ${spring.version} - - - org.springframework - spring-webmvc - ${spring.version} - - - - - org.springframework.security - spring-security-web - ${spring.security.version} - - - org.springframework.security - spring-security-config - ${spring.security.version} - - - org.springframework.security - spring-security-taglibs - ${spring.security.version} - - - - com.github.scribejava - scribejava-apis - 8.3.3 - - - org.json - json - 20231013 - - - - org.apache.logging.log4j - log4j-api - 2.16.0 - - - org.apache.logging.log4j - log4j-core - 2.16.0 - - - org.apache.logging.log4j - log4j-web - 2.14.1 - - - - org.owasp.antisamy - antisamy - 1.7.6 - - - - org.apache.httpcomponents.client5 - httpclient5 - 5.3.1 - - - - org.web3j - core - 5.0.0 - - - - org.aspectj - aspectjweaver - 1.9.22.1 - - - - javax.validation - validation-api - 2.0.1.Final - - - org.hibernate.validator - hibernate-validator - 6.1.7.Final - - - - - - commons-lang - commons-lang - 2.6 - - - commons-io - commons-io - 2.16.1 - - - commons-validator - commons-validator - 1.9.0 - - - org.apache.commons - commons-csv - 1.9.0 - - - - org.imgscalr - imgscalr-lib - 4.2 - - - - com.googlecode.soundlibs - jlayer - 1.0.1.4 - - - junit - junit - - - - - - com.googlecode.soundlibs - tritonus-share - 0.3.7.4 - - - - com.googlecode.soundlibs - mp3spi - 1.9.5.4 - - - - com.googlecode.texhyphj - texhyphj - 1.2 - - - - net.dongliu - apk-parser - 2.6.10 - - - - org.hibernate - hibernate-core - ${hibernate.version} - - - org.hibernate - hibernate-entitymanager - ${hibernate.version} - - - org.hibernate - hibernate-tools - ${hibernate.version} - - - javax.persistence - javax.persistence-api - 2.2 - - - - javax.servlet - jstl - 1.2 - - - - - org.bitbucket.ijabz - jaudiotagger - 3.0.1 - - - - - javax.transaction - jta - 1.1 - - - org.hsqldb - hsqldb - 2.7.3 - - - mysql - mysql-connector-java - 8.0.28 - - - commons-dbcp - commons-dbcp - 1.4 - - - - - javax.servlet - javax.servlet-api - 4.0.1 - provided - - - javax.servlet.jsp - javax.servlet.jsp-api - 2.3.3 - provided - - - org.junit.jupiter - junit-jupiter - 5.10.3 - test - - - - - org.mockito - mockito-core - 5.12.0 - test - - - org.springframework - spring-test - ${spring.version} - test - - - org.seleniumhq.selenium - selenium-chrome-driver - 3.141.59 - + + - + \ No newline at end of file From e89d10b7430cca554d50a5f23cd6cad102d73aa7 Mon Sep 17 00:00:00 2001 From: charanbhatia Date: Sat, 10 Aug 2024 04:39:48 +0530 Subject: [PATCH 3/5] Removed Javadoc plugin in pom.xml --- pom.xml | 58 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/pom.xml b/pom.xml index e6cf4793f..325f58d7a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 ai.elimu webapp @@ -7,14 +9,14 @@ 2.4.26-SNAPSHOT - 17 + 17 UTF-8 - 2.0.73 - 5.6.15.Final - 10.0.21 - 5.3.18 - 5.6.2 - 3.1.2 + 2.0.73 + 5.6.15.Final + 10.0.21 + 5.3.18 + 5.6.2 + 3.1.2 @@ -35,8 +37,8 @@ - org.apache.maven.plugins - maven-compiler-plugin + org.apache.maven.plugins + maven-compiler-plugin 3.11.0 ${java.version} @@ -58,7 +60,7 @@ org.apache.maven.plugins - maven-release-plugin + maven-release-plugin 3.1.1 @@ -157,7 +159,7 @@ - org.apache.maven.plugins + org.apache.maven.plugins maven-surefire-plugin ${surefire-plugin.version} @@ -176,7 +178,7 @@ - org.apache.maven.plugins + org.apache.maven.plugins maven-surefire-plugin ${surefire-plugin.version} @@ -209,7 +211,7 @@ - org.apache.maven.plugins + org.apache.maven.plugins maven-surefire-plugin ${surefire-plugin.version} @@ -259,18 +261,18 @@ + + + + + + disable-javadoc + + - org.apache.maven.plugins - maven-war-plugin - 3.4.0 - - ${basedir}/target/web.xml - - - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire-plugin.version} + org.apache.maven.plugins + maven-javadoc-plugin + 3.3.1 true @@ -279,8 +281,4 @@ - - - - - \ No newline at end of file + From c2523c23492181a2a1ad35732de75b45c559b284 Mon Sep 17 00:00:00 2001 From: charanbhatia Date: Sat, 10 Aug 2024 05:00:49 +0530 Subject: [PATCH 4/5] Made the changes in log4j2_TEST.xml file to reduce log output during testing --- src/main/resources/log4j2_TEST.xml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/main/resources/log4j2_TEST.xml b/src/main/resources/log4j2_TEST.xml index a3646c74f..f0a5ad00d 100644 --- a/src/main/resources/log4j2_TEST.xml +++ b/src/main/resources/log4j2_TEST.xml @@ -1,8 +1,11 @@ - - + + + + + @@ -20,8 +23,16 @@ - + + + + + + + + + - + \ No newline at end of file From 878673ea760296da5cf069e3e750c398d72af856 Mon Sep 17 00:00:00 2001 From: charanbhatia Date: Sat, 10 Aug 2024 17:50:28 +0530 Subject: [PATCH 5/5] Reduce log output during unit testing --- src/main/resources/log4j2_TEST.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/log4j2_TEST.xml b/src/main/resources/log4j2_TEST.xml index f0a5ad00d..c2b75fd2e 100644 --- a/src/main/resources/log4j2_TEST.xml +++ b/src/main/resources/log4j2_TEST.xml @@ -21,9 +21,10 @@ + - +