This is an automated email from the ASF dual-hosted git repository.

petrov-mg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-extensions.git


The following commit(s) were added to refs/heads/master by this push:
     new 7601910f IGNITE-28583 Fixed broken ignite-aop extension tests (#345)
7601910f is described below

commit 7601910f903b46d1e8fe7000e88ebb7c5f0c467d
Author: Mikhail Petrov <[email protected]>
AuthorDate: Wed Apr 22 10:58:31 2026 +0300

    IGNITE-28583 Fixed broken ignite-aop extension tests (#345)
---
 modules/aop-ext/pom.xml | 28 ++++++++++++++++++++++++++--
 parent-internal/pom.xml |  2 +-
 2 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/modules/aop-ext/pom.xml b/modules/aop-ext/pom.xml
index b201c3ed..4cd955ab 100644
--- a/modules/aop-ext/pom.xml
+++ b/modules/aop-ext/pom.xml
@@ -115,12 +115,36 @@
                 <artifactId>maven-bundle-plugin</artifactId>
             </plugin>
 
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>process-test-resources</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            
<outputDirectory>${project.build.directory}/libs</outputDirectory>
+                            
<includeArtifactIds>aspectjweaver</includeArtifactIds>
+                            <excludeTransitive>true</excludeTransitive>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
-                    
<argLine>-javaagent:${basedir}/target/libs/aspectjweaver-${aspectj.version}.jar</argLine>
+                    <reuseForks>false</reuseForks>
+                    <argLine>
+                        --add-opens java.base/java.nio=ALL-UNNAMED
+                        --add-opens 
jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
+                        --add-opens java.base/java.util=ALL-UNNAMED
+                        --add-opens java.base/java.lang=ALL-UNNAMED
+                        --add-opens java.base/java.io=ALL-UNNAMED
+                        
-javaagent:${basedir}/target/libs/aspectjweaver-${aspectj.version}.jar
+                    </argLine>
                     <workingDirectory>${basedir}/target</workingDirectory>
                 </configuration>
             </plugin>
diff --git a/parent-internal/pom.xml b/parent-internal/pom.xml
index 628ef3bd..0685f2c8 100644
--- a/parent-internal/pom.xml
+++ b/parent-internal/pom.xml
@@ -39,7 +39,7 @@
         <spring.data.version>3.5.7</spring.data.version>
         <spring6.version>6.2.15</spring6.version>
         <activemq.version>5.12.0</activemq.version>
-        <aspectj.version>1.8.13</aspectj.version>
+        <aspectj.version>1.9.21</aspectj.version>
         <embedded.postgres.version>2.0.3</embedded.postgres.version>
         <commons.dbcp2.version>2.13.0</commons.dbcp2.version>
         <commons.lang3.version>3.20.0</commons.lang3.version>

Reply via email to