This is an automated email from the ASF dual-hosted git repository. adoroszlai pushed a commit to branch ozone-2.1 in repository https://gitbox.apache.org/repos/asf/ozone.git
commit b0fc4493bd668da10e7c77f798d43725703f419a 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) (cherry picked from commit 448357940bcefdd0b240394d3bd77f8f2687528a) --- 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 c7d2e168922..f9bf83a7fc1 100644 --- a/hadoop-ozone/ozone-manager/pom.xml +++ b/hadoop-ozone/ozone-manager/pom.xml @@ -379,26 +379,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 ca48743aecb..02057774073 100644 --- a/pom.xml +++ b/pom.xml @@ -1769,6 +1769,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> @@ -2725,6 +2736,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]
