From bcffdfb881df85d5a26e519480a4a4ef84ea556c Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Sun, 22 Sep 2024 20:47:04 +0100 Subject: [PATCH] feat: Upgrade Spring and replace Jcabi Plugin by AspectJ Maven Plugin - Meeds-io/meeds#2417 Prior to this change, the jcabi maven plugin was used to weave classes for annotation processing, especially and annotations. This plugin isn't maintained and should be replace by the default AspectJ libraries for Annotation Processing. In addition, the Jcabi plugin makes the build longer and takes a lot of time in addition to heigh I/O operations on disk. This change applies the required configuration (In addition to https://github.com/Meeds-io/maven-parent-pom/commit/bea09a8fcbc02b87ee8748cd9bbf9a524e4d74cd) in order to replace usage of Jcabi plugin. --- component/api/pom.xml | 10 ---------- component/core/pom.xml | 4 ++-- component/notification/pom.xml | 4 ---- component/service/pom.xml | 4 ---- pom.xml | 20 ++++++++++++++++++++ 5 files changed, 22 insertions(+), 20 deletions(-) diff --git a/component/api/pom.xml b/component/api/pom.xml index 2be897d7188..8c76106b706 100644 --- a/component/api/pom.xml +++ b/component/api/pom.xml @@ -83,14 +83,4 @@ jsoup - - - ${project.artifactId} - - - com.jcabi - jcabi-maven-plugin - - - diff --git a/component/core/pom.xml b/component/core/pom.xml index 15fd47e1670..f0edb3d509d 100644 --- a/component/core/pom.xml +++ b/component/core/pom.xml @@ -60,7 +60,7 @@ org.bsc.maven maven-processor-plugin - 5.0 + 5.1 process @@ -79,7 +79,7 @@ org.hibernate.orm hibernate-jpamodelgen - 6.4.1.Final + 6.5.3.Final diff --git a/component/notification/pom.xml b/component/notification/pom.xml index 25d5d545a85..e86670b7ed8 100644 --- a/component/notification/pom.xml +++ b/component/notification/pom.xml @@ -49,10 +49,6 @@ ${project.artifactId} - - com.jcabi - jcabi-maven-plugin - org.apache.maven.plugins maven-surefire-plugin diff --git a/component/service/pom.xml b/component/service/pom.xml index 8787ba60d04..d53c9712f26 100644 --- a/component/service/pom.xml +++ b/component/service/pom.xml @@ -60,10 +60,6 @@ ${project.artifactId} - - com.jcabi - jcabi-maven-plugin - org.apache.maven.plugins maven-surefire-plugin diff --git a/pom.xml b/pom.xml index 12e440d1723..e769b6f2bb6 100644 --- a/pom.xml +++ b/pom.xml @@ -205,8 +205,28 @@ + + + io.meeds.portal + portal.component.common + + ${project.artifactId} + + + org.codehaus.mojo + aspectj-maven-plugin + + + + io.meeds.portal + portal.component.common + + + + +