This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 448357940bc HDDS-14858. OM request fails with ClassNotFoundException:
java.lang.constant.Constable (#9945)
448357940bc is described below
commit 448357940bcefdd0b240394d3bd77f8f2687528a
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Mar 24 09:05:55 2026 +0100
HDDS-14858. OM request fails with ClassNotFoundException:
java.lang.constant.Constable (#9945)
---
hadoop-ozone/ozone-manager/pom.xml | 15 ---------------
pom.xml | 28 ++++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 15 deletions(-)
diff --git a/hadoop-ozone/ozone-manager/pom.xml
b/hadoop-ozone/ozone-manager/pom.xml
index a4d34aca3af..fae36afa538 100644
--- a/hadoop-ozone/ozone-manager/pom.xml
+++ b/hadoop-ozone/ozone-manager/pom.xml
@@ -393,26 +393,11 @@
<plugin>
<groupId>dev.aspectj</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.release}</source>
- <target>${maven.compiler.release}</target>
-
<argumentFileDirectory>${project.build.directory}/aspectj-build</argumentFileDirectory>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjtools</artifactId>
- <version>${aspectj.version}</version>
- </dependency>
- </dependencies>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
- <configuration>
- <complianceLevel>${maven.compiler.release}</complianceLevel>
- </configuration>
</execution>
</executions>
</plugin>
diff --git a/pom.xml b/pom.xml
index a7edd86017e..ceab051c55c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1672,6 +1672,17 @@
<groupId>dev.aspectj</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>${aspectj-plugin.version}</version>
+ <configuration>
+ <complianceLevel>${maven.compiler.release}</complianceLevel>
+
<argumentFileDirectory>${project.build.directory}/aspectj-build</argumentFileDirectory>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.aspectj</groupId>
+ <artifactId>aspectjtools</artifactId>
+ <version>${aspectj.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -2558,6 +2569,23 @@
<aspectj.version>${aspectj.java21.version}</aspectj.version>
</properties>
</profile>
+ <profile>
+ <id>java11+</id>
+ <activation>
+ <jdk>[11,]</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>dev.aspectj</groupId>
+ <artifactId>aspectj-maven-plugin</artifactId>
+ <configuration>
+ <release>${maven.compiler.release}</release>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>go-offline</id>
<properties>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]