From 162757a3e62549213bb36dcbf682fc73336d91c4 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/core/pom.xml | 4 ++-- pom.xml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) 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/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 + + + + +