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
  • Loading branch information
boubaker committed Sep 25, 2024
1 parent f6e3b44 commit 70e66df
Showing 1 changed file with 44 additions and 27 deletions.
71 changes: 44 additions & 27 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<modelVersion>4.0.0</modelVersion>
<groupId>io.meeds</groupId>
<artifactId>maven-parent-pom</artifactId>
<version>27-mips-SNAPSHOT</version>
<version>27-whitepaper-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Meeds:: Parent POM</name>
<description>Provides default project configuration for eXo projects</description>
Expand Down Expand Up @@ -123,8 +123,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<version.jacoco.plugin>0.8.11</version.jacoco.plugin>
<version.jar.plugin>3.3.0</version.jar.plugin>
<version.javadoc.plugin>3.6.3</version.javadoc.plugin>
<version.jcabi.plugin>0.17.0</version.jcabi.plugin>
<version.jcabi.aspectj.dependencies.plugin>1.9.20.1</version.jcabi.aspectj.dependencies.plugin>
<plugin.aspectj.version>1.15.0</plugin.aspectj.version>
<org.aspectj.version>1.9.22.1</org.aspectj.version>
<!-- PAR-222 : jdocbook 2.3.6+ has a perf issue. See MPJDOCBOOK-84 -->
<version.jdocbook.plugin>2.3.5</version.jdocbook.plugin>
<version.jibx.plugin>1.3.1</version.jibx.plugin>
Expand Down Expand Up @@ -152,7 +152,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<version.xml.plugin>1.0</version.xml.plugin>
<version.owasp.dependency-check-maven.plugin>3.2.0</version.owasp.dependency-check-maven.plugin>
<org.lombok.plugin.version>1.18.20.0</org.lombok.plugin.version>
<org.lombok.version>1.18.30</org.lombok.version>
<org.lombok.version>1.18.34</org.lombok.version>
<com.github.eirslett.frontend.version>1.15.0</com.github.eirslett.frontend.version>
<io.openapitools.swagger.version>2.1.6</io.openapitools.swagger.version>
<node.version>v16.0.0</node.version>
Expand Down Expand Up @@ -259,6 +259,23 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.coverage.exclusions>**/*.vue,**/*.js</sonar.coverage.exclusions>
</properties>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${org.aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${org.aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${org.aspectj.version}</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<!-- All plugins ordered by shortname (antrun, assembly ...) -->
Expand Down Expand Up @@ -490,46 +507,46 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</configuration>
</plugin>
<plugin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-maven-plugin</artifactId>
<version>${version.jcabi.plugin}</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${plugin.aspectj.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<complianceLevel>${maven.compiler.target}</complianceLevel>
<encoding>${project.build.sourceEncoding}</encoding>
<showWeaveInfo>true</showWeaveInfo>
<verbose>true</verbose>
<Xlint>warning</Xlint>
<forceAjcCompile>true</forceAjcCompile>
<sources />
<weaveDirectories>
<weaveDirectory>${project.build.directory}/classes</weaveDirectory>
</weaveDirectories>
</configuration>
<executions>
<execution>
<id>weave-classes</id>
<phase>process-classes</phase>
<goals>
<goal>ajc</goal>
</goals>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration>
</execution>
<execution>
<id>weave-test-classes</id>
<phase>process-test-classes</phase>
<goals>
<goal>ajc</goal>
<goal>compile</goal>
</goals>
<configuration>
<classesDirectory>${project.build.testOutputDirectory}</classesDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${version.jcabi.aspectj.dependencies.plugin}</version>
<version>${org.aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${version.jcabi.aspectj.dependencies.plugin}</version>
<version>${org.aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${version.jcabi.aspectj.dependencies.plugin}</version>
<version>${org.aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
Expand Down Expand Up @@ -907,8 +924,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</executions>
</plugin>
<plugin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 70e66df

Please sign in to comment.