Skip to content

Commit

Permalink
feat: Replace Jcabi Plugin by AspectJ Maven Plugin - Meeds-io/meeds#2417
Browse files Browse the repository at this point in the history


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 Meeds-io/maven-parent-pom@bea09a8) in order to replace usage of Jcabi plugin.
  • Loading branch information
boubaker committed Sep 22, 2024
1 parent 8e9ea6b commit c24524b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,29 @@
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>io.meeds.portal</groupId>
<artifactId>portal.component.common</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<configuration>
<aspectLibraries>
<aspectLibrary>
<groupId>io.meeds.portal</groupId>
<artifactId>portal.component.common</artifactId>
</aspectLibrary>
</aspectLibraries>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
Expand Down

0 comments on commit c24524b

Please sign in to comment.